From 3c693459bd28ada36c84566c609a35b320aaa632 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 30 May 2025 07:36: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 | 1 + completions/fish/brew.fish | 1 + completions/zsh/_brew | 25 +++++++++++++------------ docs/Manpage.md | 4 ++++ manpages/brew.1 | 3 +++ 5 files changed, 22 insertions(+), 12 deletions(-) diff --git a/completions/bash/brew b/completions/bash/brew index ff172835c2..7e00bdfa81 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -836,6 +836,7 @@ _brew_create() { __brewcomp " --HEAD --autotools + --cabal --cask --cmake --crystal diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index ad49769c46..0457b6dd6a 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -611,6 +611,7 @@ __fish_brew_complete_arg 'contributions' -l verbose -d 'Make some output more ve __fish_brew_complete_cmd 'create' 'Generate a formula or, with `--cask`, a cask for the downloadable file at URL and open it in the editor' __fish_brew_complete_arg 'create' -l HEAD -d 'Indicate that URL points to the package\'s repository rather than a file' __fish_brew_complete_arg 'create' -l autotools -d 'Create a basic template for an Autotools-style build' +__fish_brew_complete_arg 'create' -l cabal -d 'Create a basic template for a Cabal build' __fish_brew_complete_arg 'create' -l cask -d 'Create a basic template for a cask' __fish_brew_complete_arg 'create' -l cmake -d 'Create a basic template for a CMake-style build' __fish_brew_complete_arg 'create' -l crystal -d 'Create a basic template for a Crystal build' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index a93a909464..8d1d4e3da9 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -777,28 +777,29 @@ _brew_contributions() { _brew_create() { _arguments \ '(--cask)--HEAD[Indicate that URL points to the package'\''s repository rather than a file]' \ - '(--cmake --crystal --go --meson --node --perl --python --ruby --rust --zig --cask)--autotools[Create a basic template for an Autotools-style build]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --rust --zig --HEAD --set-license)--cask[Create a basic template for a cask]' \ - '(--autotools --crystal --go --meson --node --perl --python --ruby --rust --zig --cask)--cmake[Create a basic template for a CMake-style build]' \ - '(--autotools --cmake --go --meson --node --perl --python --ruby --rust --zig --cask)--crystal[Create a basic template for a Crystal build]' \ + '(--cabal --cmake --crystal --go --meson --node --perl --python --ruby --rust --zig --cask)--autotools[Create a basic template for an Autotools-style build]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --rust --zig --cask)--cabal[Create a basic template for a Cabal build]' \ + '(--autotools --cabal --cmake --crystal --go --meson --node --perl --python --ruby --rust --zig --HEAD --set-license)--cask[Create a basic template for a cask]' \ + '(--autotools --cabal --crystal --go --meson --node --perl --python --ruby --rust --zig --cask)--cmake[Create a basic template for a CMake-style build]' \ + '(--autotools --cabal --cmake --go --meson --node --perl --python --ruby --rust --zig --cask)--crystal[Create a basic template for a Crystal build]' \ '--debug[Display any debugging information]' \ '--force[Ignore errors for disallowed formula names and names that shadow aliases]' \ - '(--autotools --cmake --crystal --meson --node --perl --python --ruby --rust --zig --cask)--go[Create a basic template for a Go build]' \ + '(--autotools --cabal --cmake --crystal --meson --node --perl --python --ruby --rust --zig --cask)--go[Create a basic template for a Go build]' \ '--help[Show this message]' \ - '(--autotools --cmake --crystal --go --node --perl --python --ruby --rust --zig --cask)--meson[Create a basic template for a Meson-style build]' \ + '(--autotools --cabal --cmake --crystal --go --node --perl --python --ruby --rust --zig --cask)--meson[Create a basic template for a Meson-style build]' \ '--no-fetch[Homebrew will not download URL to the cache and will thus not add its SHA-256 to the formula for you, nor will it check the GitHub API for GitHub projects (to fill out its description and homepage)]' \ - '(--autotools --cmake --crystal --go --meson --perl --python --ruby --rust --zig --cask)--node[Create a basic template for a Node build]' \ - '(--autotools --cmake --crystal --go --meson --node --python --ruby --rust --zig --cask)--perl[Create a basic template for a Perl build]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --ruby --rust --zig --cask)--python[Create a basic template for a Python build]' \ + '(--autotools --cabal --cmake --crystal --go --meson --perl --python --ruby --rust --zig --cask)--node[Create a basic template for a Node build]' \ + '(--autotools --cabal --cmake --crystal --go --meson --node --python --ruby --rust --zig --cask)--perl[Create a basic template for a Perl build]' \ + '(--autotools --cabal --cmake --crystal --go --meson --node --perl --ruby --rust --zig --cask)--python[Create a basic template for a Python build]' \ '--quiet[Make some output more quiet]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --rust --zig --cask)--ruby[Create a basic template for a Ruby build]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --zig --cask)--rust[Create a basic template for a Rust build]' \ + '(--autotools --cabal --cmake --crystal --go --meson --node --perl --python --rust --zig --cask)--ruby[Create a basic template for a Ruby build]' \ + '(--autotools --cabal --cmake --crystal --go --meson --node --perl --python --ruby --zig --cask)--rust[Create a basic template for a Rust build]' \ '(--cask)--set-license[Explicitly set the license of the new formula]' \ '--set-name[Explicitly set the name of the new formula or cask]' \ '--set-version[Explicitly set the version of the new formula or cask]' \ '--tap[Generate the new formula within the given tap, specified as user`/`repo]' \ '--verbose[Make some output more verbose]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --rust --cask)--zig[Create a basic template for a Zig build]' + '(--autotools --cabal --cmake --crystal --go --meson --node --perl --python --ruby --rust --cask)--zig[Create a basic template for a Zig build]' } # brew debugger diff --git a/docs/Manpage.md b/docs/Manpage.md index 50734eddaa..861f6d0e92 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -2414,6 +2414,10 @@ see: : Create a basic template for an Autotools-style build. +`--cabal` + +: Create a basic template for a Cabal build. + `--cask` : Create a basic template for a cask. diff --git a/manpages/brew.1 b/manpages/brew.1 index c9d84fcd31..1d84a042df 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1525,6 +1525,9 @@ Generate a formula or, with \fB\-\-cask\fP, a cask for the downloadable file at \fB\-\-autotools\fP Create a basic template for an Autotools\-style build\. .TP +\fB\-\-cabal\fP +Create a basic template for a Cabal build\. +.TP \fB\-\-cask\fP Create a basic template for a cask\. .TP