Merge pull request #16317 from yoshida-ryuhei/dev/update_completions_bundle

Improve fish completions of brew bundle
This commit is contained in:
Mike McQuaid 2023-12-12 08:47:12 +00:00 committed by GitHub
commit 9b58b12bb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,10 +228,12 @@ __fish_brew_complete_arg 'bundle;
and not __fish_brew_opt --file --global
' -l global -d "Use \$HOME/.Brewfile"
__fish_brew_complete_sub_cmd 'bundle' 'install' "Install and upgrade (by default) all dependencies from the Brewfile."
__fish_brew_complete_sub_cmd 'bundle' 'dump' "Write all installed casks/formulae/taps into a Brewfile"
__fish_brew_complete_sub_cmd 'bundle' 'cleanup' "Uninstall all dependencies not listed in a Brewfile"
__fish_brew_complete_sub_cmd 'bundle' 'check' "Check if all dependencies are installed in a Brewfile"
__fish_brew_complete_sub_cmd 'bundle' 'exec' "Run an external command in an isolated build environment"
__fish_brew_complete_sub_cmd 'bundle' 'list' "List all dependencies present in the Brewfile."
# --force is available only for the dump/cleanup subcommands
__fish_brew_complete_sub_arg 'bundle' 'dump cleanup' -l force -d "Uninstall dependencies or overwrite an existing Brewfile"