Skip to content

Commit

Permalink
fix alert in kw completions (#878)
Browse files Browse the repository at this point in the history
We update the code to add the alert function in the --alert subcommands
  • Loading branch information
laisnuto committed Jun 13, 2024
1 parent 5cc4e99 commit c0b4853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom-completions/kw/kw-completions.nu
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export extern "kw build" [
--clean(-c) # Removes build files (keeps the configuration)
--full-cleanup(-f) # Runs make distclean to reset the tree to the default state
--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
--verbose # Verbose mode
]
Expand Down Expand Up @@ -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.
--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.
--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
]


Expand Down

0 comments on commit c0b4853

Please sign in to comment.