frontman-ssg 0.0.4 → 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 +4 -4
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +13 -2
- data/Rakefile +5 -2
- data/frontman-ssg.gemspec +1 -0
- data/lib/frontman.rb +0 -5
- data/lib/frontman/app.rb +1 -3
- data/lib/frontman/builder/file.rb +1 -3
- data/lib/frontman/commands/init.rb +2 -3
- data/lib/frontman/commands/serve.rb +29 -28
- data/lib/frontman/concerns/forward_calls_to_app.rb +1 -1
- data/lib/frontman/context.rb +68 -57
- data/lib/frontman/data_store.rb +1 -3
- data/lib/frontman/iterator.rb +1 -3
- data/lib/frontman/renderers/erb_renderer.rb +19 -1
- data/lib/frontman/renderers/haml_renderer.rb +29 -1
- data/lib/frontman/renderers/renderer_resolver.rb +18 -5
- data/lib/frontman/renderers/slim_renderer.rb +30 -0
- data/lib/frontman/resource.rb +9 -13
- data/lib/frontman/sitemap_tree.rb +1 -3
- data/lib/frontman/version.rb +1 -1
- data/project-templates/webpack/helpers/assets_helper.rb +1 -3
- data/sorbet/rbi/gems/ast.rbi +48 -0
- data/sorbet/rbi/gems/better_errors.rbi +180 -0
- data/sorbet/rbi/gems/binding_of_caller.rbi +23 -0
- data/sorbet/rbi/gems/coderay.rbi +24 -0
- data/sorbet/rbi/gems/debug_inspector.rbi +19 -0
- data/sorbet/rbi/gems/docile.rbi +32 -0
- data/sorbet/rbi/gems/dotenv.rbi +68 -0
- data/sorbet/rbi/gems/erubi.rbi +27 -0
- data/sorbet/rbi/gems/erubis.rbi +280 -0
- data/sorbet/rbi/gems/haml.rbi +521 -0
- data/sorbet/rbi/gems/htmlentities.rbi +46 -0
- data/sorbet/rbi/gems/jaro_winkler.rbi +15 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm.rbi +29 -0
- data/sorbet/rbi/gems/kramdown.rbi +338 -0
- data/sorbet/rbi/gems/listen.rbi +301 -0
- data/sorbet/rbi/gems/mustermann.rbi +481 -0
- data/sorbet/rbi/gems/nokogiri.rbi +1011 -0
- data/sorbet/rbi/gems/parallel.rbi +82 -0
- data/sorbet/rbi/gems/parser.rbi +1405 -0
- data/sorbet/rbi/gems/rack-protection.rbi +16 -0
- data/sorbet/rbi/gems/rack.rbi +507 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rake.rbi +641 -0
- data/sorbet/rbi/gems/rexml.rbi +93 -0
- data/sorbet/rbi/gems/rouge.rbi +1551 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1893 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1125 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-performance.rbi +274 -0
- data/sorbet/rbi/gems/rubocop.rbi +7403 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
- data/sorbet/rbi/gems/ruby2_keywords.rbi +17 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +405 -0
- data/sorbet/rbi/gems/sinatra.rbi +488 -0
- data/sorbet/rbi/gems/slim.rbi +144 -0
- data/sorbet/rbi/gems/temple.rbi +281 -0
- data/sorbet/rbi/gems/thor.rbi +522 -0
- data/sorbet/rbi/gems/tilt.rbi +82 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/gems/yaml-front-matter.rbi +16 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +2859 -24228
- data/sorbet/rbi/hidden-definitions/hidden.rbi +7111 -40830
- data/sorbet/rbi/sorbet-typed/lib/nokogiri/1.10.10/nokogiri.rbi +1615 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/todo.rbi +6 -0
- data/spec/frontman/bootstrapper_spec.rb +1 -1
- data/spec/frontman/context_spec.rb +45 -6
- data/spec/frontman/mocks/context.haml +18 -0
- data/spec/frontman/renderers/slim_renderer_spec.rb +12 -0
- metadata +66 -4
@@ -0,0 +1,144 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
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/slim/all/slim.rbi
|
9
|
+
#
|
10
|
+
# slim-4.1.0
|
11
|
+
|
12
|
+
module Slim
|
13
|
+
end
|
14
|
+
class Slim::Parser < Temple::Parser
|
15
|
+
def call(str); end
|
16
|
+
def deprecated_syntax(message); end
|
17
|
+
def expect_next_line; end
|
18
|
+
def get_indent(line); end
|
19
|
+
def initialize(opts = nil); end
|
20
|
+
def next_line; end
|
21
|
+
def parse_attributes(attributes = nil); end
|
22
|
+
def parse_broken_line; end
|
23
|
+
def parse_comment_block; end
|
24
|
+
def parse_line; end
|
25
|
+
def parse_line_indicators; end
|
26
|
+
def parse_quoted_attribute(quote); end
|
27
|
+
def parse_ruby_code(outer_delimiter); end
|
28
|
+
def parse_tag(tag); end
|
29
|
+
def parse_text_block(first_line = nil, text_indent = nil); end
|
30
|
+
def reset(lines = nil, stacks = nil); end
|
31
|
+
def syntax_error!(message); end
|
32
|
+
def unknown_line_indicator; end
|
33
|
+
end
|
34
|
+
class Slim::Parser::SyntaxError < StandardError
|
35
|
+
def column; end
|
36
|
+
def error; end
|
37
|
+
def file; end
|
38
|
+
def initialize(error, file, line, lineno, column); end
|
39
|
+
def line; end
|
40
|
+
def lineno; end
|
41
|
+
def to_s; end
|
42
|
+
end
|
43
|
+
class Slim::Filter < Temple::HTML::Filter
|
44
|
+
def on_slim_control(code, content); end
|
45
|
+
def on_slim_embedded(type, content, attrs); end
|
46
|
+
def on_slim_output(escape, code, content); end
|
47
|
+
def on_slim_text(type, content); end
|
48
|
+
end
|
49
|
+
class Slim::DoInserter < Slim::Filter
|
50
|
+
def on_slim_control(code, content); end
|
51
|
+
def on_slim_output(escape, code, content); end
|
52
|
+
end
|
53
|
+
class Slim::EndInserter < Slim::Filter
|
54
|
+
def append_end(result); end
|
55
|
+
def control?(exp); end
|
56
|
+
def on_multi(*exps); end
|
57
|
+
end
|
58
|
+
class Slim::TextCollector < Slim::Filter
|
59
|
+
def call(exp); end
|
60
|
+
def on_slim_interpolate(text); end
|
61
|
+
end
|
62
|
+
class Slim::NewlineCollector < Slim::Filter
|
63
|
+
def call(exp); end
|
64
|
+
def on_newline; end
|
65
|
+
end
|
66
|
+
class Slim::OutputProtector < Slim::Filter
|
67
|
+
def call(exp); end
|
68
|
+
def on_slim_output(escape, text, content); end
|
69
|
+
def on_static(text); end
|
70
|
+
def unprotect(text); end
|
71
|
+
end
|
72
|
+
class Slim::Embedded < Slim::Filter
|
73
|
+
def enabled?(name); end
|
74
|
+
def initialize(opts = nil); end
|
75
|
+
def normalize_engine_list(list); end
|
76
|
+
def on_slim_embedded(name, body, attrs); end
|
77
|
+
def self.create(name, options); end
|
78
|
+
def self.engines; end
|
79
|
+
def self.register(name, klass, *option_filter); end
|
80
|
+
end
|
81
|
+
class Slim::Embedded::Engine < Slim::Filter
|
82
|
+
def collect_newlines(body); end
|
83
|
+
def collect_text(body); end
|
84
|
+
end
|
85
|
+
class Slim::Embedded::TiltEngine < Slim::Embedded::Engine
|
86
|
+
def on_slim_embedded(engine, body, attrs); end
|
87
|
+
def tilt_render(tilt_engine, tilt_options, text); end
|
88
|
+
end
|
89
|
+
class Slim::Embedded::SassEngine < Slim::Embedded::TiltEngine
|
90
|
+
def tilt_render(tilt_engine, tilt_options, text); end
|
91
|
+
end
|
92
|
+
class Slim::Embedded::InterpolateTiltEngine < Slim::Embedded::TiltEngine
|
93
|
+
def collect_text(body); end
|
94
|
+
def interpolation; end
|
95
|
+
def output_protector; end
|
96
|
+
def tilt_render(tilt_engine, tilt_options, text); end
|
97
|
+
end
|
98
|
+
class Slim::Embedded::TagEngine < Slim::Embedded::Engine
|
99
|
+
def on_slim_embedded(engine, body, attrs); end
|
100
|
+
end
|
101
|
+
class Slim::Embedded::JavaScriptEngine < Slim::Embedded::TagEngine
|
102
|
+
def on_slim_embedded(engine, body, attrs); end
|
103
|
+
end
|
104
|
+
class Slim::Embedded::RubyEngine < Slim::Embedded::Engine
|
105
|
+
def on_slim_embedded(engine, body, attrs); end
|
106
|
+
end
|
107
|
+
class Slim::Interpolation < Slim::Filter
|
108
|
+
def on_slim_interpolate(string); end
|
109
|
+
end
|
110
|
+
class Slim::Controls < Slim::Filter
|
111
|
+
def on_slim_control(code, content); end
|
112
|
+
def on_slim_output(escape, code, content); end
|
113
|
+
def on_slim_text(type, content); end
|
114
|
+
end
|
115
|
+
module Slim::Splat
|
116
|
+
end
|
117
|
+
class Slim::Splat::Filter < Slim::Filter
|
118
|
+
def call(exp); end
|
119
|
+
def make_builder(attrs); end
|
120
|
+
def on_html_attrs(*attrs); end
|
121
|
+
def on_html_tag(name, attrs, content = nil); end
|
122
|
+
def splat?(attr); end
|
123
|
+
end
|
124
|
+
class Slim::InvalidAttributeNameError < StandardError
|
125
|
+
end
|
126
|
+
class Slim::Splat::Builder
|
127
|
+
def attr(name, value); end
|
128
|
+
def build_attrs; end
|
129
|
+
def build_tag(&block); end
|
130
|
+
def code_attr(name, escape, value); end
|
131
|
+
def escape_html(escape, value); end
|
132
|
+
def hyphen_attr(name, escape, value); end
|
133
|
+
def initialize(options); end
|
134
|
+
def splat_attrs(splat); end
|
135
|
+
end
|
136
|
+
class Slim::CodeAttributes < Slim::Filter
|
137
|
+
def on_html_attr(name, value); end
|
138
|
+
def on_html_attrs(*attrs); end
|
139
|
+
def on_slim_attrvalue(escape, code); end
|
140
|
+
end
|
141
|
+
class Slim::Engine < Temple::Engine
|
142
|
+
end
|
143
|
+
class Slim::Template < Temple::Templates::Tilt
|
144
|
+
end
|
@@ -0,0 +1,281 @@
|
|
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/temple/all/temple.rbi
|
9
|
+
#
|
10
|
+
# temple-0.8.2
|
11
|
+
|
12
|
+
module Temple
|
13
|
+
end
|
14
|
+
module Temple::StaticAnalyzer
|
15
|
+
def self.available?; end
|
16
|
+
def self.static?(code); end
|
17
|
+
def self.syntax_error?(code); end
|
18
|
+
end
|
19
|
+
class Temple::StaticAnalyzer::SyntaxChecker < Ripper
|
20
|
+
def on_parse_error(*arg0); end
|
21
|
+
end
|
22
|
+
class Temple::StaticAnalyzer::SyntaxChecker::ParseError < StandardError
|
23
|
+
end
|
24
|
+
module Temple::Mixins
|
25
|
+
end
|
26
|
+
module Temple::ERB
|
27
|
+
end
|
28
|
+
module Temple::Generators
|
29
|
+
end
|
30
|
+
module Temple::Filters
|
31
|
+
end
|
32
|
+
module Temple::HTML
|
33
|
+
end
|
34
|
+
module Temple::Utils
|
35
|
+
def empty_exp?(exp); end
|
36
|
+
def escape_html(html); end
|
37
|
+
def escape_html_safe(html); end
|
38
|
+
def indent_dynamic(text, indent_next, indent, pre_tags = nil); end
|
39
|
+
def unique_name(prefix = nil); end
|
40
|
+
extend Temple::Utils
|
41
|
+
end
|
42
|
+
module Temple::Mixins::CoreDispatcher
|
43
|
+
def on_capture(name, exp); end
|
44
|
+
def on_multi(*exps); end
|
45
|
+
end
|
46
|
+
module Temple::Mixins::EscapeDispatcher
|
47
|
+
def on_escape(flag, exp); end
|
48
|
+
end
|
49
|
+
module Temple::Mixins::ControlFlowDispatcher
|
50
|
+
def on_block(code, content); end
|
51
|
+
def on_case(arg, *cases); end
|
52
|
+
def on_cond(*cases); end
|
53
|
+
def on_if(condition, *cases); end
|
54
|
+
end
|
55
|
+
module Temple::Mixins::CompiledDispatcher
|
56
|
+
def call(exp); end
|
57
|
+
def compile(exp); end
|
58
|
+
def dispatched_methods; end
|
59
|
+
def dispatcher(exp); end
|
60
|
+
def replace_dispatcher(exp); end
|
61
|
+
end
|
62
|
+
class Temple::Mixins::CompiledDispatcher::DispatchNode < Hash
|
63
|
+
def compile(level = nil, call_parent = nil); end
|
64
|
+
def initialize; end
|
65
|
+
def method; end
|
66
|
+
def method=(arg0); end
|
67
|
+
end
|
68
|
+
module Temple::Mixins::Dispatcher
|
69
|
+
include Temple::Mixins::CompiledDispatcher
|
70
|
+
include Temple::Mixins::ControlFlowDispatcher
|
71
|
+
include Temple::Mixins::CoreDispatcher
|
72
|
+
include Temple::Mixins::EscapeDispatcher
|
73
|
+
end
|
74
|
+
module Temple::Mixins::ClassOptions
|
75
|
+
def default_options; end
|
76
|
+
def define_deprecated_options(*opts); end
|
77
|
+
def define_options(*opts); end
|
78
|
+
def disable_option_validator!; end
|
79
|
+
def options; end
|
80
|
+
def set_default_options(opts); end
|
81
|
+
def set_options(opts); end
|
82
|
+
end
|
83
|
+
module Temple::Mixins::ThreadOptions
|
84
|
+
def thread_options; end
|
85
|
+
def thread_options_key; end
|
86
|
+
def with_options(options); end
|
87
|
+
end
|
88
|
+
module Temple::Mixins::Options
|
89
|
+
def initialize(opts = nil); end
|
90
|
+
def options; end
|
91
|
+
def self.included(base); end
|
92
|
+
end
|
93
|
+
class Temple::Filter
|
94
|
+
extend Temple::Mixins::ClassOptions
|
95
|
+
extend Temple::Mixins::ThreadOptions
|
96
|
+
include Temple::Mixins::Dispatcher
|
97
|
+
include Temple::Mixins::Options
|
98
|
+
include Temple::Utils
|
99
|
+
end
|
100
|
+
class Temple::ImmutableMap
|
101
|
+
def [](key); end
|
102
|
+
def each; end
|
103
|
+
def include?(key); end
|
104
|
+
def initialize(*map); end
|
105
|
+
def keys; end
|
106
|
+
def to_hash; end
|
107
|
+
def values; end
|
108
|
+
include Enumerable
|
109
|
+
end
|
110
|
+
class Temple::MutableMap < Temple::ImmutableMap
|
111
|
+
def []=(key, value); end
|
112
|
+
def initialize(*map); end
|
113
|
+
def update(map); end
|
114
|
+
end
|
115
|
+
class Temple::OptionMap < Temple::MutableMap
|
116
|
+
def []=(key, value); end
|
117
|
+
def add_deprecated_keys(*keys); end
|
118
|
+
def add_valid_keys(*keys); end
|
119
|
+
def deprecated_key?(key); end
|
120
|
+
def initialize(*map, &block); end
|
121
|
+
def update(map); end
|
122
|
+
def valid_key?(key); end
|
123
|
+
def valid_keys; end
|
124
|
+
def validate_key!(key); end
|
125
|
+
def validate_map!(map); end
|
126
|
+
end
|
127
|
+
module Temple::Mixins::EngineDSL
|
128
|
+
def after(name, *args, &block); end
|
129
|
+
def append(*args, &block); end
|
130
|
+
def before(name, *args, &block); end
|
131
|
+
def chain_class_constructor(filter, local_options); end
|
132
|
+
def chain_element(args, block); end
|
133
|
+
def chain_modified!; end
|
134
|
+
def chain_name(name); end
|
135
|
+
def chain_proc_constructor(name, filter); end
|
136
|
+
def filter(name, *options); end
|
137
|
+
def generator(name, *options); end
|
138
|
+
def html(name, *options); end
|
139
|
+
def prepend(*args, &block); end
|
140
|
+
def remove(name); end
|
141
|
+
def replace(name, *args, &block); end
|
142
|
+
def use(*args, &block); end
|
143
|
+
end
|
144
|
+
class Temple::Engine
|
145
|
+
def call(input); end
|
146
|
+
def call_chain; end
|
147
|
+
def chain; end
|
148
|
+
def chain_modified!; end
|
149
|
+
def initialize(opts = nil); end
|
150
|
+
def self.chain; end
|
151
|
+
extend Temple::Mixins::ClassOptions
|
152
|
+
extend Temple::Mixins::EngineDSL
|
153
|
+
extend Temple::Mixins::ThreadOptions
|
154
|
+
include Temple::Mixins::EngineDSL
|
155
|
+
include Temple::Mixins::Options
|
156
|
+
end
|
157
|
+
class Temple::Filters::ControlFlow < Temple::Filter
|
158
|
+
def on_block(code, exp); end
|
159
|
+
def on_case(arg, *cases); end
|
160
|
+
def on_cond(*cases); end
|
161
|
+
def on_if(condition, yes, no = nil); end
|
162
|
+
end
|
163
|
+
class Temple::Filters::MultiFlattener < Temple::Filter
|
164
|
+
def on_multi(*exps); end
|
165
|
+
end
|
166
|
+
class Temple::Filters::StaticMerger < Temple::Filter
|
167
|
+
def on_multi(*exps); end
|
168
|
+
end
|
169
|
+
class Temple::Parser
|
170
|
+
extend Temple::Mixins::ClassOptions
|
171
|
+
extend Temple::Mixins::ThreadOptions
|
172
|
+
include Temple::Mixins::Options
|
173
|
+
include Temple::Utils
|
174
|
+
end
|
175
|
+
module Temple::HTML::Dispatcher
|
176
|
+
def on_html_attr(name, content); end
|
177
|
+
def on_html_attrs(*attrs); end
|
178
|
+
def on_html_comment(content); end
|
179
|
+
def on_html_condcomment(condition, content); end
|
180
|
+
def on_html_js(content); end
|
181
|
+
def on_html_tag(name, attrs, content = nil); end
|
182
|
+
end
|
183
|
+
class Temple::HTML::Filter < Temple::Filter
|
184
|
+
def contains_nonempty_static?(exp); end
|
185
|
+
include Temple::HTML::Dispatcher
|
186
|
+
end
|
187
|
+
class Temple::Generator
|
188
|
+
def buffer; end
|
189
|
+
def call(exp); end
|
190
|
+
def capture_generator; end
|
191
|
+
def concat(str); end
|
192
|
+
def create_buffer; end
|
193
|
+
def on(*exp); end
|
194
|
+
def on_capture(name, exp); end
|
195
|
+
def on_code(code); end
|
196
|
+
def on_dynamic(code); end
|
197
|
+
def on_multi(*exp); end
|
198
|
+
def on_newline; end
|
199
|
+
def on_static(text); end
|
200
|
+
def postamble; end
|
201
|
+
def preamble; end
|
202
|
+
def restore_buffer; end
|
203
|
+
def return_buffer; end
|
204
|
+
def save_buffer; end
|
205
|
+
extend Temple::Mixins::ClassOptions
|
206
|
+
extend Temple::Mixins::ThreadOptions
|
207
|
+
include Temple::Mixins::CompiledDispatcher
|
208
|
+
include Temple::Mixins::Options
|
209
|
+
include Temple::Utils
|
210
|
+
end
|
211
|
+
class Temple::Generators::Array < Temple::Generator
|
212
|
+
def create_buffer; end
|
213
|
+
def return_buffer; end
|
214
|
+
end
|
215
|
+
class Temple::Generators::ArrayBuffer < Temple::Generators::Array
|
216
|
+
def call(exp); end
|
217
|
+
def return_buffer; end
|
218
|
+
end
|
219
|
+
class Temple::Generators::StringBuffer < Temple::Generators::ArrayBuffer
|
220
|
+
def create_buffer; end
|
221
|
+
def on_dynamic(code); end
|
222
|
+
def return_buffer; end
|
223
|
+
end
|
224
|
+
class Temple::Filters::Encoding < Temple::Parser
|
225
|
+
def call(s); end
|
226
|
+
end
|
227
|
+
class Temple::Filters::RemoveBOM < Temple::Parser
|
228
|
+
def call(s); end
|
229
|
+
end
|
230
|
+
class Temple::HTML::AttributeSorter < Temple::HTML::Filter
|
231
|
+
def call(exp); end
|
232
|
+
def on_html_attrs(*attrs); end
|
233
|
+
end
|
234
|
+
class Temple::HTML::AttributeMerger < Temple::HTML::Filter
|
235
|
+
def on_html_attrs(*attrs); end
|
236
|
+
end
|
237
|
+
class Temple::HTML::Fast < Temple::HTML::Filter
|
238
|
+
def initialize(opts = nil); end
|
239
|
+
def on_html_attr(name, value); end
|
240
|
+
def on_html_attrs(*attrs); end
|
241
|
+
def on_html_comment(content); end
|
242
|
+
def on_html_condcomment(condition, content); end
|
243
|
+
def on_html_doctype(type); end
|
244
|
+
def on_html_js(content); end
|
245
|
+
def on_html_tag(name, attrs, content = nil); end
|
246
|
+
end
|
247
|
+
class Temple::HTML::Pretty < Temple::HTML::Fast
|
248
|
+
def call(exp); end
|
249
|
+
def indent; end
|
250
|
+
def initialize(opts = nil); end
|
251
|
+
def on_dynamic(code); end
|
252
|
+
def on_html_comment(content); end
|
253
|
+
def on_html_doctype(type); end
|
254
|
+
def on_html_tag(name, attrs, content = nil); end
|
255
|
+
def on_static(content); end
|
256
|
+
def preamble; end
|
257
|
+
def tag_indent(name); end
|
258
|
+
end
|
259
|
+
class Temple::Filters::Escapable < Temple::Filter
|
260
|
+
def initialize(opts = nil); end
|
261
|
+
def on_dynamic(value); end
|
262
|
+
def on_escape(flag, exp); end
|
263
|
+
def on_static(value); end
|
264
|
+
end
|
265
|
+
module Temple::Templates
|
266
|
+
def self.method_missing(name, engine, options = nil); end
|
267
|
+
end
|
268
|
+
module Temple::Mixins::Template
|
269
|
+
def compile(code, options); end
|
270
|
+
def create(engine, options); end
|
271
|
+
def register_as(*names); end
|
272
|
+
include Temple::Mixins::ClassOptions
|
273
|
+
end
|
274
|
+
class Temple::Templates::Tilt < Tilt::Template
|
275
|
+
def precompiled_template(locals = nil); end
|
276
|
+
def prepare; end
|
277
|
+
def self.default_mime_type; end
|
278
|
+
def self.default_mime_type=(mime_type); end
|
279
|
+
def self.register_as(*names); end
|
280
|
+
extend Temple::Mixins::Template
|
281
|
+
end
|
@@ -0,0 +1,522 @@
|
|
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-0.20.3
|
11
|
+
|
12
|
+
class Thor
|
13
|
+
def self.banner(command, namespace = nil, subcommand = nil); end
|
14
|
+
def self.baseclass; end
|
15
|
+
def self.check_unknown_options!(options = nil); end
|
16
|
+
def self.check_unknown_options?(config); end
|
17
|
+
def self.command_help(shell, command_name); end
|
18
|
+
def self.create_command(meth); end
|
19
|
+
def self.create_task(meth); end
|
20
|
+
def self.default_command(meth = nil); end
|
21
|
+
def self.default_task(meth = nil); end
|
22
|
+
def self.desc(usage, description, options = nil); end
|
23
|
+
def self.disable_required_check!(*command_names); end
|
24
|
+
def self.disable_required_check; end
|
25
|
+
def self.disable_required_check?(command); end
|
26
|
+
def self.dispatch(meth, given_args, given_opts, config); end
|
27
|
+
def self.dynamic_command_class; end
|
28
|
+
def self.find_command_possibilities(meth); end
|
29
|
+
def self.find_task_possibilities(meth); end
|
30
|
+
def self.help(shell, subcommand = nil); end
|
31
|
+
def self.initialize_added; end
|
32
|
+
def self.long_desc(long_description, options = nil); end
|
33
|
+
def self.map(mappings = nil); end
|
34
|
+
def self.method_option(name, options = nil); end
|
35
|
+
def self.method_options(options = nil); end
|
36
|
+
def self.normalize_command_name(meth); end
|
37
|
+
def self.normalize_task_name(meth); end
|
38
|
+
def self.option(name, options = nil); end
|
39
|
+
def self.options(options = nil); end
|
40
|
+
def self.package_name(name, _ = nil); end
|
41
|
+
def self.printable_commands(all = nil, subcommand = nil); end
|
42
|
+
def self.printable_tasks(all = nil, subcommand = nil); end
|
43
|
+
def self.register(klass, subcommand_name, usage, description, options = nil); end
|
44
|
+
def self.retrieve_command_name(args); end
|
45
|
+
def self.retrieve_task_name(args); end
|
46
|
+
def self.stop_on_unknown_option!(*command_names); end
|
47
|
+
def self.stop_on_unknown_option; end
|
48
|
+
def self.stop_on_unknown_option?(command); end
|
49
|
+
def self.subcommand(subcommand, subcommand_class); end
|
50
|
+
def self.subcommand_classes; end
|
51
|
+
def self.subcommand_help(cmd); end
|
52
|
+
def self.subcommands; end
|
53
|
+
def self.subtask(subcommand, subcommand_class); end
|
54
|
+
def self.subtask_help(cmd); end
|
55
|
+
def self.subtasks; end
|
56
|
+
def self.task_help(shell, command_name); end
|
57
|
+
extend Thor::Base::ClassMethods
|
58
|
+
extend Thor::Invocation::ClassMethods
|
59
|
+
include Thor::Base
|
60
|
+
include Thor::Invocation
|
61
|
+
include Thor::Shell
|
62
|
+
end
|
63
|
+
class Anonymous_Struct_11 < Struct
|
64
|
+
def ancestor_name; end
|
65
|
+
def ancestor_name=(_); end
|
66
|
+
def description; end
|
67
|
+
def description=(_); end
|
68
|
+
def long_description; end
|
69
|
+
def long_description=(_); end
|
70
|
+
def name; end
|
71
|
+
def name=(_); end
|
72
|
+
def options; end
|
73
|
+
def options=(_); end
|
74
|
+
def self.[](*arg0); end
|
75
|
+
def self.inspect; end
|
76
|
+
def self.members; end
|
77
|
+
def self.new(*arg0); end
|
78
|
+
def usage; end
|
79
|
+
def usage=(_); end
|
80
|
+
end
|
81
|
+
class Thor::Command < Anonymous_Struct_11
|
82
|
+
def formatted_usage(klass, namespace = nil, subcommand = nil); end
|
83
|
+
def handle_argument_error?(instance, error, caller); end
|
84
|
+
def handle_no_method_error?(instance, error, caller); end
|
85
|
+
def hidden?; end
|
86
|
+
def initialize(name, description, long_description, usage, options = nil); end
|
87
|
+
def initialize_copy(other); end
|
88
|
+
def local_method?(instance, name); end
|
89
|
+
def not_debugging?(instance); end
|
90
|
+
def private_method?(instance); end
|
91
|
+
def public_method?(instance); end
|
92
|
+
def required_options; end
|
93
|
+
def run(instance, args = nil); end
|
94
|
+
def sans_backtrace(backtrace, caller); end
|
95
|
+
end
|
96
|
+
class Thor::HiddenCommand < Thor::Command
|
97
|
+
def hidden?; end
|
98
|
+
end
|
99
|
+
class Thor::DynamicCommand < Thor::Command
|
100
|
+
def initialize(name, options = nil); end
|
101
|
+
def run(instance, args = nil); end
|
102
|
+
end
|
103
|
+
module Thor::CoreExt
|
104
|
+
end
|
105
|
+
class Thor::CoreExt::HashWithIndifferentAccess < Hash
|
106
|
+
def [](key); end
|
107
|
+
def []=(key, value); end
|
108
|
+
def convert_key(key); end
|
109
|
+
def delete(key); end
|
110
|
+
def fetch(key, *args); end
|
111
|
+
def initialize(hash = nil); end
|
112
|
+
def key?(key); end
|
113
|
+
def merge!(other); end
|
114
|
+
def merge(other); end
|
115
|
+
def method_missing(method, *args); end
|
116
|
+
def replace(other_hash); end
|
117
|
+
def reverse_merge!(other_hash); end
|
118
|
+
def reverse_merge(other); end
|
119
|
+
def to_hash; end
|
120
|
+
def values_at(*indices); end
|
121
|
+
end
|
122
|
+
class Thor::CoreExt::OrderedHash < Hash
|
123
|
+
end
|
124
|
+
class Thor::Error < StandardError
|
125
|
+
end
|
126
|
+
class Thor::UndefinedCommandError < Thor::Error
|
127
|
+
def all_commands; end
|
128
|
+
def command; end
|
129
|
+
def initialize(command, all_commands, namespace); end
|
130
|
+
end
|
131
|
+
class Thor::UndefinedCommandError::SpellChecker
|
132
|
+
def corrections; end
|
133
|
+
def error; end
|
134
|
+
def initialize(error); end
|
135
|
+
def spell_checker; end
|
136
|
+
end
|
137
|
+
class Thor::AmbiguousCommandError < Thor::Error
|
138
|
+
end
|
139
|
+
class Thor::InvocationError < Thor::Error
|
140
|
+
end
|
141
|
+
class Thor::UnknownArgumentError < Thor::Error
|
142
|
+
def initialize(switches, unknown); end
|
143
|
+
def switches; end
|
144
|
+
def unknown; end
|
145
|
+
end
|
146
|
+
class Thor::UnknownArgumentError::SpellChecker
|
147
|
+
def corrections; end
|
148
|
+
def error; end
|
149
|
+
def initialize(error); end
|
150
|
+
def spell_checker; end
|
151
|
+
end
|
152
|
+
class Thor::RequiredArgumentMissingError < Thor::InvocationError
|
153
|
+
end
|
154
|
+
class Thor::MalformattedArgumentError < Thor::InvocationError
|
155
|
+
end
|
156
|
+
module Thor::Invocation
|
157
|
+
def _parse_initialization_options(args, opts, config); end
|
158
|
+
def _retrieve_class_and_command(name, sent_command = nil); end
|
159
|
+
def _retrieve_class_and_task(name, sent_command = nil); end
|
160
|
+
def _shared_configuration; end
|
161
|
+
def current_command_chain; end
|
162
|
+
def initialize(args = nil, options = nil, config = nil, &block); end
|
163
|
+
def invoke(name = nil, *args); end
|
164
|
+
def invoke_all; end
|
165
|
+
def invoke_command(command, *args); end
|
166
|
+
def invoke_task(command, *args); end
|
167
|
+
def invoke_with_padding(*args); end
|
168
|
+
def self.included(base); end
|
169
|
+
end
|
170
|
+
module Thor::Invocation::ClassMethods
|
171
|
+
def prepare_for_invocation(key, name); end
|
172
|
+
end
|
173
|
+
class Thor::Argument
|
174
|
+
def banner; end
|
175
|
+
def default; end
|
176
|
+
def default_banner; end
|
177
|
+
def description; end
|
178
|
+
def enum; end
|
179
|
+
def human_name; end
|
180
|
+
def initialize(name, options = nil); end
|
181
|
+
def name; end
|
182
|
+
def required; end
|
183
|
+
def required?; end
|
184
|
+
def show_default?; end
|
185
|
+
def type; end
|
186
|
+
def usage; end
|
187
|
+
def valid_type?(type); end
|
188
|
+
def validate!; end
|
189
|
+
end
|
190
|
+
class Thor::Arguments
|
191
|
+
def check_requirement!; end
|
192
|
+
def current_is_value?; end
|
193
|
+
def initialize(arguments = nil); end
|
194
|
+
def last?; end
|
195
|
+
def no_or_skip?(arg); end
|
196
|
+
def parse(args); end
|
197
|
+
def parse_array(name); end
|
198
|
+
def parse_hash(name); end
|
199
|
+
def parse_numeric(name); end
|
200
|
+
def parse_string(name); end
|
201
|
+
def peek; end
|
202
|
+
def remaining; end
|
203
|
+
def self.parse(*args); end
|
204
|
+
def self.split(args); end
|
205
|
+
def shift; end
|
206
|
+
def unshift(arg); end
|
207
|
+
end
|
208
|
+
class Thor::Option < Thor::Argument
|
209
|
+
def aliases; end
|
210
|
+
def array?; end
|
211
|
+
def boolean?; end
|
212
|
+
def dasherize(str); end
|
213
|
+
def dasherized?; end
|
214
|
+
def group; end
|
215
|
+
def hash?; end
|
216
|
+
def hide; end
|
217
|
+
def human_name; end
|
218
|
+
def initialize(name, options = nil); end
|
219
|
+
def lazy_default; end
|
220
|
+
def numeric?; end
|
221
|
+
def self.parse(key, value); end
|
222
|
+
def string?; end
|
223
|
+
def switch_name; end
|
224
|
+
def undasherize(str); end
|
225
|
+
def usage(padding = nil); end
|
226
|
+
def validate!; end
|
227
|
+
def validate_default_type!; end
|
228
|
+
end
|
229
|
+
class Thor::Options < Thor::Arguments
|
230
|
+
def check_unknown!; end
|
231
|
+
def current_is_switch?; end
|
232
|
+
def current_is_switch_formatted?; end
|
233
|
+
def current_is_value?; end
|
234
|
+
def initialize(hash_options = nil, defaults = nil, stop_on_unknown = nil, disable_required_check = nil); end
|
235
|
+
def normalize_switch(arg); end
|
236
|
+
def parse(args); end
|
237
|
+
def parse_boolean(switch); end
|
238
|
+
def parse_peek(switch, option); end
|
239
|
+
def parsing_options?; end
|
240
|
+
def peek; end
|
241
|
+
def remaining; end
|
242
|
+
def self.to_switches(options); end
|
243
|
+
def switch?(arg); end
|
244
|
+
def switch_option(arg); end
|
245
|
+
end
|
246
|
+
module Thor::Base
|
247
|
+
def args; end
|
248
|
+
def args=(arg0); end
|
249
|
+
def initialize(args = nil, local_options = nil, config = nil); end
|
250
|
+
def options; end
|
251
|
+
def options=(arg0); end
|
252
|
+
def parent_options; end
|
253
|
+
def parent_options=(arg0); end
|
254
|
+
def self.included(base); end
|
255
|
+
def self.register_klass_file(klass); end
|
256
|
+
def self.shell; end
|
257
|
+
def self.shell=(arg0); end
|
258
|
+
def self.subclass_files; end
|
259
|
+
def self.subclasses; end
|
260
|
+
end
|
261
|
+
module Thor::Shell
|
262
|
+
def _shared_configuration; end
|
263
|
+
def ask(*args, &block); end
|
264
|
+
def error(*args, &block); end
|
265
|
+
def file_collision(*args, &block); end
|
266
|
+
def initialize(args = nil, options = nil, config = nil); end
|
267
|
+
def no?(*args, &block); end
|
268
|
+
def print_in_columns(*args, &block); end
|
269
|
+
def print_table(*args, &block); end
|
270
|
+
def print_wrapped(*args, &block); end
|
271
|
+
def say(*args, &block); end
|
272
|
+
def say_status(*args, &block); end
|
273
|
+
def set_color(*args, &block); end
|
274
|
+
def shell; end
|
275
|
+
def shell=(arg0); end
|
276
|
+
def terminal_width(*args, &block); end
|
277
|
+
def with_padding; end
|
278
|
+
def yes?(*args, &block); end
|
279
|
+
end
|
280
|
+
module Thor::LineEditor
|
281
|
+
def self.best_available; end
|
282
|
+
def self.readline(prompt, options = nil); end
|
283
|
+
end
|
284
|
+
class Thor::LineEditor::Basic
|
285
|
+
def echo?; end
|
286
|
+
def get_input; end
|
287
|
+
def initialize(prompt, options); end
|
288
|
+
def options; end
|
289
|
+
def prompt; end
|
290
|
+
def readline; end
|
291
|
+
def self.available?; end
|
292
|
+
end
|
293
|
+
class Thor::LineEditor::Readline < Thor::LineEditor::Basic
|
294
|
+
def add_to_history?; end
|
295
|
+
def completion_options; end
|
296
|
+
def completion_proc; end
|
297
|
+
def readline; end
|
298
|
+
def self.available?; end
|
299
|
+
def use_path_completion?; end
|
300
|
+
end
|
301
|
+
class Thor::LineEditor::Readline::PathCompletion
|
302
|
+
def absolute_matches; end
|
303
|
+
def base_path; end
|
304
|
+
def glob_pattern; end
|
305
|
+
def initialize(text); end
|
306
|
+
def matches; end
|
307
|
+
def relative_matches; end
|
308
|
+
def text; end
|
309
|
+
end
|
310
|
+
module Thor::Sandbox
|
311
|
+
end
|
312
|
+
module Thor::Util
|
313
|
+
def self.camel_case(str); end
|
314
|
+
def self.escape_globs(path); end
|
315
|
+
def self.find_by_namespace(namespace); end
|
316
|
+
def self.find_class_and_command_by_namespace(namespace, fallback = nil); end
|
317
|
+
def self.find_class_and_task_by_namespace(namespace, fallback = nil); end
|
318
|
+
def self.globs_for(path); end
|
319
|
+
def self.load_thorfile(path, content = nil, debug = nil); end
|
320
|
+
def self.namespace_from_thor_class(constant); end
|
321
|
+
def self.namespaces_in_content(contents, file = nil); end
|
322
|
+
def self.ruby_command; end
|
323
|
+
def self.snake_case(str); end
|
324
|
+
def self.thor_classes_in(klass); end
|
325
|
+
def self.thor_root; end
|
326
|
+
def self.thor_root_glob; end
|
327
|
+
def self.user_home; end
|
328
|
+
end
|
329
|
+
module Thor::Base::ClassMethods
|
330
|
+
def all_commands; end
|
331
|
+
def all_tasks; end
|
332
|
+
def argument(name, options = nil); end
|
333
|
+
def arguments; end
|
334
|
+
def attr_accessor(*arg0); end
|
335
|
+
def attr_reader(*arg0); end
|
336
|
+
def attr_writer(*arg0); end
|
337
|
+
def baseclass; end
|
338
|
+
def basename; end
|
339
|
+
def build_option(name, options, scope); end
|
340
|
+
def build_options(options, scope); end
|
341
|
+
def check_default_type!; end
|
342
|
+
def check_default_type; end
|
343
|
+
def check_default_type?; end
|
344
|
+
def check_unknown_options!; end
|
345
|
+
def check_unknown_options; end
|
346
|
+
def check_unknown_options?(config); end
|
347
|
+
def class_option(name, options = nil); end
|
348
|
+
def class_options(options = nil); end
|
349
|
+
def class_options_help(shell, groups = nil); end
|
350
|
+
def commands; end
|
351
|
+
def create_command(meth); end
|
352
|
+
def create_task(meth); end
|
353
|
+
def disable_required_check?(command_name); end
|
354
|
+
def dispatch(command, given_args, given_opts, config); end
|
355
|
+
def exit_on_failure?; end
|
356
|
+
def find_and_refresh_command(name); end
|
357
|
+
def find_and_refresh_task(name); end
|
358
|
+
def from_superclass(method, default = nil); end
|
359
|
+
def group(name = nil); end
|
360
|
+
def handle_argument_error(command, error, args, arity); end
|
361
|
+
def handle_no_command_error(command, has_namespace = nil); end
|
362
|
+
def handle_no_task_error(command, has_namespace = nil); end
|
363
|
+
def inherited(klass); end
|
364
|
+
def initialize_added; end
|
365
|
+
def is_thor_reserved_word?(word, type); end
|
366
|
+
def method_added(meth); end
|
367
|
+
def namespace(name = nil); end
|
368
|
+
def no_commands; end
|
369
|
+
def no_tasks; end
|
370
|
+
def print_options(shell, options, group_name = nil); end
|
371
|
+
def public_command(*names); end
|
372
|
+
def public_task(*names); end
|
373
|
+
def remove_argument(*names); end
|
374
|
+
def remove_class_option(*names); end
|
375
|
+
def remove_command(*names); end
|
376
|
+
def remove_task(*names); end
|
377
|
+
def start(given_args = nil, config = nil); end
|
378
|
+
def stop_on_unknown_option?(command_name); end
|
379
|
+
def strict_args_position!; end
|
380
|
+
def strict_args_position; end
|
381
|
+
def strict_args_position?(config); end
|
382
|
+
def tasks; end
|
383
|
+
end
|
384
|
+
class IO
|
385
|
+
end
|
386
|
+
module Thor::Actions
|
387
|
+
def _cleanup_options_and_set(options, key); end
|
388
|
+
def _shared_configuration; end
|
389
|
+
def action(instance); end
|
390
|
+
def add_file(destination, *args, &block); end
|
391
|
+
def add_link(destination, *args); end
|
392
|
+
def append_file(path, *args, &block); end
|
393
|
+
def append_to_file(path, *args, &block); end
|
394
|
+
def apply(path, config = nil); end
|
395
|
+
def behavior; end
|
396
|
+
def behavior=(arg0); end
|
397
|
+
def capture(*args); end
|
398
|
+
def chmod(path, mode, config = nil); end
|
399
|
+
def comment_lines(path, flag, *args); end
|
400
|
+
def concat(string); end
|
401
|
+
def copy_file(source, *args, &block); end
|
402
|
+
def create_file(destination, *args, &block); end
|
403
|
+
def create_link(destination, *args); end
|
404
|
+
def destination_root; end
|
405
|
+
def destination_root=(root); end
|
406
|
+
def directory(source, *args, &block); end
|
407
|
+
def empty_directory(destination, config = nil); end
|
408
|
+
def find_in_source_paths(file); end
|
409
|
+
def get(source, *args, &block); end
|
410
|
+
def gsub_file(path, flag, *args, &block); end
|
411
|
+
def in_root; end
|
412
|
+
def initialize(args = nil, options = nil, config = nil); end
|
413
|
+
def inject_into_class(path, klass, *args, &block); end
|
414
|
+
def inject_into_file(destination, *args, &block); end
|
415
|
+
def inject_into_module(path, module_name, *args, &block); end
|
416
|
+
def insert_into_file(destination, *args, &block); end
|
417
|
+
def inside(dir = nil, config = nil, &block); end
|
418
|
+
def link_file(source, *args); end
|
419
|
+
def output_buffer; end
|
420
|
+
def output_buffer=(arg0); end
|
421
|
+
def prepend_file(path, *args, &block); end
|
422
|
+
def prepend_to_file(path, *args, &block); end
|
423
|
+
def relative_to_original_destination_root(path, remove_dot = nil); end
|
424
|
+
def remove_dir(path, config = nil); end
|
425
|
+
def remove_file(path, config = nil); end
|
426
|
+
def run(command, config = nil); end
|
427
|
+
def run_ruby_script(command, config = nil); end
|
428
|
+
def self.included(base); end
|
429
|
+
def source_paths; end
|
430
|
+
def template(source, *args, &block); end
|
431
|
+
def thor(command, *args); end
|
432
|
+
def uncomment_lines(path, flag, *args); end
|
433
|
+
def with_output_buffer(buf = nil); end
|
434
|
+
end
|
435
|
+
class Thor::Actions::EmptyDirectory
|
436
|
+
def base; end
|
437
|
+
def config; end
|
438
|
+
def convert_encoded_instructions(filename); end
|
439
|
+
def destination; end
|
440
|
+
def destination=(destination); end
|
441
|
+
def exists?; end
|
442
|
+
def given_destination; end
|
443
|
+
def initialize(base, destination, config = nil); end
|
444
|
+
def invoke!; end
|
445
|
+
def invoke_with_conflict_check(&block); end
|
446
|
+
def on_conflict_behavior; end
|
447
|
+
def on_file_clash_behavior; end
|
448
|
+
def pretend?; end
|
449
|
+
def relative_destination; end
|
450
|
+
def revoke!; end
|
451
|
+
def say_status(status, color); end
|
452
|
+
end
|
453
|
+
class Thor::Actions::CreateFile < Thor::Actions::EmptyDirectory
|
454
|
+
def data; end
|
455
|
+
def force_on_collision?; end
|
456
|
+
def force_or_skip_or_conflict(force, skip, &block); end
|
457
|
+
def identical?; end
|
458
|
+
def initialize(base, destination, data, config = nil); end
|
459
|
+
def invoke!; end
|
460
|
+
def on_conflict_behavior(&block); end
|
461
|
+
def render; end
|
462
|
+
end
|
463
|
+
class Thor::Actions::CreateLink < Thor::Actions::CreateFile
|
464
|
+
def data; end
|
465
|
+
def exists?; end
|
466
|
+
def identical?; end
|
467
|
+
def invoke!; end
|
468
|
+
end
|
469
|
+
class Thor::Actions::Directory < Thor::Actions::EmptyDirectory
|
470
|
+
def execute!; end
|
471
|
+
def file_level_lookup(previous_lookup); end
|
472
|
+
def files(lookup); end
|
473
|
+
def initialize(base, source, destination = nil, config = nil, &block); end
|
474
|
+
def invoke!; end
|
475
|
+
def revoke!; end
|
476
|
+
def source; end
|
477
|
+
end
|
478
|
+
class Thor::Actions::CapturableERB < ERB
|
479
|
+
def set_eoutvar(compiler, eoutvar = nil); end
|
480
|
+
end
|
481
|
+
class Thor::Actions::InjectIntoFile < Thor::Actions::EmptyDirectory
|
482
|
+
def behavior; end
|
483
|
+
def flag; end
|
484
|
+
def initialize(base, destination, data, config); end
|
485
|
+
def invoke!; end
|
486
|
+
def replace!(regexp, string, force); end
|
487
|
+
def replacement; end
|
488
|
+
def revoke!; end
|
489
|
+
def say_status(behavior); end
|
490
|
+
end
|
491
|
+
module Thor::Actions::ClassMethods
|
492
|
+
def add_runtime_options!; end
|
493
|
+
def source_paths; end
|
494
|
+
def source_paths_for_search; end
|
495
|
+
def source_root(path = nil); end
|
496
|
+
end
|
497
|
+
class Thor::Group
|
498
|
+
def self.banner; end
|
499
|
+
def self.baseclass; end
|
500
|
+
def self.class_options_help(shell, groups = nil); end
|
501
|
+
def self.create_command(meth); end
|
502
|
+
def self.create_task(meth); end
|
503
|
+
def self.desc(description = nil); end
|
504
|
+
def self.dispatch(command, given_args, given_opts, config); end
|
505
|
+
def self.get_options_from_invocations(group_options, base_options); end
|
506
|
+
def self.handle_argument_error(command, error, _args, arity); end
|
507
|
+
def self.help(shell); end
|
508
|
+
def self.invocation_blocks; end
|
509
|
+
def self.invocations; end
|
510
|
+
def self.invoke(*names, &block); end
|
511
|
+
def self.invoke_from_option(*names, &block); end
|
512
|
+
def self.printable_commands(*arg0); end
|
513
|
+
def self.printable_tasks(*arg0); end
|
514
|
+
def self.remove_invocation(*names); end
|
515
|
+
def self.self_command; end
|
516
|
+
def self.self_task; end
|
517
|
+
extend Thor::Base::ClassMethods
|
518
|
+
extend Thor::Invocation::ClassMethods
|
519
|
+
include Thor::Base
|
520
|
+
include Thor::Invocation
|
521
|
+
include Thor::Shell
|
522
|
+
end
|