Skip to content

Commit

Permalink
Update manpage and completions.
Browse files Browse the repository at this point in the history
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
  • Loading branch information
BrewTestBot committed Nov 17, 2024
1 parent 42b6654 commit f970db1
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
23 changes: 23 additions & 0 deletions completions/bash/brew
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,28 @@ _brew_generate_cask_api() {
esac
}

_brew_generate_cask_ci_matrix() {
local cur="${COMP_WORDS[COMP_CWORD]}"
case "${cur}" in
-*)
__brewcomp "
--cask
--debug
--help
--new
--quiet
--skip-install
--syntax-only
--url
--verbose
"
return
;;
*) ;;
esac
__brew_complete_casks
}

_brew_generate_formula_api() {
local cur="${COMP_WORDS[COMP_CWORD]}"
case "${cur}" in
Expand Down Expand Up @@ -2923,6 +2945,7 @@ _brew() {
formula) _brew_formula ;;
formulae) _brew_formulae ;;
generate-cask-api) _brew_generate_cask_api ;;
generate-cask-ci-matrix) _brew_generate_cask_ci_matrix ;;
generate-formula-api) _brew_generate_formula_api ;;
generate-man-completions) _brew_generate_man_completions ;;
gist-logs) _brew_gist_logs ;;
Expand Down
13 changes: 13 additions & 0 deletions completions/fish/brew.fish
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,19 @@ __fish_brew_complete_arg 'generate-cask-api' -l quiet -d 'Make some output more
__fish_brew_complete_arg 'generate-cask-api' -l verbose -d 'Make some output more verbose'


__fish_brew_complete_cmd 'generate-cask-ci-matrix' 'Generate a GitHub Actions matrix for a given pull request URL or list of cask names'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -l cask -d 'Treat all named arguments as cask tokens'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -l help -d 'Show this message'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -l new -d 'Run new cask checks'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -l quiet -d 'Make some output more quiet'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -l skip-install -d 'Skip installing casks'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -l syntax-only -d 'Only run syntax checks'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -l url -d 'Treat named argument as a pull request URL'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -l verbose -d 'Make some output more verbose'
__fish_brew_complete_arg 'generate-cask-ci-matrix' -a '(__fish_brew_suggest_casks_all)'


__fish_brew_complete_cmd 'generate-formula-api' 'Generate `homebrew/core` API data files for https://formulae.brew.sh'
__fish_brew_complete_arg 'generate-formula-api' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'generate-formula-api' -l dry-run -d 'Generate API data without writing it to files'
Expand Down
1 change: 1 addition & 0 deletions completions/internal_commands_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ fetch
formula
formulae
generate-cask-api
generate-cask-ci-matrix
generate-formula-api
generate-man-completions
gist-logs
Expand Down
17 changes: 17 additions & 0 deletions completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ __brew_internal_commands() {
'formula:Display the path where formula is located'
'formulae:List all locally installable formulae including short names'
'generate-cask-api:Generate `homebrew/cask` API data files for https://formulae.brew.sh'
'generate-cask-ci-matrix:Generate a GitHub Actions matrix for a given pull request URL or list of cask names'
'generate-formula-api:Generate `homebrew/core` API data files for https://formulae.brew.sh'
'generate-man-completions:Generate Homebrew'\''s manpages and shell completions'
'gist-logs:Upload logs for a failed build of formula to a new Gist'
Expand Down Expand Up @@ -995,6 +996,22 @@ _brew_generate_cask_api() {
'--verbose[Make some output more verbose]'
}

# brew generate-cask-ci-matrix
_brew_generate_cask_ci_matrix() {
_arguments \
'--debug[Display any debugging information]' \
'--help[Show this message]' \
'(--syntax-only)--new[Run new cask checks]' \
'--quiet[Make some output more quiet]' \
'(--syntax-only)--skip-install[Skip installing casks]' \
'(--skip-install --new)--syntax-only[Only run syntax checks]' \
'(--cask)--url[Treat named argument as a pull request URL]' \
'--verbose[Make some output more verbose]' \
- cask \
'(--url)--cask[Treat all named arguments as cask tokens]' \
'*::cask:__brew_casks'
}

# brew generate-formula-api
_brew_generate_formula_api() {
_arguments \
Expand Down

0 comments on commit f970db1

Please sign in to comment.