Class: Homebrew::CLI::Args

Inherits:
OpenStruct
  • Object
show all
Defined in:
cli/args.rbi,
cli/args.rb,
sorbet/rbi/dsl/homebrew/cmd/env.rbi,
sorbet/rbi/dsl/homebrew/cmd/log.rbi,
sorbet/rbi/dsl/homebrew/cmd/pin.rbi,
sorbet/rbi/dsl/homebrew/cli/args.rbi,
sorbet/rbi/dsl/homebrew/cmd/deps.rbi,
sorbet/rbi/dsl/homebrew/cmd/desc.rbi,
sorbet/rbi/dsl/homebrew/cmd/docs.rbi,
sorbet/rbi/dsl/homebrew/cmd/home.rbi,
sorbet/rbi/dsl/homebrew/cmd/info.rbi,
sorbet/rbi/dsl/homebrew/cmd/link.rbi,
sorbet/rbi/dsl/homebrew/cmd/list.rbi,
sorbet/rbi/dsl/homebrew/cmd/uses.rbi,
sorbet/rbi/dsl/homebrew/cmd/cache.rbi,
sorbet/rbi/dsl/homebrew/cmd/unpin.rbi,
sorbet/rbi/dsl/homebrew/cmd/untap.rbi,
sorbet/rbi/dsl/homebrew/cmd/cellar.rbi,
sorbet/rbi/dsl/homebrew/cmd/config.rbi,
sorbet/rbi/dsl/homebrew/cmd/doctor.rbi,
sorbet/rbi/dsl/homebrew/cmd/leaves.rbi,
sorbet/rbi/dsl/homebrew/cmd/prefix.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/sh.rbi,
sorbet/rbi/dsl/homebrew/cmd/migrate.rbi,
sorbet/rbi/dsl/homebrew/cmd/missing.rbi,
sorbet/rbi/dsl/homebrew/cmd/tap_cmd.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/irb.rbi,
sorbet/rbi/dsl/homebrew/cmd/caskroom.rbi,
sorbet/rbi/dsl/homebrew/cmd/help_cmd.rbi,
sorbet/rbi/dsl/homebrew/cmd/outdated.rbi,
sorbet/rbi/dsl/homebrew/cmd/tap_info.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/edit.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/prof.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/ruby.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/test.rbi,
sorbet/rbi/dsl/homebrew/cmd/analytics.rbi,
sorbet/rbi/dsl/homebrew/cmd/developer.rbi,
sorbet/rbi/dsl/homebrew/cmd/fetch_cmd.rbi,
sorbet/rbi/dsl/homebrew/cmd/gist_logs.rbi,
sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi,
sorbet/rbi/dsl/homebrew/cmd/autoremove.rbi,
sorbet/rbi/dsl/homebrew/cmd/pyenv_sync.rbi,
sorbet/rbi/dsl/homebrew/cmd/rbenv_sync.rbi,
sorbet/rbi/dsl/homebrew/cmd/repository.rbi,
sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi,
sorbet/rbi/dsl/homebrew/cmd/unlink_cmd.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/unpack.rbi,
sorbet/rbi/dsl/homebrew/cmd/cleanup_cmd.rbi,
sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi,
sorbet/rbi/dsl/homebrew/cmd/nodenv_sync.rbi,
sorbet/rbi/dsl/homebrew/cmd/options_cmd.rbi,
sorbet/rbi/dsl/homebrew/cmd/postinstall.rbi,
sorbet/rbi/dsl/homebrew/cmd/readall_cmd.rbi,
sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/extract.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/linkage.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/release.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi,
sorbet/rbi/dsl/homebrew/cmd/commands_cmd.rbi,
sorbet/rbi/dsl/homebrew/cmd/uninstall_cmd.rbi,
sorbet/rbi/dsl/homebrew/cmd/update_report.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/pr_upload.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/style_cmd.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/pr_publish.rbi,
sorbet/rbi/dsl/homebrew/cmd/completions_cmd.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/formula_cmd.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/update_test.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/vendor_gems.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/livecheck_cmd.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/update_sponsors.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/generate_cask_api.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/update_maintainers.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/update_license_data.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/generate_formula_api.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/install_bundler_gems.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_casks.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/determine_test_runners.rbi,
sorbet/rbi/dsl/homebrew/cmd/postgresql_upgrade_database.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi,
sorbet/rbi/dsl/homebrew/dev_cmd/generate_man_completions.rbi

Overview

DO NOT EDIT MANUALLY This is an autogenerated file for dynamic methods in Homebrew::DevCmd::GenerateManCompletions. Please instead update this file by running bin/tapioca dsl Homebrew::DevCmd::GenerateManCompletions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializevoid



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'cli/args.rb', line 15

def initialize
  require "cli/named_args"

  super()

  @processed_options = []
  @options_only = []
  @flags_only = []
  @cask_options = false

  # Can set these because they will be overwritten by freeze_named_args!
  # (whereas other values below will only be overwritten if passed).
  self[:named] = NamedArgs.new(parent: self)
  self[:remaining] = []
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_name, *args) ⇒ Object (private)



172
173
174
175
176
177
178
179
180
181
182
# File 'cli/args.rb', line 172

def method_missing(method_name, *args)
  return_value = super

  # Once we are frozen, verify any arg method calls are already defined in the table.
  # The default OpenStruct behaviour is to return nil for anything unknown.
  if frozen? && args.empty? && !@table.key?(method_name)
    raise NoMethodError, "CLI arg for `#{method_name}` is not declared for this command"
  end

  return_value
end

Instance Attribute Details

#flags_onlyObject (readonly)

Returns the value of attribute flags_only.



9
10
11
# File 'cli/args.rb', line 9

def flags_only
  @flags_only
end

#options_onlyObject (readonly)

Returns the value of attribute options_only.



9
10
11
# File 'cli/args.rb', line 9

def options_only
  @options_only
end

Instance Method Details

#add_groupsArray<String>?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/install_bundler_gems.rbi', line 9

def add_groups; end

#adopt?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 9

def adopt?; end

#aliases?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/readall_cmd.rbi', line 9

def aliases?; end

#all_supported?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/determine_test_runners.rbi', line 9

def all_supported?; end

#analytics?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/info.rbi', line 9

def analytics?; end

#annotate?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 12

def annotate?; end

#appdirString?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 12

def appdir; end

#archString?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/cmd/cache.rbi', line 12

def arch; end

#archlinux?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 9

def archlinux?; end

#artifactString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 9

def artifact; end

#artifact_patternString?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 12

def artifact_pattern; end

#audio_unit_plugindirString?

Returns:



15
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 15

def audio_unit_plugindir; end

#audit_debug?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/cmd/doctor.rbi', line 12

def audit_debug?; end

#auto_update?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/update_report.rbi', line 9

def auto_update?; end

#autosquash?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 15

def autosquash?; end

#autotools?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 12

def autotools?; end

#beforeString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_test.rbi', line 9

def before; end

#binaries?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 18

def binaries?; end

#bottle_archString?

Returns:



24
# File 'sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi', line 24

def bottle_arch; end

#bottle_tagString?

Returns:



15
# File 'sorbet/rbi/dsl/homebrew/cmd/cache.rbi', line 15

def bottle_tag; end

#branchString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi', line 9

def branch; end

#branch_okay?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 18

def branch_okay?; end

#build_bottle?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/fetch_cmd.rbi', line 18

def build_bottle?; end

#build_from_source?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/cache.rbi', line 18

def build_from_source?; end

#build_from_source_formulaeObject



70
71
72
73
74
75
76
# File 'cli/args.rb', line 70

def build_from_source_formulae
  if build_from_source? || self[:HEAD?] || self[:build_bottle?]
    named.to_formulae.map(&:full_name)
  else
    []
  end
end

#cString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/sh.rbi', line 9

def c; end

#cached?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/linkage.rbi', line 9

def cached?; end

#cask?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 9

def cask?; end

#casks?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 12

def casks?; end

#categoryString?

Returns:



18
# File 'sorbet/rbi/dsl/homebrew/cmd/info.rbi', line 18

def category; end

#ccString?

Returns:



39
# File 'sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi', line 39

def cc; end

#changed?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi', line 9

def changed?; end

#clean?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 21

def clean?; end

#closed?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 18

def closed?; end

#cmake?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 18

def cmake?; end

#cmdString?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/sh.rbi', line 12

def cmd; end

#colorpickerdirString?

Returns:



30
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 30

def colorpickerdir; end

#commandString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/cmd/options_cmd.rbi', line 9

def command; end

#commitString?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_test.rbi', line 12

def commit; end

#commit?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 9

def commit?; end

#committerString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 9

def committer; end

#compact?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/cmd/options_cmd.rbi', line 12

def compact?; end

#contextContext::ContextStruct



95
96
97
# File 'cli/args.rb', line 95

def context
  Context::ContextStruct.new(debug: debug?, quiet: quiet?, verbose: verbose?)
end

#coverage?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi', line 12

def coverage?; end

#crystal?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 21

def crystal?; end

#csv?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi', line 9

def csv?; end

#custom_remote?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/tap_cmd.rbi', line 9

def custom_remote?; end

#D?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/doctor.rbi', line 9

def D?; end

#daysString?

Returns:



21
# File 'sorbet/rbi/dsl/homebrew/cmd/info.rbi', line 21

def days; end

#debian?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 21

def debian?; end

#debug?Boolean

Returns:

  • (Boolean)


9
# File 'cli/args.rbi', line 9

def debug?; end

#debug_symbols?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 33

def debug_symbols?; end

#declared?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 21

def declared?; end

#dependents?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi', line 9

def dependents?; end

#deps?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/cmd/fetch_cmd.rbi', line 30

def deps?; end

#desc?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 24

def desc?; end

#description?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/cmd/desc.rbi', line 15

def description?; end

#destdirString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/unpack.rbi', line 9

def destdir; end

#dictionarydirString?

Returns:



36
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 36

def dictionarydir; end

#dirString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi', line 9

def dir; end

#direct?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 24

def direct?; end

#display_cop_names?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 24

def display_cop_names?; end

#display_filename?Boolean

Returns:

  • (Boolean)


27
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 27

def display_filename?; end

#display_times?Boolean

Returns:

  • (Boolean)


39
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 39

def display_times?; end

#dot?Boolean

Returns:

  • (Boolean)


27
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 27

def dot?; end

#dry_run?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/cmd/link.rbi', line 12

def dry_run?; end

#eString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/ruby.rbi', line 9

def e; end

#envString?

Returns:



15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/sh.rbi', line 15

def env; end

#eval_all?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 30

def eval_all?; end

#examples?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/irb.rbi', line 9

def examples?; end

#exceptArray<String>?

Returns:



33
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 33

def except; end

#except_copsArray<String>?

Returns:



36
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 36

def except_cops; end

#exclude_packagesArray<String>?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi', line 9

def exclude_packages; end

#extra_packagesArray<String>?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi', line 12

def extra_packages; end

#extract_plist?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/livecheck_cmd.rbi', line 18

def extract_plist?; end

#f?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/cmd/link.rbi', line 15

def f?; end

#fail_fast?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi', line 15

def fail_fast?; end

#fedora?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 30

def fedora?; end

#fetch_HEAD?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/cmd/outdated.rbi', line 15

def fetch_HEAD?; end

#fileString?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi', line 12

def file; end

#fink?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 33

def fink?; end

#fix?Boolean

Returns:

  • (Boolean)


39
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 39

def fix?; end

#fontdirString?

Returns:



45
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 45

def fontdir; end

#for_each?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 33

def for_each?; end

#force?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/link.rbi', line 18

def force?; end

#force_auto_update?String?

Returns:



18
# File 'sorbet/rbi/dsl/homebrew/cmd/tap_cmd.rbi', line 18

def force_auto_update?; end

#force_bottle?Boolean

Returns:

  • (Boolean)


27
# File 'sorbet/rbi/dsl/homebrew/cmd/cache.rbi', line 27

def force_bottle?; end

#force_core_tap?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 12

def force_core_tap?; end

#fork_orgString?

Returns:



21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 21

def fork_org; end

#formula?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 15

def formula?; end

#formulae?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 18

def formulae?; end

#freeze_named_args!(named_args, cask_options:, without_api:) ⇒ Object



35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'cli/args.rb', line 35

def freeze_named_args!(named_args, cask_options:, without_api:)
  options = {}
  options[:force_bottle] = true if self[:force_bottle?]
  options[:override_spec] = :head if self[:HEAD?]
  options[:flags] = flags_only unless flags_only.empty?
  self[:named] = NamedArgs.new(
    *named_args.freeze,
    parent:       self,
    cask_options:,
    without_api:,
    **options,
  )
end

#freeze_processed_options!(processed_options) ⇒ Object



49
50
51
52
53
54
55
56
57
58
# File 'cli/args.rb', line 49

def freeze_processed_options!(processed_options)
  # Reset cache values reliant on processed_options
  @cli_args = nil

  @processed_options += processed_options
  @processed_options.freeze

  @options_only = cli_args.select { |a| a.start_with?("-") }.freeze
  @flags_only = cli_args.select { |a| a.start_with?("--") }.freeze
end

#freeze_remaining_args!(remaining_args) ⇒ Object



31
32
33
# File 'cli/args.rb', line 31

def freeze_remaining_args!(remaining_args)
  self[:remaining] = remaining_args.freeze
end

#fromString?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi', line 12

def from; end

#full_name?Boolean

Returns:

  • (Boolean)


42
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 42

def full_name?; end

#g?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/cmd/outdated.rbi', line 24

def g?; end

#generic?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi', line 18

def generic?; end

#git?Boolean

Returns:

  • (Boolean)


63
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 63

def git?; end

#github?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/cmd/info.rbi', line 33

def github?; end

#github_packages?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi', line 12

def github_packages?; end

#github_packages_downloads?Boolean

Returns:

  • (Boolean)


36
# File 'sorbet/rbi/dsl/homebrew/cmd/info.rbi', line 36

def github_packages_downloads?; end

#go?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 30

def go?; end

#graph?Boolean

Returns:

  • (Boolean)


45
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 45

def graph?; end

#greedy?Boolean

Returns:

  • (Boolean)


27
# File 'sorbet/rbi/dsl/homebrew/cmd/outdated.rbi', line 27

def greedy?; end

#greedy_auto_updates?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/cmd/outdated.rbi', line 30

def greedy_auto_updates?; end

#greedy_latest?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/cmd/outdated.rbi', line 33

def greedy_latest?; end

#groupsArray<String>?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/install_bundler_gems.rbi', line 12

def groups; end

#HEAD?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 9

def HEAD?; end

#help?Boolean

Returns:

  • (Boolean)


12
# File 'cli/args.rbi', line 12

def help?; end

#hideArray<String>?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/cmd/missing.rbi', line 9

def hide; end

#i?Boolean

Returns:

  • (Boolean)


66
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 66

def i?; end

#ignoreString?

Returns:



18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi', line 18

def ignore; end

#ignore_dependencies?Boolean

Returns:

  • (Boolean)


90
# File 'sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi', line 90

def ignore_dependencies?; end

#ignore_failures?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi', line 12

def ignore_failures?; end

#ignore_missing_artifactsArray<String>?

Returns:



30
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 30

def ignore_missing_artifacts; end

#ignore_non_pypi_packages?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi', line 15

def ignore_non_pypi_packages?; end

#ignore_pinned?Boolean

Returns:

  • (Boolean)


78
# File 'sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi', line 78

def ignore_pinned?; end

#include_aliases?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/commands_cmd.rbi', line 9

def include_aliases?; end

#include_build?Boolean

Returns:

  • (Boolean)


48
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 48

def include_build?; end

#include_optional?Boolean

Returns:

  • (Boolean)


51
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 51

def include_optional?; end

#include_requirements?Boolean

Returns:

  • (Boolean)


54
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 54

def include_requirements?; end

#include_test?Boolean

Returns:

  • (Boolean)


57
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 57

def include_test?; end

#include_test_formulaeObject



78
79
80
81
82
83
84
# File 'cli/args.rb', line 78

def include_test_formulae
  if include_test?
    named.to_formulae.map(&:full_name)
  else
    []
  end
end

#input_methoddirString?

Returns:



69
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 69

def input_methoddir; end

#install_dependencies?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi', line 24

def install_dependencies?; end

#installed?Boolean

Returns:

  • (Boolean)


60
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 60

def installed?; end

#installed_as_dependency?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/leaves.rbi', line 9

def installed_as_dependency?; end

#installed_on_request?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/cmd/leaves.rbi', line 12

def installed_on_request?; end

#interactive?Boolean

Returns:

  • (Boolean)


72
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 72

def interactive?; end

#internet_plugindirString?

Returns:



75
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 75

def internet_plugindir; end

#issueString?

Returns:



9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi', line 9

def issue; end

#jsonString?

Returns:



42
# File 'sorbet/rbi/dsl/homebrew/cmd/info.rbi', line 42

def json; end

#json?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 15

def json?; end

#keep_old?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 18

def keep_old?; end

#keep_tmp?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/test.rbi', line 18

def keep_tmp?; end

#keyboard_layoutdirString?

Returns:



81
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 81

def keyboard_layoutdir; end

#l?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/cmd/list.rbi', line 24

def l?; end

#languageArray<String>?

Returns:



84
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 84

def language; end

#large_runner?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_publish.rbi', line 15

def large_runner?; end

#limitString?

Returns:



33
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi', line 33

def limit; end

#linux?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi', line 12

def linux?; end

#linux_self_hosted?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi', line 15

def linux_self_hosted?; end

#linux_wheezy?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi', line 18

def linux_wheezy?; end

#list_checks?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/cmd/doctor.rbi', line 15

def list_checks?; end

#lost?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi', line 15

def lost?; end

#macosArray<String>?

Returns:



21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi', line 21

def macos; end

#macports?Boolean

Returns:

  • (Boolean)


42
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 42

def macports?; end

#major?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/release.rbi', line 9

def major?; end

#max_countString?

Returns:



21
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 21

def max_count; end

#mdimporterdirString?

Returns:



87
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 87

def mdimporterdir; end

#merge?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 21

def merge?; end

#meson?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 33

def meson?; end

#messageString?

Returns:



36
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 36

def message; end

#minor?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/release.rbi', line 12

def minor?; end

#mirrorArray<String>?

Returns:



30
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi', line 30

def mirror; end

#missing?Boolean

Returns:

  • (Boolean)


63
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 63

def missing?; end

#multiple?Boolean

Returns:

  • (Boolean)


27
# File 'sorbet/rbi/dsl/homebrew/cmd/list.rbi', line 27

def multiple?; end

#nString?

Returns:



24
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 24

def n; end

#n?Boolean

Returns:

  • (Boolean)


66
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 66

def n?; end

#name?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/cmd/desc.rbi', line 30

def name?; end

#namedNamedArgs

Returns:



61
62
63
64
# File 'cli/args.rb', line 61

def named
  require "formula"
  self[:named]
end

#new?Boolean

Returns:

  • (Boolean)


54
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 54

def new?; end

#new_cask?Boolean

Returns:

  • (Boolean)


57
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 57

def new_cask?; end

#new_formula?Boolean

Returns:

  • (Boolean)


60
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 60

def new_formula?; end

#new_issue?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/cmd/gist_logs.rbi', line 12

def new_issue?; end

#newer_only?Boolean

Returns:

  • (Boolean)


36
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/livecheck_cmd.rbi', line 36

def newer_only?; end

#no_all_checks?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 24

def no_all_checks?; end

#no_audit?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 30

def no_audit?; end

#no_browse?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 33

def no_browse?; end

#no_cherry_pick?Boolean

Returns:

  • (Boolean)


42
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 42

def no_cherry_pick?; end

#no_commit?Boolean

Returns:

  • (Boolean)


27
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 27

def no_commit?; end

#no_fetch?Boolean

Returns:

  • (Boolean)


36
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 36

def no_fetch?; end

#no_fork?Boolean

Returns:

  • (Boolean)


36
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi', line 36

def no_fork?; end

#no_git?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi', line 15

def no_git?; end

#no_named?Boolean

Returns:

  • (Boolean)


66
67
68
# File 'cli/args.rb', line 66

def no_named?
  named.blank?
end

#no_pull_requests?Boolean

Returns:

  • (Boolean)


39
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi', line 39

def no_pull_requests?; end

#no_rebuild?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 30

def no_rebuild?; end

#no_simulate?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/readall_cmd.rbi', line 18

def no_simulate?; end

#no_style?Boolean

Returns:

  • (Boolean)


39
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 39

def no_style?; end

#no_upload?Boolean

Returns:

  • (Boolean)


48
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 48

def no_upload?; end

#node?Boolean

Returns:

  • (Boolean)


39
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 39

def node?; end

#non_bundler_gems?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/vendor_gems.rbi', line 12

def non_bundler_gems?; end

#oneline?Boolean

Returns:

  • (Boolean)


27
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 27

def oneline?; end

#online?Boolean

Returns:

  • (Boolean)


63
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 63

def online?; end

#onlyString?

Returns:



66
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 66

def only; end

#only_copsArray<String>?

Returns:



69
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 69

def only_cops; end

#only_dependencies?Boolean

Returns:

  • (Boolean)


120
# File 'sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi', line 120

def only_dependencies?; end

#only_formula_or_caskObject



99
100
101
102
103
104
105
# File 'cli/args.rb', line 99

def only_formula_or_cask
  if formula? && !cask?
    :formula
  elsif cask? && !formula?
    :cask
  end
end

#only_json_tab?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 33

def only_json_tab?; end

#open?Boolean

Returns:

  • (Boolean)


45
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 45

def open?; end

#open_pr?Boolean

Returns:

  • (Boolean)


42
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi', line 42

def open_pr?; end

#opensuse?Boolean

Returns:

  • (Boolean)


48
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 48

def opensuse?; end

#osString?

Returns:



36
# File 'sorbet/rbi/dsl/homebrew/cmd/cache.rbi', line 36

def os; end

#os_arch_combinationsArray<Array(Symbol, Symbol)>

Returns:



108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# File 'cli/args.rb', line 108

def os_arch_combinations
  skip_invalid_combinations = false

  oses = case (os_sym = os&.to_sym)
  when nil
    [SimulateSystem.current_os]
  when :all
    skip_invalid_combinations = true

    OnSystem::ALL_OS_OPTIONS
  else
    [os_sym]
  end

  arches = case (arch_sym = arch&.to_sym)
  when nil
    [SimulateSystem.current_arch]
  when :all
    skip_invalid_combinations = true
    OnSystem::ARCH_OPTIONS
  else
    [arch_sym]
  end

  oses.product(arches).select do |os, arch|
    if skip_invalid_combinations
      bottle_tag = Utils::Bottles::Tag.new(system: os, arch:)
      bottle_tag.valid_combination?
    else
      true
    end
  end
end

#overwrite?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/cmd/link.rbi', line 24

def overwrite?; end

#p?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 30

def p?; end

#package_nameString?

Returns:



24
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi', line 24

def package_name; end

#patch?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 33

def patch?; end

#perl?Boolean

Returns:

  • (Boolean)


42
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 42

def perl?; end

#pinned?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/cmd/list.rbi', line 30

def pinned?; end

#plain?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/cmd/env.rbi', line 9

def plain?; end

#prefpanedirString?

Returns:



90
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 90

def prefpanedir; end

#preinstall?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/update_report.rbi', line 18

def preinstall?; end

Returns:

  • (Boolean)


27
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi', line 27

def print_only?; end

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/edit.rbi', line 21

def print_path?; end

#private?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/gist_logs.rbi', line 18

def private?; end

#profileString?

Returns:



27
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi', line 27

def profile; end

#pruneString?

Returns:



15
# File 'sorbet/rbi/dsl/homebrew/cmd/cleanup_cmd.rbi', line 15

def prune; end

#prune_prefix?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/cmd/cleanup_cmd.rbi', line 18

def prune_prefix?; end

#pry?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/irb.rbi', line 12

def pry?; end

#publish?Boolean

Returns:

  • (Boolean)


15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi', line 15

def publish?; end

#pull_labelString?

Returns:



18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi', line 18

def pull_label; end

#pull_request?Boolean

Returns:

  • (Boolean)


51
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 51

def pull_request?; end

#python?Boolean

Returns:

  • (Boolean)


45
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 45

def python?; end

#python_exclude_packagesArray<String>?

Returns:



48
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi', line 48

def python_exclude_packages; end

#python_extra_packagesArray<String>?

Returns:



51
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi', line 51

def python_extra_packages; end

#python_package_nameString?

Returns:



54
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi', line 54

def python_package_name; end

#qlplugindirString?

Returns:



93
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 93

def qlplugindir; end

#quarantine?Boolean

Returns:

  • (Boolean)


51
# File 'sorbet/rbi/dsl/homebrew/cmd/fetch_cmd.rbi', line 51

def quarantine?; end

#quiet?Boolean

Returns:

  • (Boolean)


15
# File 'cli/args.rbi', line 15

def quiet?; end

#rString?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/ruby.rbi', line 12

def r; end

#r?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/cmd/list.rbi', line 33

def r?; end

#recursive?Boolean

Returns:

  • (Boolean)


39
# File 'sorbet/rbi/dsl/homebrew/cmd/uses.rbi', line 39

def recursive?; end

#remove_bottle_block?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi', line 18

def remove_bottle_block?; end

#repair?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/cmd/tap_cmd.rbi', line 21

def repair?; end

#repology?Boolean

Returns:

  • (Boolean)


54
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 54

def repology?; end

#repositoriesArray<String>?

Returns:



15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi', line 15

def repositories; end

#require_sha?Boolean

Returns:

  • (Boolean)


99
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 99

def require_sha?; end

#reset_cache?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/style_cmd.rbi', line 33

def reset_cache?; end

#resolve?Boolean

Returns:

  • (Boolean)


51
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 51

def resolve?; end

#resources?Boolean

Returns:

  • (Boolean)


42
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/livecheck_cmd.rbi', line 42

def resources?; end

#retain_bottle_dir?Boolean

Returns:

  • (Boolean)


54
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 54

def retain_bottle_dir?; end

#retry?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/test.rbi', line 21

def retry?; end

#reverse?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/linkage.rbi', line 12

def reverse?; end

#revisionString?

Returns:



57
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi', line 57

def revision; end

#root_urlString?

Returns:



36
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 36

def root_url; end

#root_url_usingString?

Returns:



39
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 39

def root_url_using; end

#ruby?Boolean

Returns:

  • (Boolean)


48
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 48

def ruby?; end

#rust?Boolean

Returns:

  • (Boolean)


51
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 51

def rust?; end

#s?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/cmd/desc.rbi', line 33

def s?; end

#screen_saverdirString?

Returns:



105
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 105

def screen_saverdir; end

#search?Boolean

Returns:

  • (Boolean)


36
# File 'sorbet/rbi/dsl/homebrew/cmd/desc.rbi', line 36

def search?; end

#seedString?

Returns:



30
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi', line 30

def seed; end

#servicedirString?

Returns:



108
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 108

def servicedir; end

#set_licenseString?

Returns:



54
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 54

def set_license; end

#set_nameString?

Returns:



57
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 57

def set_name; end

#set_versionString?

Returns:



60
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi', line 60

def set_version; end

#sha256String?

Returns:



45
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 45

def sha256; end

#shellString?

Returns:



12
# File 'sorbet/rbi/dsl/homebrew/cmd/env.rbi', line 12

def shell; end

#signing?String?

Returns:



75
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 75

def signing?; end

#silent?Boolean

Returns:

  • (Boolean)


33
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi', line 33

def silent?; end

#skip_cask_deps?Boolean

Returns:

  • (Boolean)


111
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 111

def skip_cask_deps?; end

#skip_post_install?Boolean

Returns:

  • (Boolean)


150
# File 'sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi', line 150

def skip_post_install?; end

#skip_recommended?Boolean

Returns:

  • (Boolean)


69
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 69

def skip_recommended?; end

#skip_relocation?Boolean

Returns:

  • (Boolean)


42
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 42

def skip_relocation?; end

#skip_style?Boolean

Returns:

  • (Boolean)


78
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 78

def skip_style?; end

#stackprof?Boolean

Returns:

  • (Boolean)


9
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/prof.rbi', line 9

def stackprof?; end

#start_withString?

Returns:



45
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi', line 45

def start_with; end

#stat?Boolean

Returns:

  • (Boolean)


36
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 36

def stat?; end

#state_fileString?

Returns:



18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_casks.rbi', line 18

def state_file; end

#strict?Boolean

Returns:

  • (Boolean)


81
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 81

def strict?; end

#suggest_typed?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi', line 21

def suggest_typed?; end

#syntax?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/cmd/readall_cmd.rbi', line 24

def syntax?; end

#t?Boolean

Returns:

  • (Boolean)


36
# File 'sorbet/rbi/dsl/homebrew/cmd/list.rbi', line 36

def t?; end

#tagString?

Returns:



18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi', line 18

def tag; end

#tapString?

Returns:



48
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi', line 48

def tap; end

#test?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/linkage.rbi', line 18

def test?; end

#timeoutString?

Returns:



27
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi', line 27

def timeout; end

#toString?

Returns:



18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi', line 18

def to; end

#to_tag?Boolean

Returns:

  • (Boolean)


18
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_test.rbi', line 18

def to_tag?; end

#token_conflicts?Boolean

Returns:

  • (Boolean)


87
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi', line 87

def token_conflicts?; end

#topological?Boolean

Returns:

  • (Boolean)


72
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 72

def topological?; end

#total?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi', line 21

def total?; end

#tree?Boolean

Returns:

  • (Boolean)


75
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 75

def tree?; end

#u?Boolean

Returns:

  • (Boolean)


39
# File 'sorbet/rbi/dsl/homebrew/cmd/log.rbi', line 39

def u?; end

#ubuntu?Boolean

Returns:

  • (Boolean)


57
# File 'sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi', line 57

def ubuntu?; end

#unbrewed?Boolean

Returns:

  • (Boolean)


12
# File 'sorbet/rbi/dsl/homebrew/cmd/prefix.rbi', line 12

def unbrewed?; end

#union?Boolean

Returns:

  • (Boolean)


78
# File 'sorbet/rbi/dsl/homebrew/cmd/deps.rbi', line 78

def union?; end

#updateArray<String>?

Returns:



15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/vendor_gems.rbi', line 15

def update; end

#update?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi', line 24

def update?; end

#update_all?Boolean

Returns:

  • (Boolean)


27
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi', line 27

def update_all?; end

#upload?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi', line 30

def upload?; end

#upload_only?Boolean

Returns:

  • (Boolean)


30
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_upload.rbi', line 30

def upload_only?; end

#urlString?

Returns:



48
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 48

def url; end

#userArray<String>?

Returns:



21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi', line 21

def user; end

#value(name) ⇒ Object



86
87
88
89
90
91
92
# File 'cli/args.rb', line 86

def value(name)
  arg_prefix = "--#{name}="
  flag_with_value = flags_only.find { |arg| arg.start_with?(arg_prefix) }
  return unless flag_with_value

  flag_with_value.delete_prefix(arg_prefix)
end

#variations?Boolean

Returns:

  • (Boolean)


45
# File 'sorbet/rbi/dsl/homebrew/cmd/info.rbi', line 45

def variations?; end

#verbose?Boolean

Returns:

  • (Boolean)


18
# File 'cli/args.rbi', line 18

def verbose?; end

#versionString?

Returns:



15
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/extract.rbi', line 15

def version; end

#version_armString?

Returns:



54
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 54

def version_arm; end

#version_intelString?

Returns:



57
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 57

def version_intel; end

#versions?Boolean

Returns:

  • (Boolean)


39
# File 'sorbet/rbi/dsl/homebrew/cmd/list.rbi', line 39

def versions?; end

#vst3_plugindirString?

Returns:



114
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 114

def vst3_plugindir; end

#vst_plugindirString?

Returns:



117
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 117

def vst_plugindir; end

#warn_on_upload_failure?Boolean

Returns:

  • (Boolean)


66
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 66

def warn_on_upload_failure?; end

#with_hostname?Boolean

Returns:

  • (Boolean)


21
# File 'sorbet/rbi/dsl/homebrew/cmd/gist_logs.rbi', line 21

def with_hostname?; end

#with_labelString?

Returns:



21
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi', line 21

def with_label; end

#without_approval?Boolean

Returns:

  • (Boolean)


24
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi', line 24

def without_approval?; end

#without_labelsArray<String>?

Returns:



27
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi', line 27

def without_labels; end

#workflowString?

Returns:



24
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_publish.rbi', line 24

def workflow; end

#workflowsArray<String>?

Returns:



69
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi', line 69

def workflows; end

#write?Boolean

Returns:

  • (Boolean)


45
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi', line 45

def write?; end

#write_only?Boolean

Returns:

  • (Boolean)


60
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi', line 60

def write_only?; end

#zap?Boolean

Returns:

  • (Boolean)


120
# File 'sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi', line 120

def zap?; end