From f970db1d6120a65b67a5e257f7ef48e8c009b640 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 17 Nov 2024 08:43:42 +0000 Subject: [PATCH] Update manpage and completions. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- completions/bash/brew | 23 +++++++++++++++++++++++ completions/fish/brew.fish | 13 +++++++++++++ completions/internal_commands_list.txt | 1 + completions/zsh/_brew | 17 +++++++++++++++++ 4 files changed, 54 insertions(+) diff --git a/completions/bash/brew b/completions/bash/brew index 1a916500f3468..fd983a54fb28f 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -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 @@ -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 ;; diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 7ecabc2e8baa9..400284aa51694 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -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' diff --git a/completions/internal_commands_list.txt b/completions/internal_commands_list.txt index a9d6f8ef1942a..4132d0cc3c4ae 100644 --- a/completions/internal_commands_list.txt +++ b/completions/internal_commands_list.txt @@ -44,6 +44,7 @@ fetch formula formulae generate-cask-api +generate-cask-ci-matrix generate-formula-api generate-man-completions gist-logs diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 198eb1fff37b5..101165e42b347 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -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' @@ -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 \