1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

fix alert in kw completions (#878)

We update the code to add the alert function in the --alert subcommands
This commit is contained in:
laisnuto 2024-06-13 11:13:24 -03:00 committed by GitHub
parent 5cc4e991ab
commit c0b4853f5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,7 +129,7 @@ export extern "kw build" [
--clean(-c) # Removes build files (keeps the configuration) --clean(-c) # Removes build files (keeps the configuration)
--full-cleanup(-f) # Runs make distclean to reset the tree to the default state --full-cleanup(-f) # Runs make distclean to reset the tree to the default state
--cflags # Allow passing of flags to the compiler --cflags # Allow passing of flags to the compiler
--alert: string --alert: string@"nu-complete kw deploy alert" # set alert behaviour upon command completion
--help(-h) # Shows help page --help(-h) # Shows help page
--verbose # Verbose mode --verbose # Verbose mode
] ]
@ -385,7 +385,7 @@ export extern "kw vm" [
--mount(-m) # This mounts the QEMU image in a specific directory, based on the data available in the kworkflow.config file. Only run this command after you turn off your VM. --mount(-m) # This mounts the QEMU image in a specific directory, based on the data available in the kworkflow.config file. Only run this command after you turn off your VM.
--umount(-n) # This unmounts the previously mounted QEMU image, based on the parameters available in the kworkflow.config file. --umount(-n) # This unmounts the previously mounted QEMU image, based on the parameters available in the kworkflow.config file.
--up(-u) # This starts the QEMU VM based on parameters in the kworkflow.config file. --up(-u) # This starts the QEMU VM based on parameters in the kworkflow.config file.
--alert: string # Defines the alert behaviour upon the command completion. Options: s (sound notification), v (visual notification), sv or vs (both), n (or any other option) disables notifications. --alert: string@"nu-complete kw deploy alert" # set alert behaviour upon command completion
] ]