roast-ai 1.0.2 → 1.2.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/.claude/commands/docs/write-comments.md +1 -1
- data/.rubocop.yml +12 -1
- data/Gemfile +2 -2
- data/Gemfile.lock +149 -34
- data/README.md +56 -3
- data/examples/agent_with_multiple_prompts.rb +27 -0
- data/examples/custom_logging.rb +4 -2
- data/examples/demo/Gemfile.lock +49 -15
- data/examples/plugin-gem-example/Gemfile.lock +19 -15
- data/examples/simple_chat.rb +1 -1
- data/examples/simple_pi_agent.rb +18 -0
- data/internal/rubocop/cop/roast/no_test_class_nesting.rb +126 -0
- data/internal/rubocop/rubocop-roast.yml +6 -0
- data/internal/workflows/maintenance/branch_docs_impact.rb +97 -0
- data/internal/workflows/maintenance/deprecated_models_docs_updater.rb +78 -0
- data/lib/roast/cog/config.rb +1 -1
- data/lib/roast/cog/output.rb +2 -1
- data/lib/roast/cog/registry.rb +3 -3
- data/lib/roast/cog_input_manager.rb +28 -7
- data/lib/roast/cogs/agent/config.rb +2 -2
- data/lib/roast/cogs/agent/input.rb +20 -22
- data/lib/roast/cogs/agent/providers/claude/claude_invocation.rb +13 -5
- data/lib/roast/cogs/agent/providers/claude/messages/result_message.rb +1 -1
- data/lib/roast/cogs/agent/providers/claude/tool_result.rb +344 -4
- data/lib/roast/cogs/agent/providers/claude/tool_use.rb +356 -1
- data/lib/roast/cogs/agent/providers/claude.rb +16 -3
- data/lib/roast/cogs/agent/providers/pi/messages/tool_call_message.rb +60 -0
- data/lib/roast/cogs/agent/providers/pi/messages/tool_result_message.rb +57 -0
- data/lib/roast/cogs/agent/providers/pi/pi_invocation.rb +352 -0
- data/lib/roast/cogs/agent/providers/pi.rb +41 -0
- data/lib/roast/cogs/agent/stats.rb +29 -0
- data/lib/roast/cogs/agent/usage.rb +22 -0
- data/lib/roast/cogs/agent.rb +5 -6
- data/lib/roast/cogs/chat/config.rb +28 -2
- data/lib/roast/cogs/chat.rb +82 -10
- data/lib/roast/event.rb +1 -0
- data/lib/roast/event_monitor.rb +35 -3
- data/lib/roast/log.rb +21 -0
- data/lib/roast/log_formatter.rb +9 -7
- data/lib/roast/version.rb +1 -1
- data/lib/roast.rb +1 -3
- data/roast-ai.gemspec +2 -1
- data/sorbet/rbi/gems/activesupport@8.0.2.rbi +549 -383
- data/sorbet/rbi/gems/addressable@2.8.7.rbi +46 -44
- data/sorbet/rbi/gems/ast@2.4.3.rbi +7 -6
- data/sorbet/rbi/gems/async@2.34.0.rbi +21 -3
- data/sorbet/rbi/gems/benchmark@0.4.1.rbi +7 -7
- data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +198 -1
- data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +405 -328
- data/sorbet/rbi/gems/console@1.34.2.rbi +2 -2
- data/sorbet/rbi/gems/docile@1.4.1.rbi +30 -30
- data/sorbet/rbi/gems/drb@2.2.3.rbi +25 -25
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +2 -0
- data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +2 -77
- data/sorbet/rbi/gems/faraday-retry@2.3.2.rbi +2 -57
- data/sorbet/rbi/gems/faraday@2.14.1.rbi +382 -75
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +1 -110
- data/sorbet/rbi/gems/guard-minitest@2.4.6.rbi +0 -139
- data/sorbet/rbi/gems/guard@2.19.1.rbi +38 -38
- data/sorbet/rbi/gems/hashdiff@1.2.0.rbi +3 -3
- data/sorbet/rbi/gems/i18n@1.14.7.rbi +53 -29
- data/sorbet/rbi/gems/io-event@1.14.0.rbi +67 -10
- data/sorbet/rbi/gems/json@2.18.1.rbi +227 -5
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +83 -0
- data/sorbet/rbi/gems/listen@3.9.0.rbi +7 -7
- data/sorbet/rbi/gems/logger@1.7.0.rbi +3 -3
- data/sorbet/rbi/gems/lumberjack@1.2.10.rbi +21 -21
- data/sorbet/rbi/gems/marcel@1.1.0.rbi +1 -1
- data/sorbet/rbi/gems/minitest-rg@5.3.0.rbi +0 -96
- data/sorbet/rbi/gems/minitest@5.25.5.rbi +1 -16
- data/sorbet/rbi/gems/net-http@0.9.1.rbi +27 -19
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +18 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +20 -20
- data/sorbet/rbi/gems/ostruct@0.6.2.rbi +149 -15
- data/sorbet/rbi/gems/parser@3.3.8.0.rbi +141 -139
- data/sorbet/rbi/gems/prism@1.4.0.rbi +922 -864
- data/sorbet/rbi/gems/public_suffix@6.0.2.rbi +56 -35
- data/sorbet/rbi/gems/racc@1.8.1.rbi +10 -2
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +12 -12
- data/sorbet/rbi/gems/rake@13.3.0.rbi +219 -318
- data/sorbet/rbi/gems/{rbi@0.3.6.rbi → rbi@0.3.9.rbi} +612 -2267
- data/sorbet/rbi/gems/{rbs@3.9.4.rbi → rbs@4.0.0.dev.5.rbi} +2013 -680
- data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +151 -113
- data/sorbet/rbi/gems/require-hooks@0.2.3.rbi +110 -0
- data/sorbet/rbi/gems/rexml@3.4.2.rbi +24 -51
- data/sorbet/rbi/gems/rubocop-ast@1.45.1.rbi +506 -815
- data/sorbet/rbi/gems/rubocop-sorbet@0.10.5.rbi +16 -16
- data/sorbet/rbi/gems/rubocop@1.77.0.rbi +2692 -2327
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -8
- data/sorbet/rbi/gems/ruby_llm@1.8.2.rbi +38 -23
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +1 -1
- data/sorbet/rbi/gems/simplecov-html@0.13.2.rbi +2 -131
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +28 -127
- data/sorbet/rbi/gems/{spoom@1.6.3.rbi → spoom@1.7.11.rbi} +1139 -2246
- data/sorbet/rbi/gems/sqlite3@2.9.0.rbi +91 -1
- data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.10.rbi} +721 -835
- data/sorbet/rbi/gems/thor@1.4.0.rbi +53 -53
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
- data/sorbet/rbi/gems/type_toolkit@0.0.5.rbi +49 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +144 -143
- data/sorbet/rbi/gems/uri@1.1.1.rbi +7 -7
- data/sorbet/rbi/gems/vcr@6.3.1.rbi +53 -36
- data/sorbet/rbi/gems/webmock@3.25.1.rbi +38 -13
- data/sorbet/rbi/gems/zeitwerk@2.7.3.rbi +39 -272
- data/sorbet/rbi/shims/lib/roast/execution_context.rbi +3 -3
- data/tutorial/01_your_first_workflow/README.md +9 -5
- data/tutorial/01_your_first_workflow/configured_chat.rb +1 -1
- data/tutorial/02_chaining_cogs/README.md +2 -2
- data/tutorial/02_chaining_cogs/code_review.rb +1 -1
- data/tutorial/02_chaining_cogs/session_resumption.rb +1 -1
- data/tutorial/03_targets_and_params/README.md +1 -1
- data/tutorial/04_configuration_options/README.md +2 -2
- data/tutorial/08_iterative_workflows/README.md +1 -1
- data/tutorial/README.md +1 -1
- metadata +39 -17
- data/docs/AGENT_STEPS.md +0 -288
- data/docs/INSTRUMENTATION.md +0 -243
- data/docs/ITERATION_SYNTAX.md +0 -147
- data/docs/VALIDATION.md +0 -178
- data/lib/roast/nil_assertions.rb +0 -23
- /data/internal/documentation/{architectural-notes.md → comments/architectural-notes.md} +0 -0
- /data/internal/documentation/{doc-comments-external.md → comments/doc-comments-external.md} +0 -0
- /data/internal/documentation/{doc-comments-internal.md → comments/doc-comments-internal.md} +0 -0
- /data/internal/documentation/{doc-comments.md → comments/doc-comments.md} +0 -0
|
@@ -78,7 +78,7 @@ class Thor
|
|
|
78
78
|
#
|
|
79
79
|
# Then it is required either only one of "--one" or "--two".
|
|
80
80
|
#
|
|
81
|
-
# source://thor//lib/thor.rb#
|
|
81
|
+
# source://thor//lib/thor.rb#250
|
|
82
82
|
def at_least_one(*args, &block); end
|
|
83
83
|
|
|
84
84
|
# Extend check unknown options to accept a hash of conditions.
|
|
@@ -131,7 +131,7 @@ class Thor
|
|
|
131
131
|
# ==== Parameters
|
|
132
132
|
# meth<Symbol>:: name of the default command
|
|
133
133
|
#
|
|
134
|
-
# source://thor//lib/thor.rb#
|
|
134
|
+
# source://thor//lib/thor.rb#28
|
|
135
135
|
def default_task(meth = T.unsafe(nil)); end
|
|
136
136
|
|
|
137
137
|
# source://thor//lib/thor/base.rb#26
|
|
@@ -188,7 +188,7 @@ class Thor
|
|
|
188
188
|
# If you give "--one" and "--two" at the same time ExclusiveArgumentsError
|
|
189
189
|
# will be raised.
|
|
190
190
|
#
|
|
191
|
-
# source://thor//lib/thor.rb#
|
|
191
|
+
# source://thor//lib/thor.rb#207
|
|
192
192
|
def exclusive(*args, &block); end
|
|
193
193
|
|
|
194
194
|
# Prints help information for this class.
|
|
@@ -364,7 +364,7 @@ class Thor
|
|
|
364
364
|
# :banner - String to show on usage notes.
|
|
365
365
|
# :hide - If you want to hide this option from the help.
|
|
366
366
|
#
|
|
367
|
-
# source://thor//lib/thor.rb#
|
|
367
|
+
# source://thor//lib/thor.rb#175
|
|
368
368
|
def option(name, options = T.unsafe(nil)); end
|
|
369
369
|
|
|
370
370
|
# Declares the options for the next command to be declared.
|
|
@@ -374,7 +374,7 @@ class Thor
|
|
|
374
374
|
# is the type of the option. Can be :string, :array, :hash, :boolean, :numeric
|
|
375
375
|
# or :required (string). If you give a value, the type of the value is used.
|
|
376
376
|
#
|
|
377
|
-
# source://thor//lib/thor.rb#
|
|
377
|
+
# source://thor//lib/thor.rb#135
|
|
378
378
|
def options(options = T.unsafe(nil)); end
|
|
379
379
|
|
|
380
380
|
# Allows for custom "Command" package naming.
|
|
@@ -393,7 +393,7 @@ class Thor
|
|
|
393
393
|
|
|
394
394
|
# Returns commands ready to be printed.
|
|
395
395
|
#
|
|
396
|
-
# source://thor//lib/thor.rb#
|
|
396
|
+
# source://thor//lib/thor.rb#318
|
|
397
397
|
def printable_tasks(all = T.unsafe(nil), subcommand = T.unsafe(nil)); end
|
|
398
398
|
|
|
399
399
|
# Registers another Thor subclass as a command.
|
|
@@ -462,10 +462,10 @@ class Thor
|
|
|
462
462
|
# source://thor//lib/thor.rb#320
|
|
463
463
|
def subcommands; end
|
|
464
464
|
|
|
465
|
-
# source://thor//lib/thor.rb#
|
|
465
|
+
# source://thor//lib/thor.rb#344
|
|
466
466
|
def subtask(subcommand, subcommand_class); end
|
|
467
467
|
|
|
468
|
-
# source://thor//lib/thor.rb#
|
|
468
|
+
# source://thor//lib/thor.rb#323
|
|
469
469
|
def subtasks; end
|
|
470
470
|
|
|
471
471
|
# Prints help information for the given command.
|
|
@@ -474,7 +474,7 @@ class Thor
|
|
|
474
474
|
# shell<Thor::Shell>
|
|
475
475
|
# command_name<String>
|
|
476
476
|
#
|
|
477
|
-
# source://thor//lib/thor.rb#
|
|
477
|
+
# source://thor//lib/thor.rb#281
|
|
478
478
|
def task_help(shell, command_name); end
|
|
479
479
|
|
|
480
480
|
protected
|
|
@@ -493,7 +493,7 @@ class Thor
|
|
|
493
493
|
# source://thor//lib/thor.rb#560
|
|
494
494
|
def create_command(meth); end
|
|
495
495
|
|
|
496
|
-
# source://thor//lib/thor.rb#
|
|
496
|
+
# source://thor//lib/thor.rb#584
|
|
497
497
|
def create_task(meth); end
|
|
498
498
|
|
|
499
499
|
# help command has the required check disabled by default.
|
|
@@ -522,7 +522,7 @@ class Thor
|
|
|
522
522
|
# and determines whether it is an unambiguous substrings of a command or
|
|
523
523
|
# alias name.
|
|
524
524
|
#
|
|
525
|
-
# source://thor//lib/thor.rb#
|
|
525
|
+
# source://thor//lib/thor.rb#639
|
|
526
526
|
def find_task_possibilities(meth); end
|
|
527
527
|
|
|
528
528
|
# source://thor//lib/thor.rb#586
|
|
@@ -567,7 +567,7 @@ class Thor
|
|
|
567
567
|
#
|
|
568
568
|
# @raise [AmbiguousTaskError]
|
|
569
569
|
#
|
|
570
|
-
# source://thor//lib/thor.rb#
|
|
570
|
+
# source://thor//lib/thor.rb#621
|
|
571
571
|
def normalize_task_name(meth); end
|
|
572
572
|
|
|
573
573
|
# source://thor//lib/thor.rb#493
|
|
@@ -583,7 +583,7 @@ class Thor
|
|
|
583
583
|
|
|
584
584
|
# Retrieve the command name from given args.
|
|
585
585
|
#
|
|
586
|
-
# source://thor//lib/thor.rb#
|
|
586
|
+
# source://thor//lib/thor.rb#596
|
|
587
587
|
def retrieve_task_name(args); end
|
|
588
588
|
|
|
589
589
|
# Sort the commands, lexicographically by default.
|
|
@@ -600,7 +600,7 @@ class Thor
|
|
|
600
600
|
# source://thor//lib/thor.rb#641
|
|
601
601
|
def subcommand_help(cmd); end
|
|
602
602
|
|
|
603
|
-
# source://thor//lib/thor.rb#
|
|
603
|
+
# source://thor//lib/thor.rb#647
|
|
604
604
|
def subtask_help(cmd); end
|
|
605
605
|
end
|
|
606
606
|
end
|
|
@@ -643,7 +643,7 @@ module Thor::Actions
|
|
|
643
643
|
#
|
|
644
644
|
# create_file "config/apache.conf", "your apache config"
|
|
645
645
|
#
|
|
646
|
-
# source://thor//lib/thor/actions/create_file.rb#
|
|
646
|
+
# source://thor//lib/thor/actions/create_file.rb#27
|
|
647
647
|
def add_file(destination, *args, &block); end
|
|
648
648
|
|
|
649
649
|
# Create a new file relative to the destination root from the given source.
|
|
@@ -658,7 +658,7 @@ module Thor::Actions
|
|
|
658
658
|
#
|
|
659
659
|
# create_link "config/apache.conf", "/etc/apache.conf"
|
|
660
660
|
#
|
|
661
|
-
# source://thor//lib/thor/actions/create_link.rb#
|
|
661
|
+
# source://thor//lib/thor/actions/create_link.rb#22
|
|
662
662
|
def add_link(destination, *args); end
|
|
663
663
|
|
|
664
664
|
# Append text to a file. Since it depends on insert_into_file, it's reversible.
|
|
@@ -676,7 +676,7 @@ module Thor::Actions
|
|
|
676
676
|
# 'config.gem "rspec"'
|
|
677
677
|
# end
|
|
678
678
|
#
|
|
679
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
|
679
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#197
|
|
680
680
|
def append_file(path, *args, &block); end
|
|
681
681
|
|
|
682
682
|
# Append text to a file. Since it depends on insert_into_file, it's reversible.
|
|
@@ -977,7 +977,7 @@ module Thor::Actions
|
|
|
977
977
|
# source://thor//lib/thor/actions/file_manipulation.rb#216
|
|
978
978
|
def inject_into_class(path, klass, *args, &block); end
|
|
979
979
|
|
|
980
|
-
# source://thor//lib/thor/actions/inject_into_file.rb#
|
|
980
|
+
# source://thor//lib/thor/actions/inject_into_file.rb#34
|
|
981
981
|
def inject_into_file(destination, *args, &block); end
|
|
982
982
|
|
|
983
983
|
# Injects text right after the module definition. Since it depends on
|
|
@@ -1049,7 +1049,7 @@ module Thor::Actions
|
|
|
1049
1049
|
# 'config.gem "rspec"'
|
|
1050
1050
|
# end
|
|
1051
1051
|
#
|
|
1052
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
|
1052
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#175
|
|
1053
1053
|
def prepend_file(path, *args, &block); end
|
|
1054
1054
|
|
|
1055
1055
|
# Prepend text to a file. Since it depends on insert_into_file, it's reversible.
|
|
@@ -1087,7 +1087,7 @@ module Thor::Actions
|
|
|
1087
1087
|
# remove_file 'README'
|
|
1088
1088
|
# remove_file 'app/controllers/application_controller.rb'
|
|
1089
1089
|
#
|
|
1090
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
|
1090
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#360
|
|
1091
1091
|
def remove_dir(path, config = T.unsafe(nil)); end
|
|
1092
1092
|
|
|
1093
1093
|
# Removes a file at the given location.
|
|
@@ -1592,7 +1592,7 @@ class Thor::Argument
|
|
|
1592
1592
|
|
|
1593
1593
|
# Returns the value of attribute name.
|
|
1594
1594
|
#
|
|
1595
|
-
# source://thor//lib/thor/parser/argument.rb#
|
|
1595
|
+
# source://thor//lib/thor/parser/argument.rb#6
|
|
1596
1596
|
def human_name; end
|
|
1597
1597
|
|
|
1598
1598
|
# Returns the value of attribute name.
|
|
@@ -1876,7 +1876,7 @@ module Thor::Base::ClassMethods
|
|
|
1876
1876
|
# Hash:: An ordered hash with commands names as keys and Thor::Command
|
|
1877
1877
|
# objects as values.
|
|
1878
1878
|
#
|
|
1879
|
-
# source://thor//lib/thor/base.rb#
|
|
1879
|
+
# source://thor//lib/thor/base.rb#486
|
|
1880
1880
|
def all_tasks; end
|
|
1881
1881
|
|
|
1882
1882
|
# If you want to use defaults that don't match the type of an option,
|
|
@@ -2114,7 +2114,7 @@ module Thor::Base::ClassMethods
|
|
|
2114
2114
|
|
|
2115
2115
|
# @raise [UndefinedCommandError]
|
|
2116
2116
|
#
|
|
2117
|
-
# source://thor//lib/thor/base.rb#
|
|
2117
|
+
# source://thor//lib/thor/base.rb#616
|
|
2118
2118
|
def handle_no_task_error(command, has_namespace = T.unsafe(nil)); end
|
|
2119
2119
|
|
|
2120
2120
|
# Sets the namespace for the Thor or Thor::Group class. By default the
|
|
@@ -2191,7 +2191,7 @@ module Thor::Base::ClassMethods
|
|
|
2191
2191
|
# remove_command :this_is_not_a_command
|
|
2192
2192
|
# end
|
|
2193
2193
|
#
|
|
2194
|
-
# source://thor//lib/thor/base.rb#
|
|
2194
|
+
# source://thor//lib/thor/base.rb#534
|
|
2195
2195
|
def no_tasks(&block); end
|
|
2196
2196
|
|
|
2197
2197
|
# Allows to use private methods from parent in child classes as commands.
|
|
@@ -2217,7 +2217,7 @@ module Thor::Base::ClassMethods
|
|
|
2217
2217
|
# public_command :foo
|
|
2218
2218
|
# public_command :foo, :bar, :baz
|
|
2219
2219
|
#
|
|
2220
|
-
# source://thor//lib/thor/base.rb#
|
|
2220
|
+
# source://thor//lib/thor/base.rb#611
|
|
2221
2221
|
def public_task(*names); end
|
|
2222
2222
|
|
|
2223
2223
|
# Removes a previous defined argument. If :undefine is given, undefine
|
|
@@ -2274,7 +2274,7 @@ module Thor::Base::ClassMethods
|
|
|
2274
2274
|
# options<Hash>:: You can give :undefine => true if you want commands the method
|
|
2275
2275
|
# to be undefined from the class as well.
|
|
2276
2276
|
#
|
|
2277
|
-
# source://thor//lib/thor/base.rb#
|
|
2277
|
+
# source://thor//lib/thor/base.rb#509
|
|
2278
2278
|
def remove_task(*names); end
|
|
2279
2279
|
|
|
2280
2280
|
# Parses the command and options from the given args, instantiate the class
|
|
@@ -2318,7 +2318,7 @@ module Thor::Base::ClassMethods
|
|
|
2318
2318
|
# Hash:: An ordered hash with commands names as keys and Thor::Command
|
|
2319
2319
|
# objects as values.
|
|
2320
2320
|
#
|
|
2321
|
-
# source://thor//lib/thor/base.rb#
|
|
2321
|
+
# source://thor//lib/thor/base.rb#474
|
|
2322
2322
|
def tasks; end
|
|
2323
2323
|
|
|
2324
2324
|
protected
|
|
@@ -2381,7 +2381,7 @@ module Thor::Base::ClassMethods
|
|
|
2381
2381
|
# SIGNATURE: Creates a new command if valid_command? is true. This method is
|
|
2382
2382
|
# called when a new method is added to the class.
|
|
2383
2383
|
#
|
|
2384
|
-
# source://thor//lib/thor/base.rb#
|
|
2384
|
+
# source://thor//lib/thor/base.rb#784
|
|
2385
2385
|
def create_task(meth); end
|
|
2386
2386
|
|
|
2387
2387
|
# SIGNATURE: The hook invoked by start.
|
|
@@ -2402,7 +2402,7 @@ module Thor::Base::ClassMethods
|
|
|
2402
2402
|
# class, just return it, otherwise dup it and add the fresh copy to the
|
|
2403
2403
|
# current command hash.
|
|
2404
2404
|
#
|
|
2405
|
-
# source://thor//lib/thor/base.rb#
|
|
2405
|
+
# source://thor//lib/thor/base.rb#717
|
|
2406
2406
|
def find_and_refresh_task(name); end
|
|
2407
2407
|
|
|
2408
2408
|
# Retrieves a value from superclass. If it reaches the baseclass,
|
|
@@ -2780,7 +2780,7 @@ class Thor::Group
|
|
|
2780
2780
|
|
|
2781
2781
|
# Returns commands ready to be printed.
|
|
2782
2782
|
#
|
|
2783
|
-
# source://thor//lib/thor/group.rb#
|
|
2783
|
+
# source://thor//lib/thor/group.rb#205
|
|
2784
2784
|
def printable_tasks(*_arg0); end
|
|
2785
2785
|
|
|
2786
2786
|
# Remove a previously added invocation.
|
|
@@ -2806,7 +2806,7 @@ class Thor::Group
|
|
|
2806
2806
|
# source://thor//lib/thor/group.rb#263
|
|
2807
2807
|
def create_command(meth); end
|
|
2808
2808
|
|
|
2809
|
-
# source://thor//lib/thor/group.rb#
|
|
2809
|
+
# source://thor//lib/thor/group.rb#267
|
|
2810
2810
|
def create_task(meth); end
|
|
2811
2811
|
|
|
2812
2812
|
# The method responsible for dispatching given the args.
|
|
@@ -2823,7 +2823,7 @@ class Thor::Group
|
|
|
2823
2823
|
|
|
2824
2824
|
# Represents the whole class as a command.
|
|
2825
2825
|
#
|
|
2826
|
-
# source://thor//lib/thor/group.rb#
|
|
2826
|
+
# source://thor//lib/thor/group.rb#257
|
|
2827
2827
|
def self_task; end
|
|
2828
2828
|
end
|
|
2829
2829
|
end
|
|
@@ -2943,7 +2943,7 @@ module Thor::Invocation
|
|
|
2943
2943
|
|
|
2944
2944
|
# Invoke the given command if the given args.
|
|
2945
2945
|
#
|
|
2946
|
-
# source://thor//lib/thor/invocation.rb#
|
|
2946
|
+
# source://thor//lib/thor/invocation.rb#130
|
|
2947
2947
|
def invoke_task(command, *args); end
|
|
2948
2948
|
|
|
2949
2949
|
# Invokes using shell padding.
|
|
@@ -2971,7 +2971,7 @@ module Thor::Invocation
|
|
|
2971
2971
|
# use the given name and return self as class. Otherwise, call
|
|
2972
2972
|
# prepare_for_invocation in the current class.
|
|
2973
2973
|
#
|
|
2974
|
-
# source://thor//lib/thor/invocation.rb#
|
|
2974
|
+
# source://thor//lib/thor/invocation.rb#163
|
|
2975
2975
|
def _retrieve_class_and_task(name, sent_command = T.unsafe(nil)); end
|
|
2976
2976
|
|
|
2977
2977
|
# Configuration values that are shared between invocations.
|
|
@@ -3152,10 +3152,10 @@ class Thor::Option < ::Thor::Argument
|
|
|
3152
3152
|
# source://thor//lib/thor/parser/option.rb#99
|
|
3153
3153
|
def aliases_for_usage; end
|
|
3154
3154
|
|
|
3155
|
-
# source://thor//lib/thor/parser/option.rb#
|
|
3155
|
+
# source://thor//lib/thor/parser/option.rb#117
|
|
3156
3156
|
def array?; end
|
|
3157
3157
|
|
|
3158
|
-
# source://thor//lib/thor/parser/option.rb#
|
|
3158
|
+
# source://thor//lib/thor/parser/option.rb#117
|
|
3159
3159
|
def boolean?; end
|
|
3160
3160
|
|
|
3161
3161
|
# Returns the value of attribute group.
|
|
@@ -3163,7 +3163,7 @@ class Thor::Option < ::Thor::Argument
|
|
|
3163
3163
|
# source://thor//lib/thor/parser/option.rb#3
|
|
3164
3164
|
def group; end
|
|
3165
3165
|
|
|
3166
|
-
# source://thor//lib/thor/parser/option.rb#
|
|
3166
|
+
# source://thor//lib/thor/parser/option.rb#117
|
|
3167
3167
|
def hash?; end
|
|
3168
3168
|
|
|
3169
3169
|
# Returns the value of attribute hide.
|
|
@@ -3179,7 +3179,7 @@ class Thor::Option < ::Thor::Argument
|
|
|
3179
3179
|
# source://thor//lib/thor/parser/option.rb#3
|
|
3180
3180
|
def lazy_default; end
|
|
3181
3181
|
|
|
3182
|
-
# source://thor//lib/thor/parser/option.rb#
|
|
3182
|
+
# source://thor//lib/thor/parser/option.rb#117
|
|
3183
3183
|
def numeric?; end
|
|
3184
3184
|
|
|
3185
3185
|
# Returns the value of attribute repeatable.
|
|
@@ -3192,7 +3192,7 @@ class Thor::Option < ::Thor::Argument
|
|
|
3192
3192
|
# source://thor//lib/thor/parser/option.rb#107
|
|
3193
3193
|
def show_default?; end
|
|
3194
3194
|
|
|
3195
|
-
# source://thor//lib/thor/parser/option.rb#
|
|
3195
|
+
# source://thor//lib/thor/parser/option.rb#117
|
|
3196
3196
|
def string?; end
|
|
3197
3197
|
|
|
3198
3198
|
# source://thor//lib/thor/parser/option.rb#75
|
|
@@ -3445,37 +3445,37 @@ module Thor::Shell
|
|
|
3445
3445
|
# source://thor//lib/thor/shell.rb#44
|
|
3446
3446
|
def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end
|
|
3447
3447
|
|
|
3448
|
-
# source://thor//lib/thor/shell.rb#
|
|
3448
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3449
3449
|
def ask(*args, &block); end
|
|
3450
3450
|
|
|
3451
|
-
# source://thor//lib/thor/shell.rb#
|
|
3451
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3452
3452
|
def error(*args, &block); end
|
|
3453
3453
|
|
|
3454
|
-
# source://thor//lib/thor/shell.rb#
|
|
3454
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3455
3455
|
def file_collision(*args, &block); end
|
|
3456
3456
|
|
|
3457
|
-
# source://thor//lib/thor/shell.rb#
|
|
3457
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3458
3458
|
def no?(*args, &block); end
|
|
3459
3459
|
|
|
3460
|
-
# source://thor//lib/thor/shell.rb#
|
|
3460
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3461
3461
|
def print_in_columns(*args, &block); end
|
|
3462
3462
|
|
|
3463
|
-
# source://thor//lib/thor/shell.rb#
|
|
3463
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3464
3464
|
def print_table(*args, &block); end
|
|
3465
3465
|
|
|
3466
|
-
# source://thor//lib/thor/shell.rb#
|
|
3466
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3467
3467
|
def print_wrapped(*args, &block); end
|
|
3468
3468
|
|
|
3469
|
-
# source://thor//lib/thor/shell.rb#
|
|
3469
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3470
3470
|
def say(*args, &block); end
|
|
3471
3471
|
|
|
3472
|
-
# source://thor//lib/thor/shell.rb#
|
|
3472
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3473
3473
|
def say_error(*args, &block); end
|
|
3474
3474
|
|
|
3475
|
-
# source://thor//lib/thor/shell.rb#
|
|
3475
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3476
3476
|
def say_status(*args, &block); end
|
|
3477
3477
|
|
|
3478
|
-
# source://thor//lib/thor/shell.rb#
|
|
3478
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3479
3479
|
def set_color(*args, &block); end
|
|
3480
3480
|
|
|
3481
3481
|
# Holds the shell for the given Thor instance. If no shell is given,
|
|
@@ -3491,7 +3491,7 @@ module Thor::Shell
|
|
|
3491
3491
|
# source://thor//lib/thor/shell.rb#25
|
|
3492
3492
|
def shell=(_arg0); end
|
|
3493
3493
|
|
|
3494
|
-
# source://thor//lib/thor/shell.rb#
|
|
3494
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3495
3495
|
def terminal_width(*args, &block); end
|
|
3496
3496
|
|
|
3497
3497
|
# Yields the given block with padding.
|
|
@@ -3499,7 +3499,7 @@ module Thor::Shell
|
|
|
3499
3499
|
# source://thor//lib/thor/shell.rb#66
|
|
3500
3500
|
def with_padding; end
|
|
3501
3501
|
|
|
3502
|
-
# source://thor//lib/thor/shell.rb#
|
|
3502
|
+
# source://thor//lib/thor/shell.rb#58
|
|
3503
3503
|
def yes?(*args, &block); end
|
|
3504
3504
|
|
|
3505
3505
|
protected
|
|
@@ -4313,7 +4313,7 @@ module Thor::Util
|
|
|
4313
4313
|
# ==== Parameters
|
|
4314
4314
|
# namespace<String>
|
|
4315
4315
|
#
|
|
4316
|
-
# source://thor//lib/thor/util.rb#
|
|
4316
|
+
# source://thor//lib/thor/util.rb#148
|
|
4317
4317
|
def find_class_and_task_by_namespace(namespace, fallback = T.unsafe(nil)); end
|
|
4318
4318
|
|
|
4319
4319
|
# Where to look for Thor files.
|