Update RBI files for thor.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
f6af1e9d9b
commit
6031ce22ff
@ -4,6 +4,7 @@
|
||||
# This is an autogenerated file for types exported from the `thor` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem thor`.
|
||||
|
||||
|
||||
# source://thor//lib/thor/shell/lcs_diff.rb#1
|
||||
module LCSDiff
|
||||
protected
|
||||
@ -36,7 +37,7 @@ class Thor
|
||||
extend ::Thor::Base::ClassMethods
|
||||
extend ::Thor::Invocation::ClassMethods
|
||||
|
||||
# source://thor//lib/thor.rb#652
|
||||
# source://thor//lib/thor.rb#663
|
||||
def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end
|
||||
|
||||
class << self
|
||||
@ -95,6 +96,19 @@ class Thor
|
||||
# source://thor//lib/thor.rb#363
|
||||
def check_unknown_options?(config); end
|
||||
|
||||
# Checks if a specified command exists.
|
||||
#
|
||||
# ==== Parameters
|
||||
# command_name<String>:: The name of the command to check for existence.
|
||||
#
|
||||
# ==== Returns
|
||||
# Boolean:: +true+ if the command exists, +false+ otherwise.
|
||||
#
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://thor//lib/thor.rb#449
|
||||
def command_exists?(command_name); end
|
||||
|
||||
# Prints help information for the given command.
|
||||
#
|
||||
# ==== Parameters
|
||||
@ -470,48 +484,48 @@ class Thor
|
||||
# the command that is going to be invoked and a boolean which indicates if
|
||||
# the namespace should be displayed as arguments.
|
||||
#
|
||||
# source://thor//lib/thor.rb#535
|
||||
# source://thor//lib/thor.rb#546
|
||||
def banner(command, namespace = T.unsafe(nil), subcommand = T.unsafe(nil)); end
|
||||
|
||||
# source://thor//lib/thor.rb#541
|
||||
# source://thor//lib/thor.rb#552
|
||||
def baseclass; end
|
||||
|
||||
# source://thor//lib/thor.rb#549
|
||||
# source://thor//lib/thor.rb#560
|
||||
def create_command(meth); end
|
||||
|
||||
# source://thor//lib/thor.rb#549
|
||||
# source://thor//lib/thor.rb#560
|
||||
def create_task(meth); end
|
||||
|
||||
# help command has the required check disabled by default.
|
||||
#
|
||||
# source://thor//lib/thor.rb#467
|
||||
# source://thor//lib/thor.rb#478
|
||||
def disable_required_check; end
|
||||
|
||||
# The method responsible for dispatching given the args.
|
||||
#
|
||||
# @yield [instance]
|
||||
#
|
||||
# source://thor//lib/thor.rb#494
|
||||
# source://thor//lib/thor.rb#505
|
||||
def dispatch(meth, given_args, given_opts, config); end
|
||||
|
||||
# source://thor//lib/thor.rb#545
|
||||
# source://thor//lib/thor.rb#556
|
||||
def dynamic_command_class; end
|
||||
|
||||
# this is the logic that takes the command name passed in by the user
|
||||
# and determines whether it is an unambiguous substrings of a command or
|
||||
# alias name.
|
||||
#
|
||||
# source://thor//lib/thor.rb#615
|
||||
# source://thor//lib/thor.rb#626
|
||||
def find_command_possibilities(meth); end
|
||||
|
||||
# this is the logic that takes the command name passed in by the user
|
||||
# and determines whether it is an unambiguous substrings of a command or
|
||||
# alias name.
|
||||
#
|
||||
# source://thor//lib/thor.rb#615
|
||||
# source://thor//lib/thor.rb#626
|
||||
def find_task_possibilities(meth); end
|
||||
|
||||
# source://thor//lib/thor.rb#575
|
||||
# source://thor//lib/thor.rb#586
|
||||
def initialize_added; end
|
||||
|
||||
# Returns this class at least one of required options array set.
|
||||
@ -519,7 +533,7 @@ class Thor
|
||||
# ==== Returns
|
||||
# Array[Array[Thor::Option.name]]
|
||||
#
|
||||
# source://thor//lib/thor.rb#458
|
||||
# source://thor//lib/thor.rb#469
|
||||
def method_at_least_one_option_names; end
|
||||
|
||||
# Returns this class exclusive options array set.
|
||||
@ -527,7 +541,7 @@ class Thor
|
||||
# ==== Returns
|
||||
# Array[Array[Thor::Option.name]]
|
||||
#
|
||||
# source://thor//lib/thor.rb#449
|
||||
# source://thor//lib/thor.rb#460
|
||||
def method_exclusive_option_names; end
|
||||
|
||||
# receives a (possibly nil) command name and returns a name that is in
|
||||
@ -540,7 +554,7 @@ class Thor
|
||||
#
|
||||
# @raise [AmbiguousTaskError]
|
||||
#
|
||||
# source://thor//lib/thor.rb#594
|
||||
# source://thor//lib/thor.rb#605
|
||||
def normalize_command_name(meth); end
|
||||
|
||||
# receives a (possibly nil) command name and returns a name that is in
|
||||
@ -553,23 +567,23 @@ class Thor
|
||||
#
|
||||
# @raise [AmbiguousTaskError]
|
||||
#
|
||||
# source://thor//lib/thor.rb#594
|
||||
# source://thor//lib/thor.rb#605
|
||||
def normalize_task_name(meth); end
|
||||
|
||||
# source://thor//lib/thor.rb#482
|
||||
# source://thor//lib/thor.rb#493
|
||||
def print_at_least_one_required_options(shell, command = T.unsafe(nil)); end
|
||||
|
||||
# source://thor//lib/thor.rb#471
|
||||
# source://thor//lib/thor.rb#482
|
||||
def print_exclusive_options(shell, command = T.unsafe(nil)); end
|
||||
|
||||
# Retrieve the command name from given args.
|
||||
#
|
||||
# source://thor//lib/thor.rb#581
|
||||
# source://thor//lib/thor.rb#592
|
||||
def retrieve_command_name(args); end
|
||||
|
||||
# Retrieve the command name from given args.
|
||||
#
|
||||
# source://thor//lib/thor.rb#581
|
||||
# source://thor//lib/thor.rb#592
|
||||
def retrieve_task_name(args); end
|
||||
|
||||
# Sort the commands, lexicographically by default.
|
||||
@ -577,16 +591,16 @@ class Thor
|
||||
# Can be overridden in the subclass to change the display order of the
|
||||
# commands.
|
||||
#
|
||||
# source://thor//lib/thor.rb#642
|
||||
# source://thor//lib/thor.rb#653
|
||||
def sort_commands!(list); end
|
||||
|
||||
# source://thor//lib/thor.rb#462
|
||||
# source://thor//lib/thor.rb#473
|
||||
def stop_on_unknown_option; end
|
||||
|
||||
# source://thor//lib/thor.rb#630
|
||||
# source://thor//lib/thor.rb#641
|
||||
def subcommand_help(cmd); end
|
||||
|
||||
# source://thor//lib/thor.rb#630
|
||||
# source://thor//lib/thor.rb#641
|
||||
def subtask_help(cmd); end
|
||||
end
|
||||
end
|
||||
@ -2629,7 +2643,7 @@ class Thor::Group
|
||||
# Shortcut to invoke with padding and block handling. Use internally by
|
||||
# invoke and invoke_from_option class methods.
|
||||
#
|
||||
# source://thor//lib/thor/group.rb#265
|
||||
# source://thor//lib/thor/group.rb#276
|
||||
def _invoke_for_class_method(klass, command = T.unsafe(nil), *args, &block); end
|
||||
|
||||
class << self
|
||||
@ -2639,6 +2653,19 @@ class Thor::Group
|
||||
# source://thor//lib/thor/group.rb#161
|
||||
def class_options_help(shell, groups = T.unsafe(nil)); end
|
||||
|
||||
# Checks if a specified command exists.
|
||||
#
|
||||
# ==== Parameters
|
||||
# command_name<String>:: The name of the command to check for existence.
|
||||
#
|
||||
# ==== Returns
|
||||
# Boolean:: +true+ if the command exists, +false+ otherwise.
|
||||
#
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://thor//lib/thor/group.rb#221
|
||||
def command_exists?(command_name); end
|
||||
|
||||
# The description for this Thor::Group. If none is provided, but a source root
|
||||
# exists, tries to find the USAGE one folder above it, otherwise searches
|
||||
# in the superclass.
|
||||
@ -2746,33 +2773,33 @@ class Thor::Group
|
||||
# The banner for this class. You can customize it if you are invoking the
|
||||
# thor class by another ways which is not the Thor::Runner.
|
||||
#
|
||||
# source://thor//lib/thor/group.rb#238
|
||||
# source://thor//lib/thor/group.rb#249
|
||||
def banner; end
|
||||
|
||||
# source://thor//lib/thor/group.rb#248
|
||||
# source://thor//lib/thor/group.rb#259
|
||||
def baseclass; end
|
||||
|
||||
# source://thor//lib/thor/group.rb#252
|
||||
# source://thor//lib/thor/group.rb#263
|
||||
def create_command(meth); end
|
||||
|
||||
# source://thor//lib/thor/group.rb#252
|
||||
# source://thor//lib/thor/group.rb#263
|
||||
def create_task(meth); end
|
||||
|
||||
# The method responsible for dispatching given the args.
|
||||
#
|
||||
# @yield [instance]
|
||||
#
|
||||
# source://thor//lib/thor/group.rb#217
|
||||
# source://thor//lib/thor/group.rb#228
|
||||
def dispatch(command, given_args, given_opts, config); end
|
||||
|
||||
# Represents the whole class as a command.
|
||||
#
|
||||
# source://thor//lib/thor/group.rb#243
|
||||
# source://thor//lib/thor/group.rb#254
|
||||
def self_command; end
|
||||
|
||||
# Represents the whole class as a command.
|
||||
#
|
||||
# source://thor//lib/thor/group.rb#243
|
||||
# source://thor//lib/thor/group.rb#254
|
||||
def self_task; end
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user