hank 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.clodignore +32 -0
- data/.rubocop.yml +59 -0
- data/CLAUDE.md +22 -0
- data/Gemfile +11 -0
- data/LICENSE +21 -0
- data/README.md +70 -0
- data/Rakefile +17 -0
- data/bin/hank +7 -0
- data/hank.gemspec +55 -0
- data/lib/hank/cli.rb +162 -0
- data/lib/hank/file_selector.rb +204 -0
- data/lib/hank/hankfile.rb +70 -0
- data/lib/hank/path_utils.rb +47 -0
- data/lib/hank/symlink_manager.rb +94 -0
- data/lib/hank/validator.rb +65 -0
- data/lib/hank/version.rb +6 -0
- data/lib/hank.rb +25 -0
- data/sorbet/config +5 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/colorize.rbi +121 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ansi.rbi +398 -0
- data/sorbet/rbi/gems/ansi@1.5.0.rbi +688 -0
- data/sorbet/rbi/gems/ast.rbi +49 -0
- data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
- data/sorbet/rbi/gems/builder.rbi +58 -0
- data/sorbet/rbi/gems/builder@3.3.0.rbi +502 -0
- data/sorbet/rbi/gems/citrus.rbi +238 -0
- data/sorbet/rbi/gems/citrus@3.0.2.rbi +1234 -0
- data/sorbet/rbi/gems/colorize.rbi +82 -0
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +152 -0
- data/sorbet/rbi/gems/curses.rbi +327 -0
- data/sorbet/rbi/gems/curses@1.4.7.rbi +894 -0
- data/sorbet/rbi/gems/diffy.rbi +56 -0
- data/sorbet/rbi/gems/diffy@3.4.3.rbi +184 -0
- data/sorbet/rbi/gems/docile.rbi +36 -0
- data/sorbet/rbi/gems/docile@1.4.1.rbi +377 -0
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
- data/sorbet/rbi/gems/fiddle.rbi +120 -0
- data/sorbet/rbi/gems/fiddle@1.1.6.rbi +9 -0
- data/sorbet/rbi/gems/hank.rbi +15 -0
- data/sorbet/rbi/gems/json@2.10.2.rbi +2112 -0
- data/sorbet/rbi/gems/language_server-protocol.rbi +2868 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
- data/sorbet/rbi/gems/lint_roller.rbi +75 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +86 -0
- data/sorbet/rbi/gems/logger.rbi +94 -0
- data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
- data/sorbet/rbi/gems/minitest-reporters.rbi +104 -0
- data/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi +1018 -0
- data/sorbet/rbi/gems/minitest.rbi +440 -0
- data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/parallel.rbi +88 -0
- data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
- data/sorbet/rbi/gems/parser.rbi +1545 -0
- data/sorbet/rbi/gems/parser@3.3.7.4.rbi +5535 -0
- data/sorbet/rbi/gems/prism.rbi +4090 -0
- data/sorbet/rbi/gems/prism@1.4.0.rbi +41732 -0
- data/sorbet/rbi/gems/racc.rbi +41 -0
- data/sorbet/rbi/gems/racc@1.8.1.rbi +160 -0
- data/sorbet/rbi/gems/rainbow.rbi +122 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake.rbi +649 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3033 -0
- data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
- data/sorbet/rbi/gems/rbs@3.9.2.rbi +6978 -0
- data/sorbet/rbi/gems/regexp_parser.rbi +1039 -0
- data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
- data/sorbet/rbi/gems/rubocop-ast.rbi +1470 -0
- data/sorbet/rbi/gems/rubocop-ast@1.44.0.rbi +7716 -0
- data/sorbet/rbi/gems/rubocop.rbi +10557 -0
- data/sorbet/rbi/gems/rubocop@1.75.2.rbi +61860 -0
- data/sorbet/rbi/gems/ruby-filemagic.rbi +46 -0
- data/sorbet/rbi/gems/ruby-filemagic@0.7.3.rbi +168 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +321 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +36 -0
- data/sorbet/rbi/gems/simplecov-html@0.13.1.rbi +225 -0
- data/sorbet/rbi/gems/simplecov.rbi +435 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2149 -0
- data/sorbet/rbi/gems/simplecov_json_formatter.rbi +47 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
- data/sorbet/rbi/gems/spoom@1.6.1.rbi +7274 -0
- data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3628 -0
- data/sorbet/rbi/gems/thor.rbi +583 -0
- data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
- data/sorbet/rbi/gems/toml-rb.rbi +136 -0
- data/sorbet/rbi/gems/toml-rb@2.2.0.rbi +419 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +28 -0
- data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
- data/sorbet/rbi/gems/unicode-emoji.rbi +18 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +399 -0
@@ -0,0 +1,583 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/thor/all/thor.rbi
|
9
|
+
#
|
10
|
+
# thor-1.3.2
|
11
|
+
|
12
|
+
class Thor
|
13
|
+
def help(command = nil, subcommand = nil); end
|
14
|
+
def self.at_least_one(*args, &block); end
|
15
|
+
def self.banner(command, namespace = nil, subcommand = nil); end
|
16
|
+
def self.baseclass; end
|
17
|
+
def self.check_unknown_options!(options = nil); end
|
18
|
+
def self.check_unknown_options?(config); end
|
19
|
+
def self.command_exists?(command_name); end
|
20
|
+
def self.command_help(shell, command_name); end
|
21
|
+
def self.create_command(meth); end
|
22
|
+
def self.create_task(meth); end
|
23
|
+
def self.default_command(meth = nil); end
|
24
|
+
def self.default_task(meth = nil); end
|
25
|
+
def self.deprecation_warning(message); end
|
26
|
+
def self.desc(usage, description, options = nil); end
|
27
|
+
def self.disable_required_check!(*command_names); end
|
28
|
+
def self.disable_required_check; end
|
29
|
+
def self.disable_required_check?(command); end
|
30
|
+
def self.dispatch(meth, given_args, given_opts, config); end
|
31
|
+
def self.dynamic_command_class; end
|
32
|
+
def self.exclusive(*args, &block); end
|
33
|
+
def self.find_command_possibilities(meth); end
|
34
|
+
def self.find_task_possibilities(meth); end
|
35
|
+
def self.help(shell, subcommand = nil); end
|
36
|
+
def self.initialize_added; end
|
37
|
+
def self.long_desc(long_description, options = nil); end
|
38
|
+
def self.map(mappings = nil, **kw); end
|
39
|
+
def self.method_at_least_one(*args, &block); end
|
40
|
+
def self.method_at_least_one_option_names; end
|
41
|
+
def self.method_exclusive(*args, &block); end
|
42
|
+
def self.method_exclusive_option_names; end
|
43
|
+
def self.method_option(name, options = nil); end
|
44
|
+
def self.method_options(options = nil); end
|
45
|
+
def self.normalize_command_name(meth); end
|
46
|
+
def self.normalize_task_name(meth); end
|
47
|
+
def self.option(name, options = nil); end
|
48
|
+
def self.options(options = nil); end
|
49
|
+
def self.package_name(name, _ = nil); end
|
50
|
+
def self.print_at_least_one_required_options(shell, command = nil); end
|
51
|
+
def self.print_exclusive_options(shell, command = nil); end
|
52
|
+
def self.printable_commands(all = nil, subcommand = nil); end
|
53
|
+
def self.printable_tasks(all = nil, subcommand = nil); end
|
54
|
+
def self.register(klass, subcommand_name, usage, description, options = nil); end
|
55
|
+
def self.retrieve_command_name(args); end
|
56
|
+
def self.retrieve_task_name(args); end
|
57
|
+
def self.sort_commands!(list); end
|
58
|
+
def self.stop_on_unknown_option!(*command_names); end
|
59
|
+
def self.stop_on_unknown_option; end
|
60
|
+
def self.stop_on_unknown_option?(command); end
|
61
|
+
def self.subcommand(subcommand, subcommand_class); end
|
62
|
+
def self.subcommand_classes; end
|
63
|
+
def self.subcommand_help(cmd); end
|
64
|
+
def self.subcommands; end
|
65
|
+
def self.subtask(subcommand, subcommand_class); end
|
66
|
+
def self.subtask_help(cmd); end
|
67
|
+
def self.subtasks; end
|
68
|
+
def self.task_help(shell, command_name); end
|
69
|
+
extend Thor::Base::ClassMethods
|
70
|
+
extend Thor::Invocation::ClassMethods
|
71
|
+
include Thor::Base
|
72
|
+
include Thor::Invocation
|
73
|
+
include Thor::Shell
|
74
|
+
end
|
75
|
+
class Anonymous_Struct_1 < Struct
|
76
|
+
def ancestor_name; end
|
77
|
+
def ancestor_name=(_); end
|
78
|
+
def description; end
|
79
|
+
def description=(_); end
|
80
|
+
def long_description; end
|
81
|
+
def long_description=(_); end
|
82
|
+
def name; end
|
83
|
+
def name=(_); end
|
84
|
+
def options; end
|
85
|
+
def options=(_); end
|
86
|
+
def options_relation; end
|
87
|
+
def options_relation=(_); end
|
88
|
+
def self.[](*arg0); end
|
89
|
+
def self.inspect; end
|
90
|
+
def self.keyword_init?; end
|
91
|
+
def self.members; end
|
92
|
+
def self.new(*arg0); end
|
93
|
+
def usage; end
|
94
|
+
def usage=(_); end
|
95
|
+
def wrap_long_description; end
|
96
|
+
def wrap_long_description=(_); end
|
97
|
+
end
|
98
|
+
class Thor::Command < Anonymous_Struct_1
|
99
|
+
def formatted_usage(klass, namespace = nil, subcommand = nil); end
|
100
|
+
def handle_argument_error?(instance, error, caller); end
|
101
|
+
def handle_no_method_error?(instance, error, caller); end
|
102
|
+
def hidden?; end
|
103
|
+
def initialize(name, description, long_description, wrap_long_description, usage, options = nil, options_relation = nil); end
|
104
|
+
def initialize_copy(other); end
|
105
|
+
def local_method?(instance, name); end
|
106
|
+
def method_at_least_one_option_names; end
|
107
|
+
def method_exclusive_option_names; end
|
108
|
+
def not_debugging?(instance); end
|
109
|
+
def private_method?(instance); end
|
110
|
+
def public_method?(instance); end
|
111
|
+
def required_arguments_for(klass, usage); end
|
112
|
+
def required_options; end
|
113
|
+
def run(instance, args = nil); end
|
114
|
+
def sans_backtrace(backtrace, caller); end
|
115
|
+
end
|
116
|
+
class Thor::HiddenCommand < Thor::Command
|
117
|
+
def hidden?; end
|
118
|
+
end
|
119
|
+
class Thor::DynamicCommand < Thor::Command
|
120
|
+
def initialize(name, options = nil); end
|
121
|
+
def run(instance, args = nil); end
|
122
|
+
end
|
123
|
+
module Thor::CoreExt
|
124
|
+
end
|
125
|
+
class Thor::CoreExt::HashWithIndifferentAccess < Hash
|
126
|
+
def [](key); end
|
127
|
+
def []=(key, value); end
|
128
|
+
def convert_key(key); end
|
129
|
+
def delete(key); end
|
130
|
+
def except(*keys); end
|
131
|
+
def fetch(key, *args); end
|
132
|
+
def initialize(hash = nil); end
|
133
|
+
def key?(key); end
|
134
|
+
def merge!(other); end
|
135
|
+
def merge(other); end
|
136
|
+
def method_missing(method, *args); end
|
137
|
+
def replace(other_hash); end
|
138
|
+
def reverse_merge!(other_hash); end
|
139
|
+
def reverse_merge(other); end
|
140
|
+
def slice(*keys); end
|
141
|
+
def to_hash; end
|
142
|
+
def values_at(*indices); end
|
143
|
+
end
|
144
|
+
module Thor::Correctable
|
145
|
+
def corrections; end
|
146
|
+
def to_s; end
|
147
|
+
end
|
148
|
+
class Thor::Error < StandardError
|
149
|
+
end
|
150
|
+
class Thor::UndefinedCommandError < Thor::Error
|
151
|
+
def all_commands; end
|
152
|
+
def command; end
|
153
|
+
def initialize(command, all_commands, namespace); end
|
154
|
+
end
|
155
|
+
class Thor::UndefinedCommandError::SpellChecker
|
156
|
+
def corrections; end
|
157
|
+
def error; end
|
158
|
+
def initialize(error); end
|
159
|
+
def spell_checker; end
|
160
|
+
end
|
161
|
+
class Thor::AmbiguousCommandError < Thor::Error
|
162
|
+
end
|
163
|
+
class Thor::InvocationError < Thor::Error
|
164
|
+
end
|
165
|
+
class Thor::UnknownArgumentError < Thor::Error
|
166
|
+
def initialize(switches, unknown); end
|
167
|
+
def switches; end
|
168
|
+
def unknown; end
|
169
|
+
end
|
170
|
+
class Thor::UnknownArgumentError::SpellChecker
|
171
|
+
def corrections; end
|
172
|
+
def error; end
|
173
|
+
def initialize(error); end
|
174
|
+
def spell_checker; end
|
175
|
+
end
|
176
|
+
class Thor::RequiredArgumentMissingError < Thor::InvocationError
|
177
|
+
end
|
178
|
+
class Thor::MalformattedArgumentError < Thor::InvocationError
|
179
|
+
end
|
180
|
+
class Thor::ExclusiveArgumentError < Thor::InvocationError
|
181
|
+
end
|
182
|
+
class Thor::AtLeastOneRequiredArgumentError < Thor::InvocationError
|
183
|
+
end
|
184
|
+
module Thor::Invocation
|
185
|
+
def _parse_initialization_options(args, opts, config); end
|
186
|
+
def _retrieve_class_and_command(name, sent_command = nil); end
|
187
|
+
def _retrieve_class_and_task(name, sent_command = nil); end
|
188
|
+
def _shared_configuration; end
|
189
|
+
def current_command_chain; end
|
190
|
+
def initialize(args = nil, options = nil, config = nil, &block); end
|
191
|
+
def invoke(name = nil, *args); end
|
192
|
+
def invoke_all; end
|
193
|
+
def invoke_command(command, *args); end
|
194
|
+
def invoke_task(command, *args); end
|
195
|
+
def invoke_with_padding(*args); end
|
196
|
+
def self.included(base); end
|
197
|
+
end
|
198
|
+
module Thor::Invocation::ClassMethods
|
199
|
+
def prepare_for_invocation(key, name); end
|
200
|
+
end
|
201
|
+
class Thor::NestedContext
|
202
|
+
def enter; end
|
203
|
+
def entered?; end
|
204
|
+
def initialize; end
|
205
|
+
def pop; end
|
206
|
+
def push; end
|
207
|
+
end
|
208
|
+
class Thor::Argument
|
209
|
+
def banner; end
|
210
|
+
def default; end
|
211
|
+
def default_banner; end
|
212
|
+
def description; end
|
213
|
+
def enum; end
|
214
|
+
def enum_to_s; end
|
215
|
+
def human_name; end
|
216
|
+
def initialize(name, options = nil); end
|
217
|
+
def name; end
|
218
|
+
def print_default; end
|
219
|
+
def required; end
|
220
|
+
def required?; end
|
221
|
+
def show_default?; end
|
222
|
+
def type; end
|
223
|
+
def usage; end
|
224
|
+
def valid_type?(type); end
|
225
|
+
def validate!; end
|
226
|
+
end
|
227
|
+
class Thor::Arguments
|
228
|
+
def check_requirement!; end
|
229
|
+
def current_is_value?; end
|
230
|
+
def initialize(arguments = nil); end
|
231
|
+
def last?; end
|
232
|
+
def no_or_skip?(arg); end
|
233
|
+
def parse(args); end
|
234
|
+
def parse_array(name); end
|
235
|
+
def parse_hash(name); end
|
236
|
+
def parse_numeric(name); end
|
237
|
+
def parse_string(name); end
|
238
|
+
def peek; end
|
239
|
+
def remaining; end
|
240
|
+
def self.parse(*args); end
|
241
|
+
def self.split(args); end
|
242
|
+
def shift; end
|
243
|
+
def unshift(arg); end
|
244
|
+
def validate_enum_value!(name, value, message); end
|
245
|
+
end
|
246
|
+
class Thor::Option < Thor::Argument
|
247
|
+
def aliases; end
|
248
|
+
def aliases_for_usage; end
|
249
|
+
def array?; end
|
250
|
+
def boolean?; end
|
251
|
+
def dasherize(str); end
|
252
|
+
def dasherized?; end
|
253
|
+
def group; end
|
254
|
+
def hash?; end
|
255
|
+
def hide; end
|
256
|
+
def human_name; end
|
257
|
+
def initialize(name, options = nil); end
|
258
|
+
def lazy_default; end
|
259
|
+
def normalize_aliases(aliases); end
|
260
|
+
def numeric?; end
|
261
|
+
def repeatable; end
|
262
|
+
def self.parse(key, value); end
|
263
|
+
def show_default?; end
|
264
|
+
def string?; end
|
265
|
+
def switch_name; end
|
266
|
+
def undasherize(str); end
|
267
|
+
def usage(padding = nil); end
|
268
|
+
def validate!; end
|
269
|
+
def validate_default_type!; end
|
270
|
+
end
|
271
|
+
class Thor::Options < Thor::Arguments
|
272
|
+
def assign_result!(option, result); end
|
273
|
+
def check_at_least_one!; end
|
274
|
+
def check_exclusive!; end
|
275
|
+
def check_unknown!; end
|
276
|
+
def current_is_switch?; end
|
277
|
+
def current_is_switch_formatted?; end
|
278
|
+
def current_is_value?; end
|
279
|
+
def initialize(hash_options = nil, defaults = nil, stop_on_unknown = nil, disable_required_check = nil, relations = nil); end
|
280
|
+
def names_to_switch_names(names = nil); end
|
281
|
+
def normalize_switch(arg); end
|
282
|
+
def parse(args); end
|
283
|
+
def parse_boolean(switch); end
|
284
|
+
def parse_peek(switch, option); end
|
285
|
+
def parsing_options?; end
|
286
|
+
def peek; end
|
287
|
+
def remaining; end
|
288
|
+
def self.to_switches(options); end
|
289
|
+
def shift; end
|
290
|
+
def switch?(arg); end
|
291
|
+
def switch_option(arg); end
|
292
|
+
def unshift(arg, is_value: nil); end
|
293
|
+
end
|
294
|
+
module Thor::Base
|
295
|
+
def args; end
|
296
|
+
def args=(arg0); end
|
297
|
+
def initialize(args = nil, local_options = nil, config = nil); end
|
298
|
+
def options; end
|
299
|
+
def options=(arg0); end
|
300
|
+
def parent_options; end
|
301
|
+
def parent_options=(arg0); end
|
302
|
+
def self.included(base); end
|
303
|
+
def self.register_klass_file(klass); end
|
304
|
+
def self.shell; end
|
305
|
+
def self.shell=(arg0); end
|
306
|
+
def self.subclass_files; end
|
307
|
+
def self.subclasses; end
|
308
|
+
end
|
309
|
+
module Thor::Shell
|
310
|
+
def _shared_configuration; end
|
311
|
+
def ask(*args, &block); end
|
312
|
+
def error(*args, &block); end
|
313
|
+
def file_collision(*args, &block); end
|
314
|
+
def initialize(args = nil, options = nil, config = nil); end
|
315
|
+
def no?(*args, &block); end
|
316
|
+
def print_in_columns(*args, &block); end
|
317
|
+
def print_table(*args, &block); end
|
318
|
+
def print_wrapped(*args, &block); end
|
319
|
+
def say(*args, &block); end
|
320
|
+
def say_error(*args, &block); end
|
321
|
+
def say_status(*args, &block); end
|
322
|
+
def set_color(*args, &block); end
|
323
|
+
def shell; end
|
324
|
+
def shell=(arg0); end
|
325
|
+
def terminal_width(*args, &block); end
|
326
|
+
def with_padding; end
|
327
|
+
def yes?(*args, &block); end
|
328
|
+
end
|
329
|
+
module Thor::LineEditor
|
330
|
+
def self.best_available; end
|
331
|
+
def self.readline(prompt, options = nil); end
|
332
|
+
end
|
333
|
+
class Thor::LineEditor::Basic
|
334
|
+
def echo?; end
|
335
|
+
def get_input; end
|
336
|
+
def initialize(prompt, options); end
|
337
|
+
def options; end
|
338
|
+
def prompt; end
|
339
|
+
def readline; end
|
340
|
+
def self.available?; end
|
341
|
+
end
|
342
|
+
class Thor::LineEditor::Readline < Thor::LineEditor::Basic
|
343
|
+
def add_to_history?; end
|
344
|
+
def completion_options; end
|
345
|
+
def completion_proc; end
|
346
|
+
def readline; end
|
347
|
+
def self.available?; end
|
348
|
+
def use_path_completion?; end
|
349
|
+
end
|
350
|
+
class Thor::LineEditor::Readline::PathCompletion
|
351
|
+
def absolute_matches; end
|
352
|
+
def base_path; end
|
353
|
+
def glob_pattern; end
|
354
|
+
def initialize(text); end
|
355
|
+
def matches; end
|
356
|
+
def relative_matches; end
|
357
|
+
def text; end
|
358
|
+
end
|
359
|
+
module Thor::Sandbox
|
360
|
+
end
|
361
|
+
module Thor::Util
|
362
|
+
def self.camel_case(str); end
|
363
|
+
def self.escape_globs(path); end
|
364
|
+
def self.escape_html(string); end
|
365
|
+
def self.find_by_namespace(namespace); end
|
366
|
+
def self.find_class_and_command_by_namespace(namespace, fallback = nil); end
|
367
|
+
def self.find_class_and_task_by_namespace(namespace, fallback = nil); end
|
368
|
+
def self.globs_for(path); end
|
369
|
+
def self.load_thorfile(path, content = nil, debug = nil); end
|
370
|
+
def self.namespace_from_thor_class(constant); end
|
371
|
+
def self.namespaces_in_content(contents, file = nil); end
|
372
|
+
def self.ruby_command; end
|
373
|
+
def self.snake_case(str); end
|
374
|
+
def self.thor_classes_in(klass); end
|
375
|
+
def self.thor_root; end
|
376
|
+
def self.thor_root_glob; end
|
377
|
+
def self.user_home; end
|
378
|
+
end
|
379
|
+
module Thor::Base::ClassMethods
|
380
|
+
def all_commands; end
|
381
|
+
def all_tasks; end
|
382
|
+
def allow_incompatible_default_type!; end
|
383
|
+
def argument(name, options = nil); end
|
384
|
+
def arguments; end
|
385
|
+
def attr_accessor(*); end
|
386
|
+
def attr_reader(*); end
|
387
|
+
def attr_writer(*); end
|
388
|
+
def baseclass; end
|
389
|
+
def basename; end
|
390
|
+
def build_option(name, options, scope); end
|
391
|
+
def build_options(options, scope); end
|
392
|
+
def built_option_names(target, opt = nil, &block); end
|
393
|
+
def check_default_type!; end
|
394
|
+
def check_default_type; end
|
395
|
+
def check_unknown_options!; end
|
396
|
+
def check_unknown_options; end
|
397
|
+
def check_unknown_options?(config); end
|
398
|
+
def class_at_least_one(*args, &block); end
|
399
|
+
def class_at_least_one_option_names; end
|
400
|
+
def class_exclusive(*args, &block); end
|
401
|
+
def class_exclusive_option_names; end
|
402
|
+
def class_option(name, options = nil); end
|
403
|
+
def class_options(options = nil); end
|
404
|
+
def class_options_help(shell, groups = nil); end
|
405
|
+
def command_scope_member(name, options = nil); end
|
406
|
+
def commands; end
|
407
|
+
def create_command(meth); end
|
408
|
+
def create_task(meth); end
|
409
|
+
def disable_required_check?(command_name); end
|
410
|
+
def dispatch(command, given_args, given_opts, config); end
|
411
|
+
def exit_on_failure?; end
|
412
|
+
def find_and_refresh_command(name); end
|
413
|
+
def find_and_refresh_task(name); end
|
414
|
+
def from_superclass(method, default = nil); end
|
415
|
+
def group(name = nil); end
|
416
|
+
def handle_argument_error(command, error, args, arity); end
|
417
|
+
def handle_no_command_error(command, has_namespace = nil); end
|
418
|
+
def handle_no_task_error(command, has_namespace = nil); end
|
419
|
+
def inherited(klass); end
|
420
|
+
def initialize_added; end
|
421
|
+
def is_thor_reserved_word?(word, type); end
|
422
|
+
def method_added(meth); end
|
423
|
+
def namespace(name = nil); end
|
424
|
+
def no_commands(&block); end
|
425
|
+
def no_commands?; end
|
426
|
+
def no_commands_context; end
|
427
|
+
def no_tasks(&block); end
|
428
|
+
def print_options(shell, options, group_name = nil); end
|
429
|
+
def public_command(*names); end
|
430
|
+
def public_task(*names); end
|
431
|
+
def register_options_relation_for(target, relation, *args, &block); end
|
432
|
+
def remove_argument(*names); end
|
433
|
+
def remove_class_option(*names); end
|
434
|
+
def remove_command(*names); end
|
435
|
+
def remove_task(*names); end
|
436
|
+
def start(given_args = nil, config = nil); end
|
437
|
+
def stop_on_unknown_option?(command_name); end
|
438
|
+
def strict_args_position!; end
|
439
|
+
def strict_args_position; end
|
440
|
+
def strict_args_position?(config); end
|
441
|
+
def tasks; end
|
442
|
+
end
|
443
|
+
module Thor::Actions
|
444
|
+
def _cleanup_options_and_set(options, key); end
|
445
|
+
def _shared_configuration; end
|
446
|
+
def action(instance); end
|
447
|
+
def add_file(destination, *args, &block); end
|
448
|
+
def add_link(destination, *args); end
|
449
|
+
def append_file(path, *args, &block); end
|
450
|
+
def append_to_file(path, *args, &block); end
|
451
|
+
def apply(path, config = nil); end
|
452
|
+
def behavior; end
|
453
|
+
def behavior=(arg0); end
|
454
|
+
def capture(*args); end
|
455
|
+
def chmod(path, mode, config = nil); end
|
456
|
+
def comment_lines(path, flag, *args); end
|
457
|
+
def concat(string); end
|
458
|
+
def copy_file(source, *args, &block); end
|
459
|
+
def create_file(destination, *args, &block); end
|
460
|
+
def create_link(destination, *args); end
|
461
|
+
def destination_root; end
|
462
|
+
def destination_root=(root); end
|
463
|
+
def directory(source, *args, &block); end
|
464
|
+
def empty_directory(destination, config = nil); end
|
465
|
+
def find_in_source_paths(file); end
|
466
|
+
def get(source, *args, &block); end
|
467
|
+
def gsub_file(path, flag, *args, &block); end
|
468
|
+
def in_root; end
|
469
|
+
def initialize(args = nil, options = nil, config = nil); end
|
470
|
+
def inject_into_class(path, klass, *args, &block); end
|
471
|
+
def inject_into_file(destination, *args, &block); end
|
472
|
+
def inject_into_module(path, module_name, *args, &block); end
|
473
|
+
def insert_into_file(destination, *args, &block); end
|
474
|
+
def inside(dir = nil, config = nil, &block); end
|
475
|
+
def link_file(source, *args); end
|
476
|
+
def output_buffer; end
|
477
|
+
def output_buffer=(arg0); end
|
478
|
+
def prepend_file(path, *args, &block); end
|
479
|
+
def prepend_to_file(path, *args, &block); end
|
480
|
+
def relative_to_original_destination_root(path, remove_dot = nil); end
|
481
|
+
def remove_dir(path, config = nil); end
|
482
|
+
def remove_file(path, config = nil); end
|
483
|
+
def run(command, config = nil); end
|
484
|
+
def run_ruby_script(command, config = nil); end
|
485
|
+
def self.included(base); end
|
486
|
+
def source_paths; end
|
487
|
+
def template(source, *args, &block); end
|
488
|
+
def thor(command, *args); end
|
489
|
+
def uncomment_lines(path, flag, *args); end
|
490
|
+
def with_output_buffer(buf = nil); end
|
491
|
+
end
|
492
|
+
class Thor::Actions::EmptyDirectory
|
493
|
+
def base; end
|
494
|
+
def config; end
|
495
|
+
def convert_encoded_instructions(filename); end
|
496
|
+
def destination; end
|
497
|
+
def destination=(destination); end
|
498
|
+
def exists?; end
|
499
|
+
def given_destination; end
|
500
|
+
def initialize(base, destination, config = nil); end
|
501
|
+
def invoke!; end
|
502
|
+
def invoke_with_conflict_check(&block); end
|
503
|
+
def on_conflict_behavior; end
|
504
|
+
def on_file_clash_behavior; end
|
505
|
+
def pretend?; end
|
506
|
+
def relative_destination; end
|
507
|
+
def revoke!; end
|
508
|
+
def say_status(status, color); end
|
509
|
+
end
|
510
|
+
class Thor::Actions::CreateFile < Thor::Actions::EmptyDirectory
|
511
|
+
def data; end
|
512
|
+
def force_on_collision?; end
|
513
|
+
def force_or_skip_or_conflict(force, skip, &block); end
|
514
|
+
def identical?; end
|
515
|
+
def initialize(base, destination, data, config = nil); end
|
516
|
+
def invoke!; end
|
517
|
+
def on_conflict_behavior(&block); end
|
518
|
+
def render; end
|
519
|
+
end
|
520
|
+
class Thor::Actions::CreateLink < Thor::Actions::CreateFile
|
521
|
+
def data; end
|
522
|
+
def exists?; end
|
523
|
+
def identical?; end
|
524
|
+
def invoke!; end
|
525
|
+
end
|
526
|
+
class Thor::Actions::Directory < Thor::Actions::EmptyDirectory
|
527
|
+
def execute!; end
|
528
|
+
def file_level_lookup(previous_lookup); end
|
529
|
+
def files(lookup); end
|
530
|
+
def initialize(base, source, destination = nil, config = nil, &block); end
|
531
|
+
def invoke!; end
|
532
|
+
def revoke!; end
|
533
|
+
def source; end
|
534
|
+
end
|
535
|
+
class Thor::Actions::CapturableERB < ERB
|
536
|
+
def set_eoutvar(compiler, eoutvar = nil); end
|
537
|
+
end
|
538
|
+
class Thor::Actions::InjectIntoFile < Thor::Actions::EmptyDirectory
|
539
|
+
def behavior; end
|
540
|
+
def content; end
|
541
|
+
def flag; end
|
542
|
+
def initialize(base, destination, data, config); end
|
543
|
+
def invoke!; end
|
544
|
+
def replace!(regexp, string, force); end
|
545
|
+
def replacement; end
|
546
|
+
def replacement_present?; end
|
547
|
+
def revoke!; end
|
548
|
+
def say_status(behavior, warning: nil, color: nil); end
|
549
|
+
end
|
550
|
+
module Thor::Actions::ClassMethods
|
551
|
+
def add_runtime_options!; end
|
552
|
+
def source_paths; end
|
553
|
+
def source_paths_for_search; end
|
554
|
+
def source_root(path = nil); end
|
555
|
+
end
|
556
|
+
class Thor::Group
|
557
|
+
def _invoke_for_class_method(klass, command = nil, *args, &block); end
|
558
|
+
def self.banner; end
|
559
|
+
def self.baseclass; end
|
560
|
+
def self.class_options_help(shell, groups = nil); end
|
561
|
+
def self.command_exists?(command_name); end
|
562
|
+
def self.create_command(meth); end
|
563
|
+
def self.create_task(meth); end
|
564
|
+
def self.desc(description = nil); end
|
565
|
+
def self.dispatch(command, given_args, given_opts, config); end
|
566
|
+
def self.get_options_from_invocations(group_options, base_options); end
|
567
|
+
def self.handle_argument_error(command, error, _args, arity); end
|
568
|
+
def self.help(shell); end
|
569
|
+
def self.invocation_blocks; end
|
570
|
+
def self.invocations; end
|
571
|
+
def self.invoke(*names, &block); end
|
572
|
+
def self.invoke_from_option(*names, &block); end
|
573
|
+
def self.printable_commands(*); end
|
574
|
+
def self.printable_tasks(*); end
|
575
|
+
def self.remove_invocation(*names); end
|
576
|
+
def self.self_command; end
|
577
|
+
def self.self_task; end
|
578
|
+
extend Thor::Base::ClassMethods
|
579
|
+
extend Thor::Invocation::ClassMethods
|
580
|
+
include Thor::Base
|
581
|
+
include Thor::Invocation
|
582
|
+
include Thor::Shell
|
583
|
+
end
|