Merge pull request #20204 from Homebrew/eval-all-check-env

cmd/dev-cmd: fetch `HOMEBREW_EVAL_ALL` for `--eval-all`
This commit is contained in:
Eric Knibbe 2025-07-04 02:05:22 +00:00 committed by GitHub
commit 0b7c57af3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 123 additions and 120 deletions

View File

@ -91,7 +91,7 @@ module Homebrew
raise UsageError, "`brew deps --arch=all` is not supported" if args.arch == "all" raise UsageError, "`brew deps --arch=all` is not supported" if args.arch == "all"
os, arch = T.must(args.os_arch_combinations.first) os, arch = T.must(args.os_arch_combinations.first)
all = args.eval_all? eval_all = args.eval_all?
Formulary.enable_factory_cache! Formulary.enable_factory_cache!
@ -164,9 +164,9 @@ module Homebrew
puts_deps_tree(dependents, recursive:) puts_deps_tree(dependents, recursive:)
return return
elsif all elsif eval_all
puts_deps(sorted_dependents( puts_deps(sorted_dependents(
Formula.all(eval_all: args.eval_all?) + Cask::Cask.all(eval_all: args.eval_all?), Formula.all(eval_all:) + Cask::Cask.all(eval_all:),
), recursive:) ), recursive:)
return return
elsif !args.no_named? && args.for_each? elsif !args.no_named? && args.for_each?

View File

@ -25,7 +25,8 @@ module Homebrew
"it is interpreted as a regular expression." "it is interpreted as a regular expression."
switch "--eval-all", switch "--eval-all",
description: "Evaluate all available formulae and casks, whether installed or not, to search their " \ description: "Evaluate all available formulae and casks, whether installed or not, to search their " \
"descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set." "descriptions.",
env: :eval_all
switch "--formula", "--formulae", switch "--formula", "--formulae",
description: "Treat all named arguments as formulae." description: "Treat all named arguments as formulae."
switch "--cask", "--casks", switch "--cask", "--casks",
@ -47,7 +48,7 @@ module Homebrew
end end
if search_type.present? if search_type.present?
if !args.eval_all? && !Homebrew::EnvConfig.eval_all? && Homebrew::EnvConfig.no_install_from_api? if !args.eval_all? && Homebrew::EnvConfig.no_install_from_api?
raise UsageError, "`brew desc --search` needs `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!" raise UsageError, "`brew desc --search` needs `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!"
end end

View File

@ -57,7 +57,8 @@ module Homebrew
switch "--eval-all", switch "--eval-all",
depends_on: "--json", depends_on: "--json",
description: "Evaluate all available formulae and casks, whether installed or not, to print their " \ description: "Evaluate all available formulae and casks, whether installed or not, to print their " \
"JSON. Implied if `$HOMEBREW_EVAL_ALL` is set." "JSON.",
env: :eval_all
switch "--variations", switch "--variations",
depends_on: "--json", depends_on: "--json",
description: "Include the variations hash in each formula's JSON output." description: "Include the variations hash in each formula's JSON output."
@ -97,9 +98,7 @@ module Homebrew
print_analytics print_analytics
elsif (json = args.json) elsif (json = args.json)
all = args.eval_all? print_json(json, args.eval_all?)
print_json(json, all)
elsif args.github? elsif args.github?
raise FormulaOrCaskUnspecifiedError if args.no_named? raise FormulaOrCaskUnspecifiedError if args.no_named?
@ -192,16 +191,16 @@ module Homebrew
version_hash[version] version_hash[version]
end end
sig { params(json: T.any(T::Boolean, String), all: T::Boolean).void } sig { params(json: T.any(T::Boolean, String), eval_all: T::Boolean).void }
def print_json(json, all) def print_json(json, eval_all)
raise FormulaOrCaskUnspecifiedError if !(all || args.installed?) && args.no_named? raise FormulaOrCaskUnspecifiedError if !(eval_all || args.installed?) && args.no_named?
json = case json_version(json) json = case json_version(json)
when :v1, :default when :v1, :default
raise UsageError, "Cannot specify `--cask` when using `--json=v1`!" if args.cask? raise UsageError, "Cannot specify `--cask` when using `--json=v1`!" if args.cask?
formulae = if all formulae = if eval_all
Formula.all(eval_all: args.eval_all?).sort Formula.all(eval_all:).sort
elsif args.installed? elsif args.installed?
Formula.installed.sort Formula.installed.sort
else else
@ -215,10 +214,10 @@ module Homebrew
end end
when :v2 when :v2
formulae, casks = T.let( formulae, casks = T.let(
if all if eval_all
[ [
Formula.all(eval_all: args.eval_all?).sort, Formula.all(eval_all:).sort,
Cask::Cask.all(eval_all: args.eval_all?).sort_by(&:full_name), Cask::Cask.all(eval_all:).sort_by(&:full_name),
] ]
elsif args.installed? elsif args.installed?
[Formula.installed.sort, Cask::Caskroom.casks.sort_by(&:full_name)] [Formula.installed.sort, Cask::Caskroom.casks.sort_by(&:full_name)]

View File

@ -18,7 +18,8 @@ module Homebrew
description: "Show options for formulae that are currently installed." description: "Show options for formulae that are currently installed."
switch "--eval-all", switch "--eval-all",
description: "Evaluate all available formulae and casks, whether installed or not, to show their " \ description: "Evaluate all available formulae and casks, whether installed or not, to show their " \
"options." "options.",
env: :eval_all
flag "--command=", flag "--command=",
description: "Show options for the specified <command>." description: "Show options for the specified <command>."
@ -29,10 +30,10 @@ module Homebrew
sig { override.void } sig { override.void }
def run def run
all = args.eval_all? eval_all = args.eval_all?
if all if eval_all
puts_options(Formula.all(eval_all: args.eval_all?).sort) puts_options(Formula.all(eval_all:).sort)
elsif args.installed? elsif args.installed?
puts_options(Formula.installed.sort) puts_options(Formula.installed.sort)
elsif args.command.present? elsif args.command.present?

View File

@ -24,8 +24,8 @@ module Homebrew
switch "--syntax", switch "--syntax",
description: "Syntax-check all of Homebrew's Ruby files (if no <tap> is passed)." description: "Syntax-check all of Homebrew's Ruby files (if no <tap> is passed)."
switch "--eval-all", switch "--eval-all",
description: "Evaluate all available formulae and casks, whether installed or not. " \ description: "Evaluate all available formulae and casks, whether installed or not.",
"Implied if `$HOMEBREW_EVAL_ALL` is set." env: :eval_all
switch "--no-simulate", switch "--no-simulate",
description: "Don't simulate other system configurations when checking formulae and casks." description: "Don't simulate other system configurations when checking formulae and casks."
@ -49,7 +49,7 @@ module Homebrew
options[:os_arch_combinations] = args.os_arch_combinations if args.os || args.arch options[:os_arch_combinations] = args.os_arch_combinations if args.os || args.arch
taps = if args.no_named? taps = if args.no_named?
if !args.eval_all? && !Homebrew::EnvConfig.eval_all? unless args.eval_all?
raise UsageError, "`brew readall` needs a tap or `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!" raise UsageError, "`brew readall` needs a tap or `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!"
end end

View File

@ -40,7 +40,8 @@ module Homebrew
switch "--eval-all", switch "--eval-all",
depends_on: "--desc", depends_on: "--desc",
description: "Evaluate all available formulae and casks, whether installed or not, to search their " \ description: "Evaluate all available formulae and casks, whether installed or not, to search their " \
"descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set." "descriptions.",
env: :eval_all
switch "--pull-request", switch "--pull-request",
description: "Search for GitHub pull requests containing <text>." description: "Search for GitHub pull requests containing <text>."
switch "--open", switch "--open",
@ -70,7 +71,7 @@ module Homebrew
string_or_regex = Search.query_regexp(query) string_or_regex = Search.query_regexp(query)
if args.desc? if args.desc?
if !args.eval_all? && !Homebrew::EnvConfig.eval_all? && Homebrew::EnvConfig.no_install_from_api? if !args.eval_all? && Homebrew::EnvConfig.no_install_from_api?
raise UsageError, "`brew search --desc` needs `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!" raise UsageError, "`brew search --desc` needs `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!"
end end

View File

@ -39,8 +39,8 @@ module Homebrew
description: "Add missing symlinks to tap manpages and shell completions. Correct git remote " \ description: "Add missing symlinks to tap manpages and shell completions. Correct git remote " \
"refs for any taps where upstream HEAD branch has been renamed." "refs for any taps where upstream HEAD branch has been renamed."
switch "--eval-all", switch "--eval-all",
description: "Evaluate all the formulae, casks and aliases in the new tap to check validity. " \ description: "Evaluate all formulae, casks and aliases in the new tap to check their validity.",
"Implied if `$HOMEBREW_EVAL_ALL` is set." env: :eval_all
switch "-f", "--force", switch "-f", "--force",
description: "Force install core taps even under API mode." description: "Force install core taps even under API mode."
@ -62,7 +62,7 @@ module Homebrew
tap.install clone_target: args.named.second, tap.install clone_target: args.named.second,
custom_remote: args.custom_remote?, custom_remote: args.custom_remote?,
quiet: args.quiet?, quiet: args.quiet?,
verify: args.eval_all? || Homebrew::EnvConfig.eval_all?, verify: args.eval_all?,
force: args.force? force: args.force?
rescue Tap::InvalidNameError, TapRemoteMismatchError, TapNoCustomRemoteError => e rescue Tap::InvalidNameError, TapRemoteMismatchError, TapNoCustomRemoteError => e
odie e odie e

View File

@ -36,7 +36,8 @@ module Homebrew
description: "Only list formulae and casks that are not currently installed." description: "Only list formulae and casks that are not currently installed."
switch "--eval-all", switch "--eval-all",
description: "Evaluate all available formulae and casks, whether installed or not, to show " \ description: "Evaluate all available formulae and casks, whether installed or not, to show " \
"their dependents." "their dependents.",
env: :eval_all
switch "--include-implicit", switch "--include-implicit",
description: "Include formulae that have <formula> as an implicit dependency for " \ description: "Include formulae that have <formula> as an implicit dependency for " \
"downloading and unpacking source files." "downloading and unpacking source files."
@ -119,17 +120,17 @@ module Homebrew
deps deps
else else
all = args.eval_all? eval_all = args.eval_all?
if !args.installed? && !(all || Homebrew::EnvConfig.eval_all?) if !args.installed? && !eval_all
raise UsageError, "`brew uses` needs `--installed` or `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!" raise UsageError, "`brew uses` needs `--installed` or `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!"
end end
if show_formulae_and_casks || args.formula? if show_formulae_and_casks || args.formula?
deps += args.installed? ? Formula.installed : Formula.all(eval_all: args.eval_all?) deps += args.installed? ? Formula.installed : Formula.all(eval_all:)
end end
if show_formulae_and_casks || args.cask? if show_formulae_and_casks || args.cask?
deps += args.installed? ? Cask::Caskroom.casks : Cask::Cask.all(eval_all: args.eval_all?) deps += args.installed? ? Cask::Caskroom.casks : Cask::Cask.all(eval_all:)
end end
if args.missing? if args.missing?

View File

@ -42,8 +42,8 @@ module Homebrew
switch "--installed", switch "--installed",
description: "Only check formulae and casks that are currently installed." description: "Only check formulae and casks that are currently installed."
switch "--eval-all", switch "--eval-all",
description: "Evaluate all available formulae and casks, whether installed or not, to audit them. " \ description: "Evaluate all available formulae and casks, whether installed or not, to audit them.",
"Implied if `$HOMEBREW_EVAL_ALL` is set." env: :eval_all
switch "--new", switch "--new",
description: "Run various additional style checks to determine if a new formula or cask is eligible " \ description: "Run various additional style checks to determine if a new formula or cask is eligible " \
"for Homebrew. This should be used when creating new formulae or casks and implies " \ "for Homebrew. This should be used when creating new formulae or casks and implies " \
@ -137,15 +137,17 @@ module Homebrew
no_named_args = true no_named_args = true
[Formula.installed, Cask::Caskroom.casks] [Formula.installed, Cask::Caskroom.casks]
elsif args.no_named? elsif args.no_named?
if !args.eval_all? && !Homebrew::EnvConfig.eval_all? eval_all = args.eval_all?
unless eval_all
# This odisabled should probably stick around indefinitely. # This odisabled should probably stick around indefinitely.
odisabled "brew audit", odisabled "brew audit",
"brew audit --eval-all or HOMEBREW_EVAL_ALL" "brew audit --eval-all or HOMEBREW_EVAL_ALL"
end end
no_named_args = true no_named_args = true
[ [
Formula.all(eval_all: args.eval_all?), Formula.all(eval_all:),
Cask::Cask.all(eval_all: args.eval_all?), Cask::Cask.all(eval_all:),
] ]
else else
if args.named.any? { |named_arg| named_arg.end_with?(".rb") } if args.named.any? { |named_arg| named_arg.end_with?(".rb") }

View File

@ -40,7 +40,8 @@ module Homebrew
switch "--cask", "--casks", switch "--cask", "--casks",
description: "Check only casks." description: "Check only casks."
switch "--eval-all", switch "--eval-all",
description: "Evaluate all formulae and casks." description: "Evaluate all formulae and casks.",
env: :eval_all
switch "--repology", switch "--repology",
description: "Use Repology to check for outdated packages." description: "Use Repology to check for outdated packages."
flag "--tap=", flag "--tap=",
@ -71,14 +72,12 @@ module Homebrew
Homebrew.install_bundler_gems!(groups: ["livecheck"]) Homebrew.install_bundler_gems!(groups: ["livecheck"])
Homebrew.with_no_api_env do Homebrew.with_no_api_env do
eval_all = args.eval_all? || Homebrew::EnvConfig.eval_all? eval_all = args.eval_all?
excluded_autobump = [] excluded_autobump = []
if args.no_autobump? if args.no_autobump? && eval_all
excluded_autobump.concat(autobumped_formulae_or_casks(CoreTap.instance)) if eval_all || args.formula? excluded_autobump.concat(autobumped_formulae_or_casks(CoreTap.instance)) if args.formula?
if eval_all || args.cask? excluded_autobump.concat(autobumped_formulae_or_casks(CoreCaskTap.instance, casks: true)) if args.cask?
excluded_autobump.concat(autobumped_formulae_or_casks(CoreCaskTap.instance, casks: true))
end
end end
formulae_and_casks = if args.auto? formulae_and_casks = if args.auto?

View File

@ -53,7 +53,7 @@ module Homebrew
def run def run
Homebrew.install_bundler_gems!(groups: ["livecheck"]) Homebrew.install_bundler_gems!(groups: ["livecheck"])
all = args.eval_all? eval_all = args.eval_all?
if args.debug? && args.verbose? if args.debug? && args.verbose?
puts args puts args
@ -70,12 +70,12 @@ module Homebrew
formulae = args.cask? ? [] : Formula.installed formulae = args.cask? ? [] : Formula.installed
casks = args.formula? ? [] : Cask::Caskroom.casks casks = args.formula? ? [] : Cask::Caskroom.casks
formulae + casks formulae + casks
elsif all
formulae = args.cask? ? [] : Formula.all(eval_all: args.eval_all?)
casks = args.formula? ? [] : Cask::Cask.all(eval_all: args.eval_all?)
formulae + casks
elsif args.named.present? elsif args.named.present?
args.named.to_formulae_and_casks_with_taps args.named.to_formulae_and_casks_with_taps
elsif eval_all
formulae = args.cask? ? [] : Formula.all(eval_all:)
casks = args.formula? ? [] : Cask::Cask.all(eval_all:)
formulae + casks
elsif File.exist?(watchlist_path) elsif File.exist?(watchlist_path)
begin begin
names = Pathname.new(watchlist_path).read.lines names = Pathname.new(watchlist_path).read.lines
@ -88,7 +88,8 @@ module Homebrew
onoe e onoe e
end end
else else
raise UsageError, "A watchlist file is required when no arguments are given." raise UsageError,
"`brew livecheck` with no arguments needs a watchlist file to be present or `--eval-all` passed!"
end end
end end

View File

@ -22,8 +22,8 @@ module Homebrew
switch "--lost", switch "--lost",
description: "Print the `homebrew/core` commits where bottles were lost in the last week." description: "Print the `homebrew/core` commits where bottles were lost in the last week."
switch "--eval-all", switch "--eval-all",
description: "Evaluate all available formulae and casks, whether installed or not, to check them. " \ description: "Evaluate all available formulae and casks, whether installed or not, to check them.",
"Implied if `$HOMEBREW_EVAL_ALL` is set." env: :eval_all
conflicts "--dependents", "--total", "--lost" conflicts "--dependents", "--total", "--lost"
@ -65,22 +65,19 @@ module Homebrew
end end
Homebrew::SimulateSystem.with(os:, arch:) do Homebrew::SimulateSystem.with(os:, arch:) do
all = args.eval_all? eval_all = args.eval_all?
if args.total?
if !all && !Homebrew::EnvConfig.eval_all?
raise UsageError, "`brew unbottled --total` needs `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!"
end
all = true if args.total? && !eval_all
raise UsageError, "`brew unbottled --total` needs `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!"
end end
if args.named.blank? if args.named.blank?
ohai "Getting formulae..." ohai "Getting formulae..."
elsif all elsif eval_all
raise UsageError, "Cannot specify formulae when using `--eval-all`/`--total`." raise UsageError, "Cannot specify formulae when using `--eval-all`/`--total`."
end end
formulae, all_formulae, formula_installs = formulae_all_installs_from_args(all) formulae, all_formulae, formula_installs = formulae_all_installs_from_args(eval_all)
deps_hash, uses_hash = deps_uses_from_formulae(all_formulae) deps_hash, uses_hash = deps_uses_from_formulae(all_formulae)
if args.dependents? if args.dependents?
@ -89,7 +86,7 @@ module Homebrew
dependents = uses_hash[f.name]&.length || 0 dependents = uses_hash[f.name]&.length || 0
formula_dependents[f.name] ||= dependents formula_dependents[f.name] ||= dependents
end.reverse end.reverse
elsif all elsif eval_all
output_total(formulae) output_total(formulae)
return return
end end
@ -111,22 +108,22 @@ module Homebrew
private private
sig { sig {
params(all: T::Boolean).returns([T::Array[Formula], T::Array[Formula], T.nilable(T::Hash[Symbol, Integer])]) params(eval_all: T::Boolean).returns([T::Array[Formula], T::Array[Formula],
T.nilable(T::Hash[Symbol, Integer])])
} }
def formulae_all_installs_from_args(all) def formulae_all_installs_from_args(eval_all)
if args.named.present? if args.named.present?
formulae = all_formulae = args.named.to_formulae formulae = all_formulae = args.named.to_formulae
elsif args.dependents? elsif args.dependents?
if !args.eval_all? && !Homebrew::EnvConfig.eval_all? unless eval_all
raise UsageError, raise UsageError, "`brew unbottled --dependents` needs `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!"
"`brew unbottled --dependents` needs `--eval-all` passed or `$HOMEBREW_EVAL_ALL` set!"
end end
formulae = all_formulae = Formula.all(eval_all: args.eval_all?) formulae = all_formulae = Formula.all(eval_all:)
@sort = T.let(" (sorted by number of dependents)", T.nilable(String)) @sort = T.let(" (sorted by number of dependents)", T.nilable(String))
elsif all elsif eval_all
formulae = all_formulae = Formula.all(eval_all: args.eval_all?) formulae = all_formulae = Formula.all(eval_all:)
else else
formula_installs = {} formula_installs = {}
@ -153,7 +150,7 @@ module Homebrew
end end
@sort = T.let(" (sorted by installs in the last 90 days; top 10,000 only)", T.nilable(String)) @sort = T.let(" (sorted by installs in the last 90 days; top 10,000 only)", T.nilable(String))
all_formulae = Formula.all(eval_all: args.eval_all?) all_formulae = Formula.all(eval_all:)
end end
# Remove deprecated and disabled formulae as we do not care if they are unbottled # Remove deprecated and disabled formulae as we do not care if they are unbottled

View File

@ -22,7 +22,7 @@ RSpec.describe Homebrew::DevCmd::LivecheckCmd do
it "gives an error when no arguments are given and there's no watchlist", :integration_test do it "gives an error when no arguments are given and there's no watchlist", :integration_test do
expect { brew "livecheck", "HOMEBREW_LIVECHECK_WATCHLIST" => ".this_should_not_exist" } expect { brew "livecheck", "HOMEBREW_LIVECHECK_WATCHLIST" => ".this_should_not_exist" }
.to output(/Invalid usage: A watchlist file is required when no arguments are given\./).to_stderr .to output(/Invalid usage: `brew livecheck` with no arguments needs a watchlist file to be present/).to_stderr
.and not_to_output.to_stdout .and not_to_output.to_stdout
.and be_a_failure .and be_a_failure
end end

View File

@ -277,7 +277,7 @@ __fish_brew_complete_arg '-S' -l closed -d 'Search for only closed GitHub pull r
__fish_brew_complete_arg '-S' -l debian -d 'Search for text in the given database' __fish_brew_complete_arg '-S' -l debian -d 'Search for text in the given database'
__fish_brew_complete_arg '-S' -l debug -d 'Display any debugging information' __fish_brew_complete_arg '-S' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg '-S' -l desc -d 'Search for formulae with a description matching text and casks with a name or description matching text' __fish_brew_complete_arg '-S' -l desc -d 'Search for formulae with a description matching text and casks with a name or description matching text'
__fish_brew_complete_arg '-S' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set' __fish_brew_complete_arg '-S' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg '-S' -l fedora -d 'Search for text in the given database' __fish_brew_complete_arg '-S' -l fedora -d 'Search for text in the given database'
__fish_brew_complete_arg '-S' -l fink -d 'Search for text in the given database' __fish_brew_complete_arg '-S' -l fink -d 'Search for text in the given database'
__fish_brew_complete_arg '-S' -l formula -d 'Search for formulae' __fish_brew_complete_arg '-S' -l formula -d 'Search for formulae'
@ -305,7 +305,7 @@ __fish_brew_complete_arg 'abv' -l cask -d 'Treat all named arguments as casks'
__fish_brew_complete_arg 'abv' -l category -d 'Which type of analytics data to retrieve. The value for category must be `install`, `install-on-request` or `build-error`; `cask-install` or `os-version` may be specified if formula is not. The default is `install`' __fish_brew_complete_arg 'abv' -l category -d 'Which type of analytics data to retrieve. The value for category must be `install`, `install-on-request` or `build-error`; `cask-install` or `os-version` may be specified if formula is not. The default is `install`'
__fish_brew_complete_arg 'abv' -l days -d 'How many days of analytics data to retrieve. The value for days must be `30`, `90` or `365`. The default is `30`' __fish_brew_complete_arg 'abv' -l days -d 'How many days of analytics data to retrieve. The value for days must be `30`, `90` or `365`. The default is `30`'
__fish_brew_complete_arg 'abv' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'abv' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'abv' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to print their JSON. Implied if `$HOMEBREW_EVAL_ALL` is set' __fish_brew_complete_arg 'abv' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to print their JSON. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'abv' -l fetch-manifest -d 'Fetch GitHub Packages manifest for extra information when formula is not installed' __fish_brew_complete_arg 'abv' -l fetch-manifest -d 'Fetch GitHub Packages manifest for extra information when formula is not installed'
__fish_brew_complete_arg 'abv' -l formula -d 'Treat all named arguments as formulae' __fish_brew_complete_arg 'abv' -l formula -d 'Treat all named arguments as formulae'
__fish_brew_complete_arg 'abv' -l github -d 'Open the GitHub source page for formula and cask in a browser. To view the history locally: `brew log -p` formula or cask' __fish_brew_complete_arg 'abv' -l github -d 'Open the GitHub source page for formula and cask in a browser. To view the history locally: `brew log -p` formula or cask'
@ -344,7 +344,7 @@ __fish_brew_complete_arg 'audit' -l audit-debug -d 'Enable debugging and profili
__fish_brew_complete_arg 'audit' -l cask -d 'Treat all named arguments as casks' __fish_brew_complete_arg 'audit' -l cask -d 'Treat all named arguments as casks'
__fish_brew_complete_arg 'audit' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'audit' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'audit' -l display-filename -d 'Prefix every line of output with the file or formula name being audited, to make output easy to grep' __fish_brew_complete_arg 'audit' -l display-filename -d 'Prefix every line of output with the file or formula name being audited, to make output easy to grep'
__fish_brew_complete_arg 'audit' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to audit them. Implied if `$HOMEBREW_EVAL_ALL` is set' __fish_brew_complete_arg 'audit' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to audit them. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'audit' -l except -d 'Specify a comma-separated method list to skip running the methods named `audit_`method' __fish_brew_complete_arg 'audit' -l except -d 'Specify a comma-separated method list to skip running the methods named `audit_`method'
__fish_brew_complete_arg 'audit' -l except-cops -d 'Specify a comma-separated cops list to skip checking for violations of the listed RuboCop cops' __fish_brew_complete_arg 'audit' -l except-cops -d 'Specify a comma-separated cops list to skip checking for violations of the listed RuboCop cops'
__fish_brew_complete_arg 'audit' -l fix -d 'Fix style violations automatically using RuboCop\'s auto-correct feature' __fish_brew_complete_arg 'audit' -l fix -d 'Fix style violations automatically using RuboCop\'s auto-correct feature'
@ -401,7 +401,7 @@ __fish_brew_complete_cmd 'bump' 'Displays out-of-date packages and the latest ve
__fish_brew_complete_arg 'bump' -l bump-synced -d 'Bump additional formulae marked as synced with the given formulae' __fish_brew_complete_arg 'bump' -l bump-synced -d 'Bump additional formulae marked as synced with the given formulae'
__fish_brew_complete_arg 'bump' -l cask -d 'Check only casks' __fish_brew_complete_arg 'bump' -l cask -d 'Check only casks'
__fish_brew_complete_arg 'bump' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'bump' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'bump' -l eval-all -d 'Evaluate all formulae and casks' __fish_brew_complete_arg 'bump' -l eval-all -d 'Evaluate all formulae and casks. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'bump' -l formula -d 'Check only formulae' __fish_brew_complete_arg 'bump' -l formula -d 'Check only formulae'
__fish_brew_complete_arg 'bump' -l full-name -d 'Print formulae/casks with fully-qualified names' __fish_brew_complete_arg 'bump' -l full-name -d 'Print formulae/casks with fully-qualified names'
__fish_brew_complete_arg 'bump' -l help -d 'Show this message' __fish_brew_complete_arg 'bump' -l help -d 'Show this message'
@ -679,7 +679,7 @@ __fish_brew_complete_cmd 'desc' 'Display formula\'s name and one-line descriptio
__fish_brew_complete_arg 'desc' -l cask -d 'Treat all named arguments as casks' __fish_brew_complete_arg 'desc' -l cask -d 'Treat all named arguments as casks'
__fish_brew_complete_arg 'desc' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'desc' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'desc' -l description -d 'Search just descriptions for text. If text is flanked by slashes, it is interpreted as a regular expression' __fish_brew_complete_arg 'desc' -l description -d 'Search just descriptions for text. If text is flanked by slashes, it is interpreted as a regular expression'
__fish_brew_complete_arg 'desc' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set' __fish_brew_complete_arg 'desc' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'desc' -l formula -d 'Treat all named arguments as formulae' __fish_brew_complete_arg 'desc' -l formula -d 'Treat all named arguments as formulae'
__fish_brew_complete_arg 'desc' -l help -d 'Show this message' __fish_brew_complete_arg 'desc' -l help -d 'Show this message'
__fish_brew_complete_arg 'desc' -l name -d 'Search just names for text. If text is flanked by slashes, it is interpreted as a regular expression' __fish_brew_complete_arg 'desc' -l name -d 'Search just names for text. If text is flanked by slashes, it is interpreted as a regular expression'
@ -933,7 +933,7 @@ __fish_brew_complete_arg 'info' -l cask -d 'Treat all named arguments as casks'
__fish_brew_complete_arg 'info' -l category -d 'Which type of analytics data to retrieve. The value for category must be `install`, `install-on-request` or `build-error`; `cask-install` or `os-version` may be specified if formula is not. The default is `install`' __fish_brew_complete_arg 'info' -l category -d 'Which type of analytics data to retrieve. The value for category must be `install`, `install-on-request` or `build-error`; `cask-install` or `os-version` may be specified if formula is not. The default is `install`'
__fish_brew_complete_arg 'info' -l days -d 'How many days of analytics data to retrieve. The value for days must be `30`, `90` or `365`. The default is `30`' __fish_brew_complete_arg 'info' -l days -d 'How many days of analytics data to retrieve. The value for days must be `30`, `90` or `365`. The default is `30`'
__fish_brew_complete_arg 'info' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'info' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'info' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to print their JSON. Implied if `$HOMEBREW_EVAL_ALL` is set' __fish_brew_complete_arg 'info' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to print their JSON. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'info' -l fetch-manifest -d 'Fetch GitHub Packages manifest for extra information when formula is not installed' __fish_brew_complete_arg 'info' -l fetch-manifest -d 'Fetch GitHub Packages manifest for extra information when formula is not installed'
__fish_brew_complete_arg 'info' -l formula -d 'Treat all named arguments as formulae' __fish_brew_complete_arg 'info' -l formula -d 'Treat all named arguments as formulae'
__fish_brew_complete_arg 'info' -l github -d 'Open the GitHub source page for formula and cask in a browser. To view the history locally: `brew log -p` formula or cask' __fish_brew_complete_arg 'info' -l github -d 'Open the GitHub source page for formula and cask in a browser. To view the history locally: `brew log -p` formula or cask'
@ -1265,7 +1265,7 @@ __fish_brew_complete_cmd 'options' 'Show install options specific to formula'
__fish_brew_complete_arg 'options' -l command -d 'Show options for the specified command' __fish_brew_complete_arg 'options' -l command -d 'Show options for the specified command'
__fish_brew_complete_arg 'options' -l compact -d 'Show all options on a single line separated by spaces' __fish_brew_complete_arg 'options' -l compact -d 'Show all options on a single line separated by spaces'
__fish_brew_complete_arg 'options' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'options' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'options' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to show their options' __fish_brew_complete_arg 'options' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to show their options. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'options' -l help -d 'Show this message' __fish_brew_complete_arg 'options' -l help -d 'Show this message'
__fish_brew_complete_arg 'options' -l installed -d 'Show options for formulae that are currently installed' __fish_brew_complete_arg 'options' -l installed -d 'Show options for formulae that are currently installed'
__fish_brew_complete_arg 'options' -l quiet -d 'Make some output more quiet' __fish_brew_complete_arg 'options' -l quiet -d 'Make some output more quiet'
@ -1410,7 +1410,7 @@ __fish_brew_complete_cmd 'readall' 'Import all items from the specified tap, or
__fish_brew_complete_arg 'readall' -l aliases -d 'Verify any alias symlinks in each tap' __fish_brew_complete_arg 'readall' -l aliases -d 'Verify any alias symlinks in each tap'
__fish_brew_complete_arg 'readall' -l arch -d 'Read using the given CPU architecture. (Pass `all` to simulate all architectures.)' __fish_brew_complete_arg 'readall' -l arch -d 'Read using the given CPU architecture. (Pass `all` to simulate all architectures.)'
__fish_brew_complete_arg 'readall' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'readall' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'readall' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not. Implied if `$HOMEBREW_EVAL_ALL` is set' __fish_brew_complete_arg 'readall' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'readall' -l help -d 'Show this message' __fish_brew_complete_arg 'readall' -l help -d 'Show this message'
__fish_brew_complete_arg 'readall' -l no-simulate -d 'Don\'t simulate other system configurations when checking formulae and casks' __fish_brew_complete_arg 'readall' -l no-simulate -d 'Don\'t simulate other system configurations when checking formulae and casks'
__fish_brew_complete_arg 'readall' -l os -d 'Read using the given operating system. (Pass `all` to simulate all operating systems.)' __fish_brew_complete_arg 'readall' -l os -d 'Read using the given operating system. (Pass `all` to simulate all operating systems.)'
@ -1533,7 +1533,7 @@ __fish_brew_complete_arg 'search' -l closed -d 'Search for only closed GitHub pu
__fish_brew_complete_arg 'search' -l debian -d 'Search for text in the given database' __fish_brew_complete_arg 'search' -l debian -d 'Search for text in the given database'
__fish_brew_complete_arg 'search' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'search' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'search' -l desc -d 'Search for formulae with a description matching text and casks with a name or description matching text' __fish_brew_complete_arg 'search' -l desc -d 'Search for formulae with a description matching text and casks with a name or description matching text'
__fish_brew_complete_arg 'search' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set' __fish_brew_complete_arg 'search' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'search' -l fedora -d 'Search for text in the given database' __fish_brew_complete_arg 'search' -l fedora -d 'Search for text in the given database'
__fish_brew_complete_arg 'search' -l fink -d 'Search for text in the given database' __fish_brew_complete_arg 'search' -l fink -d 'Search for text in the given database'
__fish_brew_complete_arg 'search' -l formula -d 'Search for formulae' __fish_brew_complete_arg 'search' -l formula -d 'Search for formulae'
@ -1626,7 +1626,7 @@ __fish_brew_complete_arg 'tab; and not __fish_seen_argument -l formula -l formul
__fish_brew_complete_cmd 'tap' 'Tap a formula repository' __fish_brew_complete_cmd 'tap' 'Tap a formula repository'
__fish_brew_complete_arg 'tap' -l custom-remote -d 'Install or change a tap with a custom remote. Useful for mirrors' __fish_brew_complete_arg 'tap' -l custom-remote -d 'Install or change a tap with a custom remote. Useful for mirrors'
__fish_brew_complete_arg 'tap' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'tap' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'tap' -l eval-all -d 'Evaluate all the formulae, casks and aliases in the new tap to check validity. Implied if `$HOMEBREW_EVAL_ALL` is set' __fish_brew_complete_arg 'tap' -l eval-all -d 'Evaluate all formulae, casks and aliases in the new tap to check their validity. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'tap' -l force -d 'Force install core taps even under API mode' __fish_brew_complete_arg 'tap' -l force -d 'Force install core taps even under API mode'
__fish_brew_complete_arg 'tap' -l help -d 'Show this message' __fish_brew_complete_arg 'tap' -l help -d 'Show this message'
__fish_brew_complete_arg 'tap' -l quiet -d 'Make some output more quiet' __fish_brew_complete_arg 'tap' -l quiet -d 'Make some output more quiet'
@ -1727,7 +1727,7 @@ __fish_brew_complete_arg 'unalias' -l verbose -d 'Make some output more verbose'
__fish_brew_complete_cmd 'unbottled' 'Show the unbottled dependents of formulae' __fish_brew_complete_cmd 'unbottled' 'Show the unbottled dependents of formulae'
__fish_brew_complete_arg 'unbottled' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'unbottled' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'unbottled' -l dependents -d 'Skip getting analytics data and sort by number of dependents instead' __fish_brew_complete_arg 'unbottled' -l dependents -d 'Skip getting analytics data and sort by number of dependents instead'
__fish_brew_complete_arg 'unbottled' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to check them. Implied if `$HOMEBREW_EVAL_ALL` is set' __fish_brew_complete_arg 'unbottled' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to check them. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'unbottled' -l help -d 'Show this message' __fish_brew_complete_arg 'unbottled' -l help -d 'Show this message'
__fish_brew_complete_arg 'unbottled' -l lost -d 'Print the `homebrew/core` commits where bottles were lost in the last week' __fish_brew_complete_arg 'unbottled' -l lost -d 'Print the `homebrew/core` commits where bottles were lost in the last week'
__fish_brew_complete_arg 'unbottled' -l quiet -d 'Make some output more quiet' __fish_brew_complete_arg 'unbottled' -l quiet -d 'Make some output more quiet'
@ -1943,7 +1943,7 @@ __fish_brew_complete_arg 'upgrade; and not __fish_seen_argument -l formula -l fo
__fish_brew_complete_cmd 'uses' 'Show formulae and casks that specify formula as a dependency; that is, show dependents of formula' __fish_brew_complete_cmd 'uses' 'Show formulae and casks that specify formula as a dependency; that is, show dependents of formula'
__fish_brew_complete_arg 'uses' -l cask -d 'Include only casks' __fish_brew_complete_arg 'uses' -l cask -d 'Include only casks'
__fish_brew_complete_arg 'uses' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'uses' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'uses' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to show their dependents' __fish_brew_complete_arg 'uses' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to show their dependents. Enabled by default if `$HOMEBREW_EVAL_ALL` is set'
__fish_brew_complete_arg 'uses' -l formula -d 'Include only formulae' __fish_brew_complete_arg 'uses' -l formula -d 'Include only formulae'
__fish_brew_complete_arg 'uses' -l help -d 'Show this message' __fish_brew_complete_arg 'uses' -l help -d 'Show this message'
__fish_brew_complete_arg 'uses' -l include-build -d 'Include formulae that specify formula as a `:build` dependency' __fish_brew_complete_arg 'uses' -l include-build -d 'Include formulae that specify formula as a `:build` dependency'

View File

@ -392,7 +392,7 @@ _brew__s() {
'(--repology --macports --fink --opensuse --fedora --archlinux --ubuntu)--debian[Search for text in the given database]' \ '(--repology --macports --fink --opensuse --fedora --archlinux --ubuntu)--debian[Search for text in the given database]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'(--pull-request)--desc[Search for formulae with a description matching text and casks with a name or description matching text]' \ '(--pull-request)--desc[Search for formulae with a description matching text and casks with a name or description matching text]' \
'--eval-all[Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set]' \ '--eval-all[Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'(--repology --macports --fink --opensuse --archlinux --debian --ubuntu)--fedora[Search for text in the given database]' \ '(--repology --macports --fink --opensuse --archlinux --debian --ubuntu)--fedora[Search for text in the given database]' \
'(--repology --macports --opensuse --fedora --archlinux --debian --ubuntu)--fink[Search for text in the given database]' \ '(--repology --macports --opensuse --fedora --archlinux --debian --ubuntu)--fink[Search for text in the given database]' \
'--formula[Search for formulae]' \ '--formula[Search for formulae]' \
@ -423,7 +423,7 @@ _brew_abv() {
'--category[Which type of analytics data to retrieve. The value for category must be `install`, `install-on-request` or `build-error`; `cask-install` or `os-version` may be specified if formula is not. The default is `install`]' \ '--category[Which type of analytics data to retrieve. The value for category must be `install`, `install-on-request` or `build-error`; `cask-install` or `os-version` may be specified if formula is not. The default is `install`]' \
'--days[How many days of analytics data to retrieve. The value for days must be `30`, `90` or `365`. The default is `30`]' \ '--days[How many days of analytics data to retrieve. The value for days must be `30`, `90` or `365`. The default is `30`]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'(--installed)--eval-all[Evaluate all available formulae and casks, whether installed or not, to print their JSON. Implied if `$HOMEBREW_EVAL_ALL` is set]' \ '(--installed)--eval-all[Evaluate all available formulae and casks, whether installed or not, to print their JSON. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'(--cask --json)--fetch-manifest[Fetch GitHub Packages manifest for extra information when formula is not installed]' \ '(--cask --json)--fetch-manifest[Fetch GitHub Packages manifest for extra information when formula is not installed]' \
'--github[Open the GitHub source page for formula and cask in a browser. To view the history locally: `brew log -p` formula or cask]' \ '--github[Open the GitHub source page for formula and cask in a browser. To view the history locally: `brew log -p` formula or cask]' \
'--help[Show this message]' \ '--help[Show this message]' \
@ -468,7 +468,7 @@ _brew_audit() {
'--audit-debug[Enable debugging and profiling of audit methods]' \ '--audit-debug[Enable debugging and profiling of audit methods]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'--display-filename[Prefix every line of output with the file or formula name being audited, to make output easy to grep]' \ '--display-filename[Prefix every line of output with the file or formula name being audited, to make output easy to grep]' \
'--eval-all[Evaluate all available formulae and casks, whether installed or not, to audit them. Implied if `$HOMEBREW_EVAL_ALL` is set]' \ '--eval-all[Evaluate all available formulae and casks, whether installed or not, to audit them. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'(--only)--except[Specify a comma-separated method list to skip running the methods named `audit_`method]' \ '(--only)--except[Specify a comma-separated method list to skip running the methods named `audit_`method]' \
'(--only-cops --strict --only-cops --only)--except-cops[Specify a comma-separated cops list to skip checking for violations of the listed RuboCop cops]' \ '(--only-cops --strict --only-cops --only)--except-cops[Specify a comma-separated cops list to skip checking for violations of the listed RuboCop cops]' \
'--fix[Fix style violations automatically using RuboCop'\''s auto-correct feature]' \ '--fix[Fix style violations automatically using RuboCop'\''s auto-correct feature]' \
@ -536,7 +536,7 @@ _brew_bump() {
_arguments \ _arguments \
'--bump-synced[Bump additional formulae marked as synced with the given formulae]' \ '--bump-synced[Bump additional formulae marked as synced with the given formulae]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'(--installed)--eval-all[Evaluate all formulae and casks]' \ '(--installed)--eval-all[Evaluate all formulae and casks. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'--full-name[Print formulae/casks with fully-qualified names]' \ '--full-name[Print formulae/casks with fully-qualified names]' \
'--help[Show this message]' \ '--help[Show this message]' \
'(--tap --eval-all --auto)--installed[Check formulae and casks that are currently installed]' \ '(--tap --eval-all --auto)--installed[Check formulae and casks that are currently installed]' \
@ -855,7 +855,7 @@ _brew_desc() {
_arguments \ _arguments \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'(--search --name)--description[Search just descriptions for text. If text is flanked by slashes, it is interpreted as a regular expression]' \ '(--search --name)--description[Search just descriptions for text. If text is flanked by slashes, it is interpreted as a regular expression]' \
'--eval-all[Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set]' \ '--eval-all[Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'--help[Show this message]' \ '--help[Show this message]' \
'(--search --description)--name[Search just names for text. If text is flanked by slashes, it is interpreted as a regular expression]' \ '(--search --description)--name[Search just names for text. If text is flanked by slashes, it is interpreted as a regular expression]' \
'--quiet[Make some output more quiet]' \ '--quiet[Make some output more quiet]' \
@ -1172,7 +1172,7 @@ _brew_info() {
'--category[Which type of analytics data to retrieve. The value for category must be `install`, `install-on-request` or `build-error`; `cask-install` or `os-version` may be specified if formula is not. The default is `install`]' \ '--category[Which type of analytics data to retrieve. The value for category must be `install`, `install-on-request` or `build-error`; `cask-install` or `os-version` may be specified if formula is not. The default is `install`]' \
'--days[How many days of analytics data to retrieve. The value for days must be `30`, `90` or `365`. The default is `30`]' \ '--days[How many days of analytics data to retrieve. The value for days must be `30`, `90` or `365`. The default is `30`]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'(--installed)--eval-all[Evaluate all available formulae and casks, whether installed or not, to print their JSON. Implied if `$HOMEBREW_EVAL_ALL` is set]' \ '(--installed)--eval-all[Evaluate all available formulae and casks, whether installed or not, to print their JSON. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'(--cask --json)--fetch-manifest[Fetch GitHub Packages manifest for extra information when formula is not installed]' \ '(--cask --json)--fetch-manifest[Fetch GitHub Packages manifest for extra information when formula is not installed]' \
'--github[Open the GitHub source page for formula and cask in a browser. To view the history locally: `brew log -p` formula or cask]' \ '--github[Open the GitHub source page for formula and cask in a browser. To view the history locally: `brew log -p` formula or cask]' \
'--help[Show this message]' \ '--help[Show this message]' \
@ -1564,7 +1564,7 @@ _brew_options() {
'(--installed --all)--command[Show options for the specified command]' \ '(--installed --all)--command[Show options for the specified command]' \
'--compact[Show all options on a single line separated by spaces]' \ '--compact[Show all options on a single line separated by spaces]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'--eval-all[Evaluate all available formulae and casks, whether installed or not, to show their options]' \ '--eval-all[Evaluate all available formulae and casks, whether installed or not, to show their options. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'--help[Show this message]' \ '--help[Show this message]' \
'(--all --command)--installed[Show options for formulae that are currently installed]' \ '(--all --command)--installed[Show options for formulae that are currently installed]' \
'--quiet[Make some output more quiet]' \ '--quiet[Make some output more quiet]' \
@ -1740,7 +1740,7 @@ _brew_readall() {
'--aliases[Verify any alias symlinks in each tap]' \ '--aliases[Verify any alias symlinks in each tap]' \
'--arch[Read using the given CPU architecture. (Pass `all` to simulate all architectures.)]' \ '--arch[Read using the given CPU architecture. (Pass `all` to simulate all architectures.)]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'--eval-all[Evaluate all available formulae and casks, whether installed or not. Implied if `$HOMEBREW_EVAL_ALL` is set]' \ '--eval-all[Evaluate all available formulae and casks, whether installed or not. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'--help[Show this message]' \ '--help[Show this message]' \
'--no-simulate[Don'\''t simulate other system configurations when checking formulae and casks]' \ '--no-simulate[Don'\''t simulate other system configurations when checking formulae and casks]' \
'--os[Read using the given operating system. (Pass `all` to simulate all operating systems.)]' \ '--os[Read using the given operating system. (Pass `all` to simulate all operating systems.)]' \
@ -1888,7 +1888,7 @@ _brew_search() {
'(--repology --macports --fink --opensuse --fedora --archlinux --ubuntu)--debian[Search for text in the given database]' \ '(--repology --macports --fink --opensuse --fedora --archlinux --ubuntu)--debian[Search for text in the given database]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'(--pull-request)--desc[Search for formulae with a description matching text and casks with a name or description matching text]' \ '(--pull-request)--desc[Search for formulae with a description matching text and casks with a name or description matching text]' \
'--eval-all[Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set]' \ '--eval-all[Evaluate all available formulae and casks, whether installed or not, to search their descriptions. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'(--repology --macports --fink --opensuse --archlinux --debian --ubuntu)--fedora[Search for text in the given database]' \ '(--repology --macports --fink --opensuse --archlinux --debian --ubuntu)--fedora[Search for text in the given database]' \
'(--repology --macports --opensuse --fedora --archlinux --debian --ubuntu)--fink[Search for text in the given database]' \ '(--repology --macports --opensuse --fedora --archlinux --debian --ubuntu)--fink[Search for text in the given database]' \
'--formula[Search for formulae]' \ '--formula[Search for formulae]' \
@ -1999,7 +1999,7 @@ _brew_tap() {
_arguments \ _arguments \
'--custom-remote[Install or change a tap with a custom remote. Useful for mirrors]' \ '--custom-remote[Install or change a tap with a custom remote. Useful for mirrors]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'--eval-all[Evaluate all the formulae, casks and aliases in the new tap to check validity. Implied if `$HOMEBREW_EVAL_ALL` is set]' \ '--eval-all[Evaluate all formulae, casks and aliases in the new tap to check their validity. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'--force[Force install core taps even under API mode]' \ '--force[Force install core taps even under API mode]' \
'--help[Show this message]' \ '--help[Show this message]' \
'--quiet[Make some output more quiet]' \ '--quiet[Make some output more quiet]' \
@ -2122,7 +2122,7 @@ _brew_unbottled() {
_arguments \ _arguments \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'(--total --lost)--dependents[Skip getting analytics data and sort by number of dependents instead]' \ '(--total --lost)--dependents[Skip getting analytics data and sort by number of dependents instead]' \
'--eval-all[Evaluate all available formulae and casks, whether installed or not, to check them. Implied if `$HOMEBREW_EVAL_ALL` is set]' \ '--eval-all[Evaluate all available formulae and casks, whether installed or not, to check them. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'--help[Show this message]' \ '--help[Show this message]' \
'(--dependents --total)--lost[Print the `homebrew/core` commits where bottles were lost in the last week]' \ '(--dependents --total)--lost[Print the `homebrew/core` commits where bottles were lost in the last week]' \
'--quiet[Make some output more quiet]' \ '--quiet[Make some output more quiet]' \
@ -2388,7 +2388,7 @@ _brew_uses() {
_arguments \ _arguments \
'(--formula)--cask[Include only casks]' \ '(--formula)--cask[Include only casks]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'--eval-all[Evaluate all available formulae and casks, whether installed or not, to show their dependents]' \ '--eval-all[Evaluate all available formulae and casks, whether installed or not, to show their dependents. Enabled by default if `$HOMEBREW_EVAL_ALL` is set]' \
'--help[Show this message]' \ '--help[Show this message]' \
'--include-build[Include formulae that specify formula as a `:build` dependency]' \ '--include-build[Include formulae that specify formula as a `:build` dependency]' \
'--include-implicit[Include formulae that have formula as an implicit dependency for downloading and unpacking source files]' \ '--include-implicit[Include formulae that have formula as an implicit dependency for downloading and unpacking source files]' \

View File

@ -523,7 +523,7 @@ first search, making that search slower than subsequent ones.
`--eval-all` `--eval-all`
: Evaluate all available formulae and casks, whether installed or not, to search : Evaluate all available formulae and casks, whether installed or not, to search
their descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set. their descriptions. Enabled by default if `$HOMEBREW_EVAL_ALL` is set.
`--formula` `--formula`
@ -723,7 +723,7 @@ Display brief statistics for your Homebrew installation. If a *`formula`* or
`--eval-all` `--eval-all`
: Evaluate all available formulae and casks, whether installed or not, to print : Evaluate all available formulae and casks, whether installed or not, to print
their JSON. Implied if `$HOMEBREW_EVAL_ALL` is set. their JSON. Enabled by default if `$HOMEBREW_EVAL_ALL` is set.
`--variations` `--variations`
@ -1115,7 +1115,7 @@ Show install options specific to *`formula`*.
`--eval-all` `--eval-all`
: Evaluate all available formulae and casks, whether installed or not, to show : Evaluate all available formulae and casks, whether installed or not, to show
their options. their options. Enabled by default if `$HOMEBREW_EVAL_ALL` is set.
`--command` `--command`
@ -1221,8 +1221,8 @@ all items or checking if any current formulae/casks have Ruby issues.
`--eval-all` `--eval-all`
: Evaluate all available formulae and casks, whether installed or not. Implied : Evaluate all available formulae and casks, whether installed or not. Enabled
if `$HOMEBREW_EVAL_ALL` is set. by default if `$HOMEBREW_EVAL_ALL` is set.
`--no-simulate` `--no-simulate`
@ -1351,7 +1351,7 @@ Perform a substring search of cask tokens and formula names for *`text`*. If
`--eval-all` `--eval-all`
: Evaluate all available formulae and casks, whether installed or not, to search : Evaluate all available formulae and casks, whether installed or not, to search
their descriptions. Implied if `$HOMEBREW_EVAL_ALL` is set. their descriptions. Enabled by default if `$HOMEBREW_EVAL_ALL` is set.
`--pull-request` `--pull-request`
@ -1546,8 +1546,8 @@ HTTPS, e.g. SSH, git, HTTP, FTP(S), rsync.
`--eval-all` `--eval-all`
: Evaluate all the formulae, casks and aliases in the new tap to check validity. : Evaluate all formulae, casks and aliases in the new tap to check their
Implied if `$HOMEBREW_EVAL_ALL` is set. validity. Enabled by default if `$HOMEBREW_EVAL_ALL` is set.
`-f`, `--force` `-f`, `--force`
@ -1804,7 +1804,7 @@ dependency for their stable builds.
`--eval-all` `--eval-all`
: Evaluate all available formulae and casks, whether installed or not, to show : Evaluate all available formulae and casks, whether installed or not, to show
their dependents. their dependents. Enabled by default if `$HOMEBREW_EVAL_ALL` is set.
`--include-implicit` `--include-implicit`
@ -1975,7 +1975,7 @@ checks. Will exit with a non-zero status if any errors are found.
`--eval-all` `--eval-all`
: Evaluate all available formulae and casks, whether installed or not, to audit : Evaluate all available formulae and casks, whether installed or not, to audit
them. Implied if `$HOMEBREW_EVAL_ALL` is set. them. Enabled by default if `$HOMEBREW_EVAL_ALL` is set.
`--new` `--new`
@ -2135,7 +2135,8 @@ displays whether a pull request has been opened with the URL.
`--eval-all` `--eval-all`
: Evaluate all formulae and casks. : Evaluate all formulae and casks. Enabled by default if `$HOMEBREW_EVAL_ALL` is
set.
`--repology` `--repology`
@ -3287,7 +3288,7 @@ Show the unbottled dependents of formulae.
`--eval-all` `--eval-all`
: Evaluate all available formulae and casks, whether installed or not, to check : Evaluate all available formulae and casks, whether installed or not, to check
them. Implied if `$HOMEBREW_EVAL_ALL` is set. them. Enabled by default if `$HOMEBREW_EVAL_ALL` is set.
### `unpack` \[*`options`*\] *`formula`* \[...\] ### `unpack` \[*`options`*\] *`formula`* \[...\]

View File

@ -1,5 +1,5 @@
.\" generated by kramdown .\" generated by kramdown
.TH "BREW" "1" "June 2025" "Homebrew" .TH "BREW" "1" "July 2025" "Homebrew"
.SH NAME .SH NAME
brew \- The Missing Package Manager for macOS (or Linux) brew \- The Missing Package Manager for macOS (or Linux)
.SH "SYNOPSIS" .SH "SYNOPSIS"
@ -326,7 +326,7 @@ Search just names for \fItext\fP\&\. If \fItext\fP is flanked by slashes, it is
Search just descriptions for \fItext\fP\&\. If \fItext\fP is flanked by slashes, it is interpreted as a regular expression\. Search just descriptions for \fItext\fP\&\. If \fItext\fP is flanked by slashes, it is interpreted as a regular expression\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all available formulae and casks, whether installed or not, to search their descriptions\. Implied if \fB$HOMEBREW_EVAL_ALL\fP is set\. Evaluate all available formulae and casks, whether installed or not, to search their descriptions\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.TP .TP
\fB\-\-formula\fP \fB\-\-formula\fP
Treat all named arguments as formulae\. Treat all named arguments as formulae\.
@ -450,7 +450,7 @@ Print a JSON representation\. Currently the default value for \fIversion\fP is \
Print JSON of formulae that are currently installed\. Print JSON of formulae that are currently installed\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all available formulae and casks, whether installed or not, to print their JSON\. Implied if \fB$HOMEBREW_EVAL_ALL\fP is set\. Evaluate all available formulae and casks, whether installed or not, to print their JSON\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.TP .TP
\fB\-\-variations\fP \fB\-\-variations\fP
Include the variations hash in each formula\[u2019]s JSON output\. Include the variations hash in each formula\[u2019]s JSON output\.
@ -694,7 +694,7 @@ Show all options on a single line separated by spaces\.
Show options for formulae that are currently installed\. Show options for formulae that are currently installed\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all available formulae and casks, whether installed or not, to show their options\. Evaluate all available formulae and casks, whether installed or not, to show their options\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.TP .TP
\fB\-\-command\fP \fB\-\-command\fP
Show options for the specified \fIcommand\fP\&\. Show options for the specified \fIcommand\fP\&\.
@ -757,7 +757,7 @@ Verify any alias symlinks in each tap\.
Syntax\-check all of Homebrew\[u2019]s Ruby files (if no \fItap\fP is passed)\. Syntax\-check all of Homebrew\[u2019]s Ruby files (if no \fItap\fP is passed)\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all available formulae and casks, whether installed or not\. Implied if \fB$HOMEBREW_EVAL_ALL\fP is set\. Evaluate all available formulae and casks, whether installed or not\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.TP .TP
\fB\-\-no\-simulate\fP \fB\-\-no\-simulate\fP
Don\[u2019]t simulate other system configurations when checking formulae and casks\. Don\[u2019]t simulate other system configurations when checking formulae and casks\.
@ -837,7 +837,7 @@ Search for casks\.
Search for formulae with a description matching \fItext\fP and casks with a name or description matching \fItext\fP\&\. Search for formulae with a description matching \fItext\fP and casks with a name or description matching \fItext\fP\&\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all available formulae and casks, whether installed or not, to search their descriptions\. Implied if \fB$HOMEBREW_EVAL_ALL\fP is set\. Evaluate all available formulae and casks, whether installed or not, to search their descriptions\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.TP .TP
\fB\-\-pull\-request\fP \fB\-\-pull\-request\fP
Search for GitHub pull requests containing \fItext\fP\&\. Search for GitHub pull requests containing \fItext\fP\&\.
@ -960,7 +960,7 @@ Install or change a tap with a custom remote\. Useful for mirrors\.
Add missing symlinks to tap manpages and shell completions\. Correct git remote refs for any taps where upstream HEAD branch has been renamed\. Add missing symlinks to tap manpages and shell completions\. Correct git remote refs for any taps where upstream HEAD branch has been renamed\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all the formulae, casks and aliases in the new tap to check validity\. Implied if \fB$HOMEBREW_EVAL_ALL\fP is set\. Evaluate all formulae, casks and aliases in the new tap to check their validity\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.TP .TP
\fB\-f\fP, \fB\-\-force\fP \fB\-f\fP, \fB\-\-force\fP
Force install core taps even under API mode\. Force install core taps even under API mode\.
@ -1115,7 +1115,7 @@ Only list formulae and casks that are currently installed\.
Only list formulae and casks that are not currently installed\. Only list formulae and casks that are not currently installed\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all available formulae and casks, whether installed or not, to show their dependents\. Evaluate all available formulae and casks, whether installed or not, to show their dependents\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.TP .TP
\fB\-\-include\-implicit\fP \fB\-\-include\-implicit\fP
Include formulae that have \fIformula\fP as an implicit dependency for downloading and unpacking source files\. Include formulae that have \fIformula\fP as an implicit dependency for downloading and unpacking source files\.
@ -1228,7 +1228,7 @@ Run additional, slower style checks that require a network connection\.
Only check formulae and casks that are currently installed\. Only check formulae and casks that are currently installed\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all available formulae and casks, whether installed or not, to audit them\. Implied if \fB$HOMEBREW_EVAL_ALL\fP is set\. Evaluate all available formulae and casks, whether installed or not, to audit them\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.TP .TP
\fB\-\-new\fP \fB\-\-new\fP
Run various additional style checks to determine if a new formula or cask is eligible for Homebrew\. This should be used when creating new formulae or casks and implies \fB\-\-strict\fP and \fB\-\-online\fP\&\. Run various additional style checks to determine if a new formula or cask is eligible for Homebrew\. This should be used when creating new formulae or casks and implies \fB\-\-strict\fP and \fB\-\-online\fP\&\.
@ -1328,7 +1328,7 @@ Check only formulae\.
Check only casks\. Check only casks\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all formulae and casks\. Evaluate all formulae and casks\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.TP .TP
\fB\-\-repology\fP \fB\-\-repology\fP
Use Repology to check for outdated packages\. Use Repology to check for outdated packages\.
@ -2092,7 +2092,7 @@ Print the number of unbottled and total formulae\.
Print the \fBhomebrew/core\fP commits where bottles were lost in the last week\. Print the \fBhomebrew/core\fP commits where bottles were lost in the last week\.
.TP .TP
\fB\-\-eval\-all\fP \fB\-\-eval\-all\fP
Evaluate all available formulae and casks, whether installed or not, to check them\. Implied if \fB$HOMEBREW_EVAL_ALL\fP is set\. Evaluate all available formulae and casks, whether installed or not, to check them\. Enabled by default if \fB$HOMEBREW_EVAL_ALL\fP is set\.
.SS "\fBunpack\fP \fR[\fIoptions\fP] \fIformula\fP \fR[\.\.\.]" .SS "\fBunpack\fP \fR[\fIoptions\fP] \fIformula\fP \fR[\.\.\.]"
Unpack the source files for \fIformula\fP into subdirectories of the current working directory\. Unpack the source files for \fIformula\fP into subdirectories of the current working directory\.
.TP .TP