From 7bfa5527020fc345eb69e67f5528b47e27889721 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sun, 21 Apr 2024 16:15:57 -0700 Subject: [PATCH 1/2] Individually namespace args for each command --- Library/Homebrew/abstract_command.rb | 4 ++++ Library/Homebrew/cask/config.rb | 1 + Library/Homebrew/cli/args.rbi | 21 +++++++++++++++++++ Library/Homebrew/cli/parser.rb | 2 +- Library/Homebrew/dev-cmd/typecheck.rb | 3 ++- .../Homebrew/sorbet/tapioca/compilers/args.rb | 10 ++++++--- 6 files changed, 36 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/abstract_command.rb b/Library/Homebrew/abstract_command.rb index c82eef77bde8c..9d11837cc1942 100644 --- a/Library/Homebrew/abstract_command.rb +++ b/Library/Homebrew/abstract_command.rb @@ -19,6 +19,9 @@ class AbstractCommand abstract! class << self + sig { returns(T.nilable(T.class_of(CLI::Args))) } + attr_reader :args_class + sig { returns(String) } def command_name = Utils.underscore(T.must(name).split("::").fetch(-1)).tr("_", "-").delete_suffix("-cmd") @@ -37,6 +40,7 @@ def parser = CLI::Parser.new(self, &@parser_block) sig { params(block: T.proc.bind(CLI::Parser).void).void } def cmd_args(&block) @parser_block = T.let(block, T.nilable(T.proc.void)) + @args_class = T.let(const_set(:Args, Class.new(CLI::Args)), T.nilable(T.class_of(CLI::Args))) end end diff --git a/Library/Homebrew/cask/config.rb b/Library/Homebrew/cask/config.rb index 37854d8ec59ec..5b69ddf79a2bd 100644 --- a/Library/Homebrew/cask/config.rb +++ b/Library/Homebrew/cask/config.rb @@ -38,6 +38,7 @@ def self.defaults sig { params(args: Homebrew::CLI::Args).returns(T.attached_class) } def self.from_args(args) + args = T.unsafe(args) new(explicit: { appdir: args.appdir, keyboard_layoutdir: args.keyboard_layoutdir, diff --git a/Library/Homebrew/cli/args.rbi b/Library/Homebrew/cli/args.rbi index ad016c67da567..11451fdb558e7 100644 --- a/Library/Homebrew/cli/args.rbi +++ b/Library/Homebrew/cli/args.rbi @@ -19,4 +19,25 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def verbose?; end + + # FIXME: The methods below are not defined by Args, but are valid because Args inherits from OpenStruct + # We should instead be using type guards to check if the method is defined on the object before calling it + + sig { returns(T.nilable(String)) } + def arch; end + + sig { returns(T::Boolean) } + def build_from_source?; end + + sig { returns(T::Boolean) } + def cask?; end + + sig { returns(T::Boolean) } + def formula?; end + + sig { returns(T::Boolean) } + def include_test?; end + + sig { returns(T.nilable(String)) } + def os; end end diff --git a/Library/Homebrew/cli/parser.rb b/Library/Homebrew/cli/parser.rb index 72498a75fb461..cbcd5d763cef8 100644 --- a/Library/Homebrew/cli/parser.rb +++ b/Library/Homebrew/cli/parser.rb @@ -152,7 +152,7 @@ def initialize(cmd = nil, &block) # Disable default handling of `--help` switch. @parser.base.long.delete("help") - @args = T.let(Homebrew::CLI::Args.new, Homebrew::CLI::Args) + @args = T.let((cmd&.args_class || Args).new, Args) if cmd @command_name = T.let(cmd.command_name, String) diff --git a/Library/Homebrew/dev-cmd/typecheck.rb b/Library/Homebrew/dev-cmd/typecheck.rb index 71fc1f914e59f..46fa968a0af99 100644 --- a/Library/Homebrew/dev-cmd/typecheck.rb +++ b/Library/Homebrew/dev-cmd/typecheck.rb @@ -48,7 +48,8 @@ def run HOMEBREW_LIBRARY_PATH.cd do if update - safe_system "bundle", "exec", "tapioca", "dsl" + workers = args.debug? ? ["--workers=1"] : [] + safe_system "bundle", "exec", "tapioca", "dsl", *workers # Prefer adding args here: Library/Homebrew/sorbet/tapioca/config.yml tapioca_args = args.update_all? ? ["--all"] : [] diff --git a/Library/Homebrew/sorbet/tapioca/compilers/args.rb b/Library/Homebrew/sorbet/tapioca/compilers/args.rb index d0644d70abaea..474eeaac2147a 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/args.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/args.rb @@ -38,9 +38,13 @@ def decorate end end else - root.create_path(Homebrew::CLI::Args) do |klass| - parser = T.cast(constant, T.class_of(Homebrew::AbstractCommand)).parser - create_args_methods(klass, parser) + cmd = T.cast(constant, T.class_of(Homebrew::AbstractCommand)) + args_class_name = T.must(T.must(cmd.args_class).name) + root.create_class(args_class_name, superclass_name: "Homebrew::CLI::Args") do |klass| + create_args_methods(klass, cmd.parser) + end + root.create_path(constant) do |klass| + klass.create_method("args", return_type: args_class_name) end end end From 1980e62319e68f4eea4fe91f348dde743212c22d Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sun, 21 Apr 2024 16:16:20 -0700 Subject: [PATCH 2/2] brew tc --update --- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/analytics.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/autoremove.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cache.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/caskroom.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cellar.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/cleanup_cmd.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/commands_cmd.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/cmd/completions_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/config.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/deps.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/desc.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/developer.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/docs.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/doctor.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/env.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/fetch_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/gist_logs.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/help_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/home.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/info.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/leaves.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/link.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/list.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/log.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/migrate.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/missing.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/nodenv_sync.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/options_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/outdated.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/pin.rbi | 7 ++++++- .../rbi/dsl/homebrew/cmd/postgresql_upgrade_database.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/postinstall.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/prefix.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/pyenv_sync.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/rbenv_sync.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/readall_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/repository.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_info.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/uninstall_cmd.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/unlink_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/unpin.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/untap.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_report.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/uses.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi | 7 ++++++- .../rbi/dsl/homebrew/dev_cmd/bump_unversioned_casks.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi | 7 ++++++- .../rbi/dsl/homebrew/dev_cmd/determine_test_runners.rbi | 7 ++++++- .../rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/edit.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/extract.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/formula_cmd.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/generate_cask_api.rbi | 7 ++++++- .../rbi/dsl/homebrew/dev_cmd/generate_formula_api.rbi | 7 ++++++- .../rbi/dsl/homebrew/dev_cmd/generate_man_completions.rbi | 7 ++++++- .../rbi/dsl/homebrew/dev_cmd/install_bundler_gems.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/irb.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/linkage.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/livecheck_cmd.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/pr_publish.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_upload.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/prof.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/release.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/ruby.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/sh.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/style_cmd.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/test.rbi | 7 ++++++- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi | 7 ++++++- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unpack.rbi | 7 ++++++- .../rbi/dsl/homebrew/dev_cmd/update_license_data.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/update_maintainers.rbi | 7 ++++++- .../rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/update_sponsors.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/update_test.rbi | 7 ++++++- .../sorbet/rbi/dsl/homebrew/dev_cmd/vendor_gems.rbi | 7 ++++++- 93 files changed, 558 insertions(+), 93 deletions(-) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/analytics.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/analytics.rbi index d496f91c546c7..72242d386bea0 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/analytics.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/analytics.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Analytics`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Analytics`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Analytics + sig { returns(Homebrew::Cmd::Analytics::Args) } + def args; end +end + +class Homebrew::Cmd::Analytics::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/autoremove.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/autoremove.rbi index 8a7b4aad80cb6..50005dce0cfe2 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/autoremove.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/autoremove.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Autoremove`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Autoremove`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Autoremove + sig { returns(Homebrew::Cmd::Autoremove::Args) } + def args; end +end + +class Homebrew::Cmd::Autoremove::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def dry_run?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cache.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cache.rbi index eacc7d74bb15f..940357ae4fc81 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cache.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cache.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Cache`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Cache`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Cache + sig { returns(Homebrew::Cmd::Cache::Args) } + def args; end +end + +class Homebrew::Cmd::Cache::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def HEAD?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/caskroom.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/caskroom.rbi index eb4ba9c680f24..46894aa2fc481 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/caskroom.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/caskroom.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Caskroom`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Caskroom`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Caskroom + sig { returns(Homebrew::Cmd::Caskroom::Args) } + def args; end +end + +class Homebrew::Cmd::Caskroom::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cellar.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cellar.rbi index 24f5600ac9a64..d85cc4346bfe1 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cellar.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cellar.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Cellar`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Cellar`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Cellar + sig { returns(Homebrew::Cmd::Cellar::Args) } + def args; end +end + +class Homebrew::Cmd::Cellar::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cleanup_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cleanup_cmd.rbi index 79e3eb89c0719..1ba192edf1a84 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cleanup_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/cleanup_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::CleanupCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::CleanupCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::CleanupCmd + sig { returns(Homebrew::Cmd::CleanupCmd::Args) } + def args; end +end + +class Homebrew::Cmd::CleanupCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def dry_run?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/commands_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/commands_cmd.rbi index 0fd4c2534f807..94d07bc0592ea 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/commands_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/commands_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::CommandsCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::CommandsCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::CommandsCmd + sig { returns(Homebrew::Cmd::CommandsCmd::Args) } + def args; end +end + +class Homebrew::Cmd::CommandsCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def include_aliases?; end end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/completions_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/completions_cmd.rbi index af913b74847e5..d9de261da56f0 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/completions_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/completions_cmd.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::CompletionsCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::CompletionsCmd`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::CompletionsCmd + sig { returns(Homebrew::Cmd::CompletionsCmd::Args) } + def args; end +end + +class Homebrew::Cmd::CompletionsCmd::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/config.rbi index 526c2d2e1de9e..3ae8b22507635 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/config.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/config.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Config`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Config`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Config + sig { returns(Homebrew::Cmd::Config::Args) } + def args; end +end + +class Homebrew::Cmd::Config::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/deps.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/deps.rbi index e817bdcc1ed4e..032a6215699e5 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/deps.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/deps.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Deps`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Deps`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Deps + sig { returns(Homebrew::Cmd::Deps::Args) } + def args; end +end + +class Homebrew::Cmd::Deps::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def HEAD?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/desc.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/desc.rbi index 6c23eb9b34b88..a32eee082fd9c 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/desc.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/desc.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Desc`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Desc`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Desc + sig { returns(Homebrew::Cmd::Desc::Args) } + def args; end +end + +class Homebrew::Cmd::Desc::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/developer.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/developer.rbi index 168eb49c3384c..d2c60ba163ba2 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/developer.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/developer.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Developer`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Developer`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Developer + sig { returns(Homebrew::Cmd::Developer::Args) } + def args; end +end + +class Homebrew::Cmd::Developer::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/docs.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/docs.rbi index 539fd98a12da3..3db3a5e29452b 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/docs.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/docs.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Docs`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Docs`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Docs + sig { returns(Homebrew::Cmd::Docs::Args) } + def args; end +end + +class Homebrew::Cmd::Docs::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/doctor.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/doctor.rbi index cc52a9410f809..88cb59b468f81 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/doctor.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/doctor.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Doctor`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Doctor`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Doctor + sig { returns(Homebrew::Cmd::Doctor::Args) } + def args; end +end + +class Homebrew::Cmd::Doctor::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def D?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/env.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/env.rbi index 2602bb05ce8c0..063f6fe0cbe1f 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/env.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/env.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Env`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Env`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Env + sig { returns(Homebrew::Cmd::Env::Args) } + def args; end +end + +class Homebrew::Cmd::Env::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def plain?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/fetch_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/fetch_cmd.rbi index 47654e9dcf5ba..6f8dca3581ac7 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/fetch_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/fetch_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::FetchCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::FetchCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::FetchCmd + sig { returns(Homebrew::Cmd::FetchCmd::Args) } + def args; end +end + +class Homebrew::Cmd::FetchCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def HEAD?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/gist_logs.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/gist_logs.rbi index 16027807346b7..a87797a4f677f 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/gist_logs.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/gist_logs.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::GistLogs`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::GistLogs`. -class Homebrew::CLI::Args +class Homebrew::Cmd::GistLogs + sig { returns(Homebrew::Cmd::GistLogs::Args) } + def args; end +end + +class Homebrew::Cmd::GistLogs::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def n?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/help_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/help_cmd.rbi index bba165056a24f..381c96f16fd9b 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/help_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/help_cmd.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::HelpCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::HelpCmd`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::HelpCmd + sig { returns(Homebrew::Cmd::HelpCmd::Args) } + def args; end +end + +class Homebrew::Cmd::HelpCmd::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/home.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/home.rbi index 641e31c0ed96c..f1c3153d3cdcd 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/home.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/home.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Home`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Home`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Home + sig { returns(Homebrew::Cmd::Home::Args) } + def args; end +end + +class Homebrew::Cmd::Home::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/info.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/info.rbi index 40249a580bee0..ac2c212624d81 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/info.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/info.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Info`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Info`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Info + sig { returns(Homebrew::Cmd::Info::Args) } + def args; end +end + +class Homebrew::Cmd::Info::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def analytics?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi index fd1743330dea4..b7982882748d7 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::InstallCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::InstallCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::InstallCmd + sig { returns(Homebrew::Cmd::InstallCmd::Args) } + def args; end +end + +class Homebrew::Cmd::InstallCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def HEAD?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/leaves.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/leaves.rbi index 1fa72d70fdf20..bbbbc0641eeea 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/leaves.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/leaves.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Leaves`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Leaves`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Leaves + sig { returns(Homebrew::Cmd::Leaves::Args) } + def args; end +end + +class Homebrew::Cmd::Leaves::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def installed_as_dependency?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/link.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/link.rbi index 40d33751febe7..bf6301ba3cee7 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/link.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/link.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Link`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Link`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Link + sig { returns(Homebrew::Cmd::Link::Args) } + def args; end +end + +class Homebrew::Cmd::Link::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def HEAD?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/list.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/list.rbi index a5b8ec328e373..30f707efbb589 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/list.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/list.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::List`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::List`. -class Homebrew::CLI::Args +class Homebrew::Cmd::List + sig { returns(Homebrew::Cmd::List::Args) } + def args; end +end + +class Homebrew::Cmd::List::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/log.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/log.rbi index 8d5115755e18d..bc5430ddac0b2 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/log.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/log.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Log`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Log`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Log + sig { returns(Homebrew::Cmd::Log::Args) } + def args; end +end + +class Homebrew::Cmd::Log::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/migrate.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/migrate.rbi index cbf369859c52c..2bc1823664361 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/migrate.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/migrate.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Migrate`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Migrate`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Migrate + sig { returns(Homebrew::Cmd::Migrate::Args) } + def args; end +end + +class Homebrew::Cmd::Migrate::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/missing.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/missing.rbi index 6bb5bec5aa61c..4a357b5f5afba 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/missing.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/missing.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Missing`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Missing`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Missing + sig { returns(Homebrew::Cmd::Missing::Args) } + def args; end +end + +class Homebrew::Cmd::Missing::Args < Homebrew::CLI::Args sig { returns(T.nilable(T::Array[String])) } def hide; end end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/nodenv_sync.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/nodenv_sync.rbi index ff38454ccafc7..0cabaa6bbf18a 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/nodenv_sync.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/nodenv_sync.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::NodenvSync`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::NodenvSync`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::NodenvSync + sig { returns(Homebrew::Cmd::NodenvSync::Args) } + def args; end +end + +class Homebrew::Cmd::NodenvSync::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/options_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/options_cmd.rbi index f603902f96203..80910bdde2878 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/options_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/options_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::OptionsCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::OptionsCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::OptionsCmd + sig { returns(Homebrew::Cmd::OptionsCmd::Args) } + def args; end +end + +class Homebrew::Cmd::OptionsCmd::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def command; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/outdated.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/outdated.rbi index 4613bd98f71ef..481970e6d1dea 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/outdated.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/outdated.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Outdated`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Outdated`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Outdated + sig { returns(Homebrew::Cmd::Outdated::Args) } + def args; end +end + +class Homebrew::Cmd::Outdated::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/pin.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/pin.rbi index 9f477325e2311..1befcaadb6e3b 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/pin.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/pin.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Pin`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Pin`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Pin + sig { returns(Homebrew::Cmd::Pin::Args) } + def args; end +end + +class Homebrew::Cmd::Pin::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/postgresql_upgrade_database.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/postgresql_upgrade_database.rbi index 7504382d18f7f..5d90e72a26c8b 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/postgresql_upgrade_database.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/postgresql_upgrade_database.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::PostgresqlUpgradeDatabase`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::PostgresqlUpgradeDatabase`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::PostgresqlUpgradeDatabase + sig { returns(Homebrew::Cmd::PostgresqlUpgradeDatabase::Args) } + def args; end +end + +class Homebrew::Cmd::PostgresqlUpgradeDatabase::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/postinstall.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/postinstall.rbi index ec4a10984b581..45e80125dc5d1 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/postinstall.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/postinstall.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Postinstall`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Postinstall`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Postinstall + sig { returns(Homebrew::Cmd::Postinstall::Args) } + def args; end +end + +class Homebrew::Cmd::Postinstall::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/prefix.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/prefix.rbi index 3810a94f98f72..8492c5a4b82e9 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/prefix.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/prefix.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Prefix`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Prefix`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Prefix + sig { returns(Homebrew::Cmd::Prefix::Args) } + def args; end +end + +class Homebrew::Cmd::Prefix::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def installed?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/pyenv_sync.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/pyenv_sync.rbi index 2f96bcc70cc61..2f5e0e55f0cae 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/pyenv_sync.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/pyenv_sync.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::PyenvSync`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::PyenvSync`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::PyenvSync + sig { returns(Homebrew::Cmd::PyenvSync::Args) } + def args; end +end + +class Homebrew::Cmd::PyenvSync::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/rbenv_sync.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/rbenv_sync.rbi index 7b53503b0956b..a6487ea51750d 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/rbenv_sync.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/rbenv_sync.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::RbenvSync`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::RbenvSync`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::RbenvSync + sig { returns(Homebrew::Cmd::RbenvSync::Args) } + def args; end +end + +class Homebrew::Cmd::RbenvSync::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/readall_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/readall_cmd.rbi index 0fb752086d865..cb901236660f0 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/readall_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/readall_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::ReadallCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::ReadallCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::ReadallCmd + sig { returns(Homebrew::Cmd::ReadallCmd::Args) } + def args; end +end + +class Homebrew::Cmd::ReadallCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def aliases?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi index ea8ee9464821b..a9815cce95ae0 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Reinstall`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Reinstall`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Reinstall + sig { returns(Homebrew::Cmd::Reinstall::Args) } + def args; end +end + +class Homebrew::Cmd::Reinstall::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def adopt?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/repository.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/repository.rbi index f9a8b655abe1a..e907f1aa31171 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/repository.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/repository.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Repository`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Repository`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Repository + sig { returns(Homebrew::Cmd::Repository::Args) } + def args; end +end + +class Homebrew::Cmd::Repository::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi index f106b19b09f91..9e01098d49906 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/search_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::SearchCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::SearchCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::SearchCmd + sig { returns(Homebrew::Cmd::SearchCmd::Args) } + def args; end +end + +class Homebrew::Cmd::SearchCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def archlinux?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_cmd.rbi index 2b0e5e2a08ea5..ea701845e0ac1 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::TapCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::TapCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::TapCmd + sig { returns(Homebrew::Cmd::TapCmd::Args) } + def args; end +end + +class Homebrew::Cmd::TapCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def custom_remote?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_info.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_info.rbi index e57d0e270fad3..a14a355b1cf97 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_info.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/tap_info.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::TapInfo`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::TapInfo`. -class Homebrew::CLI::Args +class Homebrew::Cmd::TapInfo + sig { returns(Homebrew::Cmd::TapInfo::Args) } + def args; end +end + +class Homebrew::Cmd::TapInfo::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def installed?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/uninstall_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/uninstall_cmd.rbi index e7211a0374295..e1c33f4f0b242 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/uninstall_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/uninstall_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::UninstallCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::UninstallCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::UninstallCmd + sig { returns(Homebrew::Cmd::UninstallCmd::Args) } + def args; end +end + +class Homebrew::Cmd::UninstallCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/unlink_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/unlink_cmd.rbi index 932b24c3f8fb4..b45af9cd05d37 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/unlink_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/unlink_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::UnlinkCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::UnlinkCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::UnlinkCmd + sig { returns(Homebrew::Cmd::UnlinkCmd::Args) } + def args; end +end + +class Homebrew::Cmd::UnlinkCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def dry_run?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/unpin.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/unpin.rbi index 512051dc7e624..bfa92e8940dcb 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/unpin.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/unpin.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Unpin`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Unpin`. -class Homebrew::CLI::Args; end +class Homebrew::Cmd::Unpin + sig { returns(Homebrew::Cmd::Unpin::Args) } + def args; end +end + +class Homebrew::Cmd::Unpin::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/untap.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/untap.rbi index 4529a15ce4cff..4845b253be19f 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/untap.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/untap.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Untap`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Untap`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Untap + sig { returns(Homebrew::Cmd::Untap::Args) } + def args; end +end + +class Homebrew::Cmd::Untap::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def f?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_report.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_report.rbi index 126a704671095..fda2c973a7728 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_report.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_report.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::UpdateReport`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::UpdateReport`. -class Homebrew::CLI::Args +class Homebrew::Cmd::UpdateReport + sig { returns(Homebrew::Cmd::UpdateReport::Args) } + def args; end +end + +class Homebrew::Cmd::UpdateReport::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def auto_update?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi index 6066de8f4974e..be1ec458cbd9c 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::UpgradeCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::UpgradeCmd`. -class Homebrew::CLI::Args +class Homebrew::Cmd::UpgradeCmd + sig { returns(Homebrew::Cmd::UpgradeCmd::Args) } + def args; end +end + +class Homebrew::Cmd::UpgradeCmd::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def appdir; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/uses.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/uses.rbi index 4cc16b0dafb87..48793b786a87f 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/uses.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/uses.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::Cmd::Uses`. # Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::Uses`. -class Homebrew::CLI::Args +class Homebrew::Cmd::Uses + sig { returns(Homebrew::Cmd::Uses::Args) } + def args; end +end + +class Homebrew::Cmd::Uses::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi index 16e74567eddfa..c86d4071ab949 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Audit`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Audit`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Audit + sig { returns(Homebrew::DevCmd::Audit::Args) } + def args; end +end + +class Homebrew::DevCmd::Audit::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def D?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi index 045967d4ea48a..9f3c5df3c7250 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Bottle`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Bottle`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Bottle + sig { returns(Homebrew::DevCmd::Bottle::Args) } + def args; end +end + +class Homebrew::DevCmd::Bottle::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def committer; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi index dbd7f2470388f..84c6f89a5423b 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Bump`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Bump`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Bump + sig { returns(Homebrew::DevCmd::Bump::Args) } + def args; end +end + +class Homebrew::DevCmd::Bump::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi index a6e5bc2f25f17..a1f2a81a3dcaf 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::BumpCaskPr`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::BumpCaskPr`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::BumpCaskPr + sig { returns(Homebrew::DevCmd::BumpCaskPr::Args) } + def args; end +end + +class Homebrew::DevCmd::BumpCaskPr::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def commit?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi index 9ba7ec160a600..b184ec45bc951 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::BumpFormulaPr`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::BumpFormulaPr`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::BumpFormulaPr + sig { returns(Homebrew::DevCmd::BumpFormulaPr::Args) } + def args; end +end + +class Homebrew::DevCmd::BumpFormulaPr::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def commit?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi index 175d5c940e4fe..5c56fafaa32ec 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::BumpRevision`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::BumpRevision`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::BumpRevision + sig { returns(Homebrew::DevCmd::BumpRevision::Args) } + def args; end +end + +class Homebrew::DevCmd::BumpRevision::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def dry_run?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_casks.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_casks.rbi index 5709f4db42cc6..b6a8aab025cf0 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_casks.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_casks.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::BumpUnversionedCasks`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::BumpUnversionedCasks`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::BumpUnversionedCasks + sig { returns(Homebrew::DevCmd::BumpUnversionedCasks::Args) } + def args; end +end + +class Homebrew::DevCmd::BumpUnversionedCasks::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def dry_run?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi index a52441a6f1162..ca114eb63d326 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Cat`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Cat`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Cat + sig { returns(Homebrew::DevCmd::Cat::Args) } + def args; end +end + +class Homebrew::DevCmd::Cat::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi index 71834973bbca9..ce831184e6a98 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Command`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Command`. -class Homebrew::CLI::Args; end +class Homebrew::DevCmd::Command + sig { returns(Homebrew::DevCmd::Command::Args) } + def args; end +end + +class Homebrew::DevCmd::Command::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi index 9a75800e096b8..197c0558916d8 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Contributions`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Contributions`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Contributions + sig { returns(Homebrew::DevCmd::Contributions::Args) } + def args; end +end + +class Homebrew::DevCmd::Contributions::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def csv?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi index 3bf567dd0ee59..18ae0fd232bbf 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Create`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Create`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Create + sig { returns(Homebrew::DevCmd::Create::Args) } + def args; end +end + +class Homebrew::DevCmd::Create::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def HEAD?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/determine_test_runners.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/determine_test_runners.rbi index d8a99b6b8668a..4a93a6f05fb15 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/determine_test_runners.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/determine_test_runners.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::DetermineTestRunners`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::DetermineTestRunners`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::DetermineTestRunners + sig { returns(Homebrew::DevCmd::DetermineTestRunners::Args) } + def args; end +end + +class Homebrew::DevCmd::DetermineTestRunners::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def all_supported?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi index dd03bcc1546ef..bd0a9aef16d11 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/dispatch_build_bottle.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::DispatchBuildBottle`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::DispatchBuildBottle`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::DispatchBuildBottle + sig { returns(Homebrew::DevCmd::DispatchBuildBottle::Args) } + def args; end +end + +class Homebrew::DevCmd::DispatchBuildBottle::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def issue; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/edit.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/edit.rbi index 15ca3ae4fc481..1babb63b180fa 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/edit.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/edit.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Edit`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Edit`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Edit + sig { returns(Homebrew::DevCmd::Edit::Args) } + def args; end +end + +class Homebrew::DevCmd::Edit::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/extract.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/extract.rbi index 017ea79baf218..2ef817ac1acb7 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/extract.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/extract.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Extract`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Extract`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Extract + sig { returns(Homebrew::DevCmd::Extract::Args) } + def args; end +end + +class Homebrew::DevCmd::Extract::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def f?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/formula_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/formula_cmd.rbi index bd2cede936ada..678bb45e749f7 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/formula_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/formula_cmd.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::FormulaCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::FormulaCmd`. -class Homebrew::CLI::Args; end +class Homebrew::DevCmd::FormulaCmd + sig { returns(Homebrew::DevCmd::FormulaCmd::Args) } + def args; end +end + +class Homebrew::DevCmd::FormulaCmd::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_cask_api.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_cask_api.rbi index d0dd1e83291fb..69abcf6544294 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_cask_api.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_cask_api.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::GenerateCaskApi`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::GenerateCaskApi`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::GenerateCaskApi + sig { returns(Homebrew::DevCmd::GenerateCaskApi::Args) } + def args; end +end + +class Homebrew::DevCmd::GenerateCaskApi::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def dry_run?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_formula_api.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_formula_api.rbi index 8ec0dcb09d906..fab1cf330efea 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_formula_api.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_formula_api.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::GenerateFormulaApi`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::GenerateFormulaApi`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::GenerateFormulaApi + sig { returns(Homebrew::DevCmd::GenerateFormulaApi::Args) } + def args; end +end + +class Homebrew::DevCmd::GenerateFormulaApi::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def dry_run?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_man_completions.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_man_completions.rbi index 9bb5731d42f60..66c53bf45d398 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_man_completions.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/generate_man_completions.rbi @@ -4,4 +4,9 @@ # 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`. -class Homebrew::CLI::Args; end +class Homebrew::DevCmd::GenerateManCompletions + sig { returns(Homebrew::DevCmd::GenerateManCompletions::Args) } + def args; end +end + +class Homebrew::DevCmd::GenerateManCompletions::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/install_bundler_gems.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/install_bundler_gems.rbi index e1ae0f4d107f5..f1924a85b7cf3 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/install_bundler_gems.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/install_bundler_gems.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::InstallBundlerGems`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::InstallBundlerGems`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::InstallBundlerGems + sig { returns(Homebrew::DevCmd::InstallBundlerGems::Args) } + def args; end +end + +class Homebrew::DevCmd::InstallBundlerGems::Args < Homebrew::CLI::Args sig { returns(T.nilable(T::Array[String])) } def add_groups; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/irb.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/irb.rbi index 0355473a06e27..658d40e85fb0c 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/irb.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/irb.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Irb`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Irb`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Irb + sig { returns(Homebrew::DevCmd::Irb::Args) } + def args; end +end + +class Homebrew::DevCmd::Irb::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def examples?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/linkage.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/linkage.rbi index 1ef48c8010254..a6d8b04c5dfde 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/linkage.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/linkage.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Linkage`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Linkage`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Linkage + sig { returns(Homebrew::DevCmd::Linkage::Args) } + def args; end +end + +class Homebrew::DevCmd::Linkage::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cached?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/livecheck_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/livecheck_cmd.rbi index 00c63e7a94778..c7ba2ca52682c 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/livecheck_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/livecheck_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::LivecheckCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::LivecheckCmd`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::LivecheckCmd + sig { returns(Homebrew::DevCmd::LivecheckCmd::Args) } + def args; end +end + +class Homebrew::DevCmd::LivecheckCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi index 5ba07148eedb5..fb229719e7cd8 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_automerge.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::PrAutomerge`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::PrAutomerge`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::PrAutomerge + sig { returns(Homebrew::DevCmd::PrAutomerge::Args) } + def args; end +end + +class Homebrew::DevCmd::PrAutomerge::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def autosquash?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_publish.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_publish.rbi index ee6d0987c5dfd..5e12af54cf3ad 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_publish.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_publish.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::PrPublish`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::PrPublish`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::PrPublish + sig { returns(Homebrew::DevCmd::PrPublish::Args) } + def args; end +end + +class Homebrew::DevCmd::PrPublish::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def autosquash?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi index fc8f71936728b..15a68c9cdfaf8 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_pull.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::PrPull`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::PrPull`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::PrPull + sig { returns(Homebrew::DevCmd::PrPull::Args) } + def args; end +end + +class Homebrew::DevCmd::PrPull::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def artifact; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_upload.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_upload.rbi index 0fdb4ddac0201..2c96ac44bacbd 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_upload.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/pr_upload.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::PrUpload`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::PrUpload`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::PrUpload + sig { returns(Homebrew::DevCmd::PrUpload::Args) } + def args; end +end + +class Homebrew::DevCmd::PrUpload::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def committer; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/prof.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/prof.rbi index 27f3a84c69fdc..23a5d339dd6b4 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/prof.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/prof.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Prof`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Prof`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Prof + sig { returns(Homebrew::DevCmd::Prof::Args) } + def args; end +end + +class Homebrew::DevCmd::Prof::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def stackprof?; end end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/release.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/release.rbi index 2d470faece20c..a523ae11008dc 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/release.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/release.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Release`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Release`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Release + sig { returns(Homebrew::DevCmd::Release::Args) } + def args; end +end + +class Homebrew::DevCmd::Release::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def major?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/ruby.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/ruby.rbi index ccf736e8419e7..eaadacd06e0a8 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/ruby.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/ruby.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Ruby`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Ruby`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Ruby + sig { returns(Homebrew::DevCmd::Ruby::Args) } + def args; end +end + +class Homebrew::DevCmd::Ruby::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def e; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/sh.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/sh.rbi index 763b2449631e1..28bf3ce60cbfd 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/sh.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/sh.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Sh`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Sh`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Sh + sig { returns(Homebrew::DevCmd::Sh::Args) } + def args; end +end + +class Homebrew::DevCmd::Sh::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def c; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/style_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/style_cmd.rbi index 889096563de0f..54f7a5d76f321 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/style_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/style_cmd.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::StyleCmd`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::StyleCmd`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::StyleCmd + sig { returns(Homebrew::DevCmd::StyleCmd::Args) } + def args; end +end + +class Homebrew::DevCmd::StyleCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def cask?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi index 603694ec28279..279224ad03a84 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tap_new.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::TapNew`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::TapNew`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::TapNew + sig { returns(Homebrew::DevCmd::TapNew::Args) } + def args; end +end + +class Homebrew::DevCmd::TapNew::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def branch; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/test.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/test.rbi index 6e5f2fce29ee5..020a142ee2279 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/test.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/test.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Test`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Test`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Test + sig { returns(Homebrew::DevCmd::Test::Args) } + def args; end +end + +class Homebrew::DevCmd::Test::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def HEAD?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi index 821f583831241..d3a1968b96f08 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/tests.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Tests`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Tests`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Tests + sig { returns(Homebrew::DevCmd::Tests::Args) } + def args; end +end + +class Homebrew::DevCmd::Tests::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def changed?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi index 349f03cd5aca3..6ab2f8ab9ac8f 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/typecheck.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Typecheck`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Typecheck`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Typecheck + sig { returns(Homebrew::DevCmd::Typecheck::Args) } + def args; end +end + +class Homebrew::DevCmd::Typecheck::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def dir; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi index cdf69115af8e2..58015aca0a6fd 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unbottled.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Unbottled`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Unbottled`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Unbottled + sig { returns(Homebrew::DevCmd::Unbottled::Args) } + def args; end +end + +class Homebrew::DevCmd::Unbottled::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def dependents?; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unpack.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unpack.rbi index 78d1a59a4d241..c9addecff103a 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unpack.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/unpack.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Unpack`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Unpack`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::Unpack + sig { returns(Homebrew::DevCmd::Unpack::Args) } + def args; end +end + +class Homebrew::DevCmd::Unpack::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def destdir; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_license_data.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_license_data.rbi index ae2df30f40de9..6b27fb593cf39 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_license_data.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_license_data.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::UpdateLicenseData`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::UpdateLicenseData`. -class Homebrew::CLI::Args; end +class Homebrew::DevCmd::UpdateLicenseData + sig { returns(Homebrew::DevCmd::UpdateLicenseData::Args) } + def args; end +end + +class Homebrew::DevCmd::UpdateLicenseData::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_maintainers.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_maintainers.rbi index ef10a5e67a964..0dbf281728973 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_maintainers.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_maintainers.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::UpdateMaintainers`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::UpdateMaintainers`. -class Homebrew::CLI::Args; end +class Homebrew::DevCmd::UpdateMaintainers + sig { returns(Homebrew::DevCmd::UpdateMaintainers::Args) } + def args; end +end + +class Homebrew::DevCmd::UpdateMaintainers::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi index 8fcfbfaa4268e..88bcc3fc6808b 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::UpdatePythonResources`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::UpdatePythonResources`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::UpdatePythonResources + sig { returns(Homebrew::DevCmd::UpdatePythonResources::Args) } + def args; end +end + +class Homebrew::DevCmd::UpdatePythonResources::Args < Homebrew::CLI::Args sig { returns(T.nilable(T::Array[String])) } def exclude_packages; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_sponsors.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_sponsors.rbi index a2ac1a366e66f..d1c5d5c2e73de 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_sponsors.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_sponsors.rbi @@ -4,4 +4,9 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::UpdateSponsors`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::UpdateSponsors`. -class Homebrew::CLI::Args; end +class Homebrew::DevCmd::UpdateSponsors + sig { returns(Homebrew::DevCmd::UpdateSponsors::Args) } + def args; end +end + +class Homebrew::DevCmd::UpdateSponsors::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_test.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_test.rbi index 987dd06b54131..bba6e22be763f 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_test.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/update_test.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::UpdateTest`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::UpdateTest`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::UpdateTest + sig { returns(Homebrew::DevCmd::UpdateTest::Args) } + def args; end +end + +class Homebrew::DevCmd::UpdateTest::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def before; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/vendor_gems.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/vendor_gems.rbi index 9c441a982eaf7..e53330e85ef3b 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/vendor_gems.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/vendor_gems.rbi @@ -4,7 +4,12 @@ # This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::VendorGems`. # Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::VendorGems`. -class Homebrew::CLI::Args +class Homebrew::DevCmd::VendorGems + sig { returns(Homebrew::DevCmd::VendorGems::Args) } + def args; end +end + +class Homebrew::DevCmd::VendorGems::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def no_commit?; end