Merge pull request #17123 from Homebrew/namespaced-args
Create individually namespace args for each command
This commit is contained in:
commit
0516f47f81
@ -19,6 +19,9 @@ module Homebrew
|
||||
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 @@ module Homebrew
|
||||
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
|
||||
|
||||
|
@ -38,6 +38,7 @@ module Cask
|
||||
|
||||
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,
|
||||
|
@ -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
|
||||
|
@ -152,7 +152,7 @@ module Homebrew
|
||||
# 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)
|
||||
|
@ -48,7 +48,8 @@ module Homebrew
|
||||
|
||||
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"] : []
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -38,9 +38,13 @@ module Tapioca
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user