alchemrest 3.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.
Files changed (245) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +22 -0
  4. data/.rubocop_todo.yml +242 -0
  5. data/.ruby-version +1 -0
  6. data/Appraisals +19 -0
  7. data/Gemfile +6 -0
  8. data/Gemfile.lock +378 -0
  9. data/Rakefile +29 -0
  10. data/alchemrest.gemspec +71 -0
  11. data/coach.yml +5 -0
  12. data/examples/bank_api/client.rb +31 -0
  13. data/examples/bank_api/data/account.rb +21 -0
  14. data/examples/bank_api/data/ach.rb +16 -0
  15. data/examples/bank_api/data/business_account.rb +22 -0
  16. data/examples/bank_api/data/card.rb +21 -0
  17. data/examples/bank_api/data/check.rb +19 -0
  18. data/examples/bank_api/data/product.rb +20 -0
  19. data/examples/bank_api/data/transaction.rb +49 -0
  20. data/examples/bank_api/data/user.rb +27 -0
  21. data/examples/bank_api/factories.rb +68 -0
  22. data/examples/bank_api/graph_visualization.rb +45 -0
  23. data/examples/bank_api/positive_interest_string.rb +33 -0
  24. data/examples/bank_api/requests/delete_user.rb +17 -0
  25. data/examples/bank_api/requests/get_business_account.rb +24 -0
  26. data/examples/bank_api/requests/get_products.rb +12 -0
  27. data/examples/bank_api/requests/get_transactions.rb +34 -0
  28. data/examples/bank_api/requests/get_user.rb +19 -0
  29. data/examples/bank_api/requests/post_transaction.rb +20 -0
  30. data/examples/bank_api/requests/update_user.rb +28 -0
  31. data/examples/bank_api/root.rb +52 -0
  32. data/examples/bank_api.rb +33 -0
  33. data/gemfiles/faraday_2.gemfile +9 -0
  34. data/gemfiles/faraday_2.gemfile.lock +363 -0
  35. data/gemfiles/rails_7_0.gemfile.lock +341 -0
  36. data/gemfiles/rails_7_2.gemfile +9 -0
  37. data/gemfiles/rails_7_2.gemfile.lock +384 -0
  38. data/gemfiles/rails_8_0.gemfile +9 -0
  39. data/gemfiles/rails_8_0.gemfile.lock +385 -0
  40. data/lib/alchemrest/circuit_breaker.rb +84 -0
  41. data/lib/alchemrest/client/configuration/connection.rb +83 -0
  42. data/lib/alchemrest/client/configuration.rb +89 -0
  43. data/lib/alchemrest/client.rb +48 -0
  44. data/lib/alchemrest/cop.rb +8 -0
  45. data/lib/alchemrest/data/capture_configuration.rb +77 -0
  46. data/lib/alchemrest/data/field.rb +36 -0
  47. data/lib/alchemrest/data/graph.rb +40 -0
  48. data/lib/alchemrest/data/record.rb +60 -0
  49. data/lib/alchemrest/data/schema.rb +80 -0
  50. data/lib/alchemrest/data.rb +9 -0
  51. data/lib/alchemrest/endpoint_definition.rb +47 -0
  52. data/lib/alchemrest/error.rb +122 -0
  53. data/lib/alchemrest/factory_bot.rb +64 -0
  54. data/lib/alchemrest/faraday_middleware/external_api_instrumentation.rb +24 -0
  55. data/lib/alchemrest/faraday_middleware/json_parser.rb +30 -0
  56. data/lib/alchemrest/faraday_middleware/kill_switch.rb +22 -0
  57. data/lib/alchemrest/faraday_middleware/underscore_response.rb +24 -0
  58. data/lib/alchemrest/hash_path.rb +81 -0
  59. data/lib/alchemrest/http_request.rb +75 -0
  60. data/lib/alchemrest/kill_switch/adapters.rb +88 -0
  61. data/lib/alchemrest/kill_switch.rb +31 -0
  62. data/lib/alchemrest/railtie.rb +25 -0
  63. data/lib/alchemrest/request/endpoint.rb +29 -0
  64. data/lib/alchemrest/request/returns.rb +46 -0
  65. data/lib/alchemrest/request.rb +80 -0
  66. data/lib/alchemrest/request_definition/builder.rb +13 -0
  67. data/lib/alchemrest/request_definition.rb +26 -0
  68. data/lib/alchemrest/response/pipeline/extract_payload.rb +64 -0
  69. data/lib/alchemrest/response/pipeline/final.rb +11 -0
  70. data/lib/alchemrest/response/pipeline/omit.rb +46 -0
  71. data/lib/alchemrest/response/pipeline/sanitize.rb +59 -0
  72. data/lib/alchemrest/response/pipeline/transform.rb +26 -0
  73. data/lib/alchemrest/response/pipeline/was_successful.rb +29 -0
  74. data/lib/alchemrest/response/pipeline.rb +71 -0
  75. data/lib/alchemrest/response.rb +73 -0
  76. data/lib/alchemrest/response_captured_handler.rb +68 -0
  77. data/lib/alchemrest/result/halt.rb +15 -0
  78. data/lib/alchemrest/result/try_helpers.rb +16 -0
  79. data/lib/alchemrest/result.rb +128 -0
  80. data/lib/alchemrest/root.rb +77 -0
  81. data/lib/alchemrest/transforms/base_to_type_transform_registry.rb +42 -0
  82. data/lib/alchemrest/transforms/constrainable.rb +41 -0
  83. data/lib/alchemrest/transforms/constraint/block.rb +22 -0
  84. data/lib/alchemrest/transforms/constraint/greater_than.rb +19 -0
  85. data/lib/alchemrest/transforms/constraint/greater_than_or_eq.rb +19 -0
  86. data/lib/alchemrest/transforms/constraint/in_list.rb +19 -0
  87. data/lib/alchemrest/transforms/constraint/is_instance_of.rb +19 -0
  88. data/lib/alchemrest/transforms/constraint/is_uuid.rb +19 -0
  89. data/lib/alchemrest/transforms/constraint/less_than.rb +19 -0
  90. data/lib/alchemrest/transforms/constraint/less_than_or_eq.rb +19 -0
  91. data/lib/alchemrest/transforms/constraint/matches_regex.rb +19 -0
  92. data/lib/alchemrest/transforms/constraint/max_length.rb +19 -0
  93. data/lib/alchemrest/transforms/constraint/min_length.rb +19 -0
  94. data/lib/alchemrest/transforms/constraint.rb +17 -0
  95. data/lib/alchemrest/transforms/constraint_builder/for_number.rb +25 -0
  96. data/lib/alchemrest/transforms/constraint_builder/for_string.rb +21 -0
  97. data/lib/alchemrest/transforms/constraint_builder.rb +15 -0
  98. data/lib/alchemrest/transforms/date_transform.rb +30 -0
  99. data/lib/alchemrest/transforms/enum.rb +52 -0
  100. data/lib/alchemrest/transforms/epoch_time.rb +32 -0
  101. data/lib/alchemrest/transforms/from_chain.rb +15 -0
  102. data/lib/alchemrest/transforms/from_number/to_type_transform_registry.rb +18 -0
  103. data/lib/alchemrest/transforms/from_number.rb +47 -0
  104. data/lib/alchemrest/transforms/from_string/to_type_transform_registry.rb +17 -0
  105. data/lib/alchemrest/transforms/from_string.rb +36 -0
  106. data/lib/alchemrest/transforms/from_type/empty_to_type_transform_registry.rb +14 -0
  107. data/lib/alchemrest/transforms/from_type.rb +64 -0
  108. data/lib/alchemrest/transforms/iso_time.rb +58 -0
  109. data/lib/alchemrest/transforms/json_number.rb +26 -0
  110. data/lib/alchemrest/transforms/loose_hash.rb +96 -0
  111. data/lib/alchemrest/transforms/money_transform.rb +42 -0
  112. data/lib/alchemrest/transforms/number.rb +27 -0
  113. data/lib/alchemrest/transforms/output_type.rb +65 -0
  114. data/lib/alchemrest/transforms/to_decimal.rb +22 -0
  115. data/lib/alchemrest/transforms/to_type/from_string_to_time_selector.rb +29 -0
  116. data/lib/alchemrest/transforms/to_type/transforms_selector.rb +61 -0
  117. data/lib/alchemrest/transforms/to_type.rb +86 -0
  118. data/lib/alchemrest/transforms/typed.rb +32 -0
  119. data/lib/alchemrest/transforms/union.rb +44 -0
  120. data/lib/alchemrest/transforms/with_constraint.rb +26 -0
  121. data/lib/alchemrest/transforms.rb +93 -0
  122. data/lib/alchemrest/url_builder/encoders.rb +39 -0
  123. data/lib/alchemrest/url_builder/options.rb +33 -0
  124. data/lib/alchemrest/url_builder.rb +31 -0
  125. data/lib/alchemrest/version.rb +5 -0
  126. data/lib/alchemrest/webmock_helpers.rb +27 -0
  127. data/lib/alchemrest.rb +159 -0
  128. data/lib/generators/alchemrest/kill_switch_migration_generator.rb +27 -0
  129. data/lib/generators/alchemrest/templates/kill_switch_migration.rb.erb +17 -0
  130. data/lib/rubocop/cop/alchemrest/define_request_using_with_params.rb +53 -0
  131. data/lib/rubocop/cop/alchemrest/endpoint_definition_using_generic_params.rb +55 -0
  132. data/lib/rubocop/cop/alchemrest/request_hash_returning_block.rb +54 -0
  133. data/lib/rubocop/cop/alchemrest/time_transform_with_no_zone.rb +56 -0
  134. data/lib/tapioca/dsl/compilers/alchemrest_data.rb +84 -0
  135. data/lib/tapioca/dsl/compilers/alchemrest_root.rb +68 -0
  136. data/mutant.yml +16 -0
  137. data/rbi/alchemrest/result.rbi +80 -0
  138. data/rbi/alchemrest.rbi +246 -0
  139. data/sorbet/config +5 -0
  140. data/sorbet/rbi/gems/.gitattributes +1 -0
  141. data/sorbet/rbi/gems/abstract_type@0.0.7.rbi +41 -0
  142. data/sorbet/rbi/gems/actionpack@8.0.4.rbi +11733 -0
  143. data/sorbet/rbi/gems/actionview@8.0.4.rbi +6560 -0
  144. data/sorbet/rbi/gems/activemodel@8.0.4.rbi +2891 -0
  145. data/sorbet/rbi/gems/activesupport@8.0.4.rbi +9621 -0
  146. data/sorbet/rbi/gems/adamantium@0.2.0.rbi +144 -0
  147. data/sorbet/rbi/gems/addressable@2.8.7.rbi +779 -0
  148. data/sorbet/rbi/gems/anima@0.3.2.rbi +103 -0
  149. data/sorbet/rbi/gems/ast@2.4.2.rbi +107 -0
  150. data/sorbet/rbi/gems/base64@0.3.0.rbi +52 -0
  151. data/sorbet/rbi/gems/benchmark@0.5.0.rbi +153 -0
  152. data/sorbet/rbi/gems/bigdecimal@3.3.1.rbi +77 -0
  153. data/sorbet/rbi/gems/builder@3.3.0.rbi +9 -0
  154. data/sorbet/rbi/gems/circuitbox@2.0.0.rbi +297 -0
  155. data/sorbet/rbi/gems/concord@0.1.6.rbi +51 -0
  156. data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +4716 -0
  157. data/sorbet/rbi/gems/connection_pool@2.5.4.rbi +9 -0
  158. data/sorbet/rbi/gems/crack@1.0.0.rbi +110 -0
  159. data/sorbet/rbi/gems/crass@1.0.6.rbi +294 -0
  160. data/sorbet/rbi/gems/date@3.4.1.rbi +58 -0
  161. data/sorbet/rbi/gems/drb@2.2.3.rbi +639 -0
  162. data/sorbet/rbi/gems/equalizer@0.0.11.rbi +38 -0
  163. data/sorbet/rbi/gems/erubi@1.13.1.rbi +85 -0
  164. data/sorbet/rbi/gems/factory_bot@6.5.0.rbi +1529 -0
  165. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +181 -0
  166. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.1.rbi +120 -0
  167. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +128 -0
  168. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +123 -0
  169. data/sorbet/rbi/gems/faraday-multipart@1.2.0.rbi +190 -0
  170. data/sorbet/rbi/gems/faraday-net_http@1.0.2.rbi +140 -0
  171. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +116 -0
  172. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +119 -0
  173. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +113 -0
  174. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +149 -0
  175. data/sorbet/rbi/gems/faraday@1.10.5.rbi +1620 -0
  176. data/sorbet/rbi/gems/hansi@0.2.1.rbi +9 -0
  177. data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +174 -0
  178. data/sorbet/rbi/gems/i18n@1.14.7.rbi +1328 -0
  179. data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +145 -0
  180. data/sorbet/rbi/gems/io-console@0.8.0.rbi +9 -0
  181. data/sorbet/rbi/gems/json@2.9.1.rbi +282 -0
  182. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +8057 -0
  183. data/sorbet/rbi/gems/logger@1.7.0.rbi +260 -0
  184. data/sorbet/rbi/gems/loofah@2.24.0.rbi +571 -0
  185. data/sorbet/rbi/gems/memoizable@0.4.2.rbi +131 -0
  186. data/sorbet/rbi/gems/memosa@0.8.2.rbi +185 -0
  187. data/sorbet/rbi/gems/minitest@5.26.0.rbi +824 -0
  188. data/sorbet/rbi/gems/money@6.19.0.rbi +815 -0
  189. data/sorbet/rbi/gems/morpher@0.4.2.rbi +388 -0
  190. data/sorbet/rbi/gems/mprelude@0.1.0.rbi +140 -0
  191. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +180 -0
  192. data/sorbet/rbi/gems/multipart-post@2.4.1.rbi +154 -0
  193. data/sorbet/rbi/gems/mustermann-contrib@3.0.3.rbi +9 -0
  194. data/sorbet/rbi/gems/mustermann@3.0.3.rbi +809 -0
  195. data/sorbet/rbi/gems/netrc@0.11.0.rbi +112 -0
  196. data/sorbet/rbi/gems/nokogiri@1.19.1.rbi +3412 -0
  197. data/sorbet/rbi/gems/parallel@1.26.3.rbi +234 -0
  198. data/sorbet/rbi/gems/parser@3.3.7.0.rbi +4877 -0
  199. data/sorbet/rbi/gems/pp@0.6.2.rbi +176 -0
  200. data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +155 -0
  201. data/sorbet/rbi/gems/prism@1.5.1.rbi +26368 -0
  202. data/sorbet/rbi/gems/procto@0.0.3.rbi +9 -0
  203. data/sorbet/rbi/gems/psych@5.2.3.rbi +806 -0
  204. data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +267 -0
  205. data/sorbet/rbi/gems/racc@1.8.1.rbi +120 -0
  206. data/sorbet/rbi/gems/rack-session@2.1.1.rbi +458 -0
  207. data/sorbet/rbi/gems/rack-test@2.2.0.rbi +405 -0
  208. data/sorbet/rbi/gems/rack@3.1.14.rbi +2774 -0
  209. data/sorbet/rbi/gems/rackup@2.2.1.rbi +132 -0
  210. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +266 -0
  211. data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +545 -0
  212. data/sorbet/rbi/gems/railties@8.0.4.rbi +2150 -0
  213. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +333 -0
  214. data/sorbet/rbi/gems/rake@13.2.1.rbi +2054 -0
  215. data/sorbet/rbi/gems/rbi@0.2.3.rbi +3961 -0
  216. data/sorbet/rbi/gems/rdoc@6.13.1.rbi +6784 -0
  217. data/sorbet/rbi/gems/regexp_parser@2.11.3.rbi +3020 -0
  218. data/sorbet/rbi/gems/reline@0.6.0.rbi +9 -0
  219. data/sorbet/rbi/gems/rexml@3.4.2.rbi +1777 -0
  220. data/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi +5293 -0
  221. data/sorbet/rbi/gems/rubocop@1.71.1.rbi +31846 -0
  222. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +980 -0
  223. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  224. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +33 -0
  225. data/sorbet/rbi/gems/sentry-ruby@5.22.1.rbi +3782 -0
  226. data/sorbet/rbi/gems/spoom@1.5.1.rbi +4321 -0
  227. data/sorbet/rbi/gems/stringio@3.1.2.rbi +9 -0
  228. data/sorbet/rbi/gems/tapioca@0.16.8.rbi +3399 -0
  229. data/sorbet/rbi/gems/thor@1.3.2.rbi +2012 -0
  230. data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +711 -0
  231. data/sorbet/rbi/gems/timeout@0.4.4.rbi +80 -0
  232. data/sorbet/rbi/gems/tsort@0.2.0.rbi +50 -0
  233. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +1677 -0
  234. data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +62 -0
  235. data/sorbet/rbi/gems/uri@1.1.0.rbi +760 -0
  236. data/sorbet/rbi/gems/useragent@0.16.11.rbi +9 -0
  237. data/sorbet/rbi/gems/webmock@3.24.0.rbi +1362 -0
  238. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +345 -0
  239. data/sorbet/rbi/gems/yard@0.9.37.rbi +8795 -0
  240. data/sorbet/rbi/gems/zeitwerk@2.7.1.rbi +589 -0
  241. data/sorbet/tapioca/config.yml +45 -0
  242. data/sorbet/tapioca/require.rb +8 -0
  243. data/sorbet/tapioca/sorbet/rbi/dsl/.gitattributes +1 -0
  244. data/sorbet/tapioca/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
  245. metadata +737 -0
@@ -0,0 +1,2012 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `thor` gem.
5
+ # Please instead update this file by running `bin/tapioca gem thor`.
6
+
7
+
8
+ # source://thor//lib/thor/shell/lcs_diff.rb#1
9
+ module LCSDiff
10
+ protected
11
+
12
+ # source://thor//lib/thor/shell/lcs_diff.rb#6
13
+ def show_diff(destination, content); end
14
+
15
+ private
16
+
17
+ # source://thor//lib/thor/shell/lcs_diff.rb#37
18
+ def diff_lcs_loaded?; end
19
+
20
+ # source://thor//lib/thor/shell/lcs_diff.rb#21
21
+ def output_diff_line(diff); end
22
+ end
23
+
24
+ # source://thor//lib/thor/command.rb#1
25
+ class Thor
26
+ include ::Thor::Base
27
+ include ::Thor::Invocation
28
+ include ::Thor::Shell
29
+ extend ::Thor::Base::ClassMethods
30
+ extend ::Thor::Invocation::ClassMethods
31
+
32
+ # source://thor//lib/thor.rb#663
33
+ def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end
34
+
35
+ class << self
36
+ # source://thor//lib/thor.rb#246
37
+ def at_least_one(*args, &block); end
38
+
39
+ # source://thor//lib/thor.rb#350
40
+ def check_unknown_options!(options = T.unsafe(nil)); end
41
+
42
+ # source://thor//lib/thor.rb#363
43
+ def check_unknown_options?(config); end
44
+
45
+ # source://thor//lib/thor.rb#449
46
+ def command_exists?(command_name); end
47
+
48
+ # source://thor//lib/thor.rb#258
49
+ def command_help(shell, command_name); end
50
+
51
+ # source://thor//lib/thor.rb#21
52
+ def default_command(meth = T.unsafe(nil)); end
53
+
54
+ # source://thor//lib/thor.rb#21
55
+ def default_task(meth = T.unsafe(nil)); end
56
+
57
+ # source://thor//lib/thor/base.rb#26
58
+ def deprecation_warning(message); end
59
+
60
+ # source://thor//lib/thor.rb#54
61
+ def desc(usage, description, options = T.unsafe(nil)); end
62
+
63
+ # source://thor//lib/thor.rb#434
64
+ def disable_required_check!(*command_names); end
65
+
66
+ # source://thor//lib/thor.rb#438
67
+ def disable_required_check?(command); end
68
+
69
+ # source://thor//lib/thor.rb#203
70
+ def exclusive(*args, &block); end
71
+
72
+ # source://thor//lib/thor.rb#288
73
+ def help(shell, subcommand = T.unsafe(nil)); end
74
+
75
+ # source://thor//lib/thor.rb#78
76
+ def long_desc(long_description, options = T.unsafe(nil)); end
77
+
78
+ # source://thor//lib/thor.rb#101
79
+ def map(mappings = T.unsafe(nil), **kw); end
80
+
81
+ # source://thor//lib/thor.rb#246
82
+ def method_at_least_one(*args, &block); end
83
+
84
+ # source://thor//lib/thor.rb#203
85
+ def method_exclusive(*args, &block); end
86
+
87
+ # source://thor//lib/thor.rb#163
88
+ def method_option(name, options = T.unsafe(nil)); end
89
+
90
+ # source://thor//lib/thor.rb#129
91
+ def method_options(options = T.unsafe(nil)); end
92
+
93
+ # source://thor//lib/thor.rb#163
94
+ def option(name, options = T.unsafe(nil)); end
95
+
96
+ # source://thor//lib/thor.rb#129
97
+ def options(options = T.unsafe(nil)); end
98
+
99
+ # source://thor//lib/thor.rb#12
100
+ def package_name(name, _ = T.unsafe(nil)); end
101
+
102
+ # source://thor//lib/thor.rb#309
103
+ def printable_commands(all = T.unsafe(nil), subcommand = T.unsafe(nil)); end
104
+
105
+ # source://thor//lib/thor.rb#309
106
+ def printable_tasks(all = T.unsafe(nil), subcommand = T.unsafe(nil)); end
107
+
108
+ # source://thor//lib/thor.rb#37
109
+ def register(klass, subcommand_name, usage, description, options = T.unsafe(nil)); end
110
+
111
+ # source://thor//lib/thor.rb#420
112
+ def stop_on_unknown_option!(*command_names); end
113
+
114
+ # source://thor//lib/thor.rb#424
115
+ def stop_on_unknown_option?(command); end
116
+
117
+ # source://thor//lib/thor.rb#329
118
+ def subcommand(subcommand, subcommand_class); end
119
+
120
+ # source://thor//lib/thor.rb#325
121
+ def subcommand_classes; end
122
+
123
+ # source://thor//lib/thor.rb#320
124
+ def subcommands; end
125
+
126
+ # source://thor//lib/thor.rb#329
127
+ def subtask(subcommand, subcommand_class); end
128
+
129
+ # source://thor//lib/thor.rb#320
130
+ def subtasks; end
131
+
132
+ # source://thor//lib/thor.rb#258
133
+ def task_help(shell, command_name); end
134
+
135
+ protected
136
+
137
+ # source://thor//lib/thor.rb#546
138
+ def banner(command, namespace = T.unsafe(nil), subcommand = T.unsafe(nil)); end
139
+
140
+ # source://thor//lib/thor.rb#552
141
+ def baseclass; end
142
+
143
+ # source://thor//lib/thor.rb#560
144
+ def create_command(meth); end
145
+
146
+ # source://thor//lib/thor.rb#560
147
+ def create_task(meth); end
148
+
149
+ # source://thor//lib/thor.rb#478
150
+ def disable_required_check; end
151
+
152
+ # source://thor//lib/thor.rb#505
153
+ def dispatch(meth, given_args, given_opts, config); end
154
+
155
+ # source://thor//lib/thor.rb#556
156
+ def dynamic_command_class; end
157
+
158
+ # source://thor//lib/thor.rb#626
159
+ def find_command_possibilities(meth); end
160
+
161
+ # source://thor//lib/thor.rb#626
162
+ def find_task_possibilities(meth); end
163
+
164
+ # source://thor//lib/thor.rb#586
165
+ def initialize_added; end
166
+
167
+ # source://thor//lib/thor.rb#469
168
+ def method_at_least_one_option_names; end
169
+
170
+ # source://thor//lib/thor.rb#460
171
+ def method_exclusive_option_names; end
172
+
173
+ # source://thor//lib/thor.rb#605
174
+ def normalize_command_name(meth); end
175
+
176
+ # source://thor//lib/thor.rb#605
177
+ def normalize_task_name(meth); end
178
+
179
+ # source://thor//lib/thor.rb#493
180
+ def print_at_least_one_required_options(shell, command = T.unsafe(nil)); end
181
+
182
+ # source://thor//lib/thor.rb#482
183
+ def print_exclusive_options(shell, command = T.unsafe(nil)); end
184
+
185
+ # source://thor//lib/thor.rb#592
186
+ def retrieve_command_name(args); end
187
+
188
+ # source://thor//lib/thor.rb#592
189
+ def retrieve_task_name(args); end
190
+
191
+ # source://thor//lib/thor.rb#653
192
+ def sort_commands!(list); end
193
+
194
+ # source://thor//lib/thor.rb#473
195
+ def stop_on_unknown_option; end
196
+
197
+ # source://thor//lib/thor.rb#641
198
+ def subcommand_help(cmd); end
199
+
200
+ # source://thor//lib/thor.rb#641
201
+ def subtask_help(cmd); end
202
+ end
203
+ end
204
+
205
+ # source://thor//lib/thor/actions/empty_directory.rb#2
206
+ module Thor::Actions
207
+ mixes_in_class_methods ::Thor::Actions::ClassMethods
208
+
209
+ # source://thor//lib/thor/actions.rb#72
210
+ def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end
211
+
212
+ # source://thor//lib/thor/actions.rb#89
213
+ def action(instance); end
214
+
215
+ # source://thor//lib/thor/actions/create_file.rb#22
216
+ def add_file(destination, *args, &block); end
217
+
218
+ # source://thor//lib/thor/actions/create_link.rb#17
219
+ def add_link(destination, *args); end
220
+
221
+ # source://thor//lib/thor/actions/file_manipulation.rb#192
222
+ def append_file(path, *args, &block); end
223
+
224
+ # source://thor//lib/thor/actions/file_manipulation.rb#192
225
+ def append_to_file(path, *args, &block); end
226
+
227
+ # source://thor//lib/thor/actions.rb#216
228
+ def apply(path, config = T.unsafe(nil)); end
229
+
230
+ # source://thor//lib/thor/actions.rb#10
231
+ def behavior; end
232
+
233
+ # source://thor//lib/thor/actions.rb#10
234
+ def behavior=(_arg0); end
235
+
236
+ # source://thor//lib/thor/actions/file_manipulation.rb#145
237
+ def chmod(path, mode, config = T.unsafe(nil)); end
238
+
239
+ # source://thor//lib/thor/actions/file_manipulation.rb#308
240
+ def comment_lines(path, flag, *args); end
241
+
242
+ # source://thor//lib/thor/actions/file_manipulation.rb#20
243
+ def copy_file(source, *args, &block); end
244
+
245
+ # source://thor//lib/thor/actions/create_file.rb#22
246
+ def create_file(destination, *args, &block); end
247
+
248
+ # source://thor//lib/thor/actions/create_link.rb#17
249
+ def create_link(destination, *args); end
250
+
251
+ # source://thor//lib/thor/actions.rb#99
252
+ def destination_root; end
253
+
254
+ # source://thor//lib/thor/actions.rb#106
255
+ def destination_root=(root); end
256
+
257
+ # source://thor//lib/thor/actions/directory.rb#49
258
+ def directory(source, *args, &block); end
259
+
260
+ # source://thor//lib/thor/actions/empty_directory.rb#13
261
+ def empty_directory(destination, config = T.unsafe(nil)); end
262
+
263
+ # source://thor//lib/thor/actions.rb#133
264
+ def find_in_source_paths(file); end
265
+
266
+ # source://thor//lib/thor/actions/file_manipulation.rb#81
267
+ def get(source, *args, &block); end
268
+
269
+ # source://thor//lib/thor/actions/file_manipulation.rb#262
270
+ def gsub_file(path, flag, *args, &block); end
271
+
272
+ # source://thor//lib/thor/actions.rb#200
273
+ def in_root; end
274
+
275
+ # source://thor//lib/thor/actions/file_manipulation.rb#216
276
+ def inject_into_class(path, klass, *args, &block); end
277
+
278
+ # source://thor//lib/thor/actions/inject_into_file.rb#26
279
+ def inject_into_file(destination, *args, &block); end
280
+
281
+ # source://thor//lib/thor/actions/file_manipulation.rb#239
282
+ def inject_into_module(path, module_name, *args, &block); end
283
+
284
+ # source://thor//lib/thor/actions/inject_into_file.rb#26
285
+ def insert_into_file(destination, *args, &block); end
286
+
287
+ # source://thor//lib/thor/actions.rb#170
288
+ def inside(dir = T.unsafe(nil), config = T.unsafe(nil), &block); end
289
+
290
+ # source://thor//lib/thor/actions/file_manipulation.rb#50
291
+ def link_file(source, *args); end
292
+
293
+ # source://thor//lib/thor/actions/file_manipulation.rb#170
294
+ def prepend_file(path, *args, &block); end
295
+
296
+ # source://thor//lib/thor/actions/file_manipulation.rb#170
297
+ def prepend_to_file(path, *args, &block); end
298
+
299
+ # source://thor//lib/thor/actions.rb#114
300
+ def relative_to_original_destination_root(path, remove_dot = T.unsafe(nil)); end
301
+
302
+ # source://thor//lib/thor/actions/file_manipulation.rb#325
303
+ def remove_dir(path, config = T.unsafe(nil)); end
304
+
305
+ # source://thor//lib/thor/actions/file_manipulation.rb#325
306
+ def remove_file(path, config = T.unsafe(nil)); end
307
+
308
+ # source://thor//lib/thor/actions.rb#248
309
+ def run(command, config = T.unsafe(nil)); end
310
+
311
+ # source://thor//lib/thor/actions.rb#285
312
+ def run_ruby_script(command, config = T.unsafe(nil)); end
313
+
314
+ # source://thor//lib/thor/actions.rb#127
315
+ def source_paths; end
316
+
317
+ # source://thor//lib/thor/actions/file_manipulation.rb#117
318
+ def template(source, *args, &block); end
319
+
320
+ # source://thor//lib/thor/actions.rb#308
321
+ def thor(command, *args); end
322
+
323
+ # source://thor//lib/thor/actions/file_manipulation.rb#289
324
+ def uncomment_lines(path, flag, *args); end
325
+
326
+ protected
327
+
328
+ # source://thor//lib/thor/actions.rb#329
329
+ def _cleanup_options_and_set(options, key); end
330
+
331
+ # source://thor//lib/thor/actions.rb#325
332
+ def _shared_configuration; end
333
+
334
+ private
335
+
336
+ # source://thor//lib/thor/actions/file_manipulation.rb#346
337
+ def capture(*args); end
338
+
339
+ # source://thor//lib/thor/actions/file_manipulation.rb#342
340
+ def concat(string); end
341
+
342
+ # source://thor//lib/thor/actions/file_manipulation.rb#337
343
+ def output_buffer; end
344
+
345
+ # source://thor//lib/thor/actions/file_manipulation.rb#337
346
+ def output_buffer=(_arg0); end
347
+
348
+ # source://thor//lib/thor/actions/file_manipulation.rb#350
349
+ def with_output_buffer(buf = T.unsafe(nil)); end
350
+
351
+ class << self
352
+ # source://thor//lib/thor/actions.rb#12
353
+ def included(base); end
354
+ end
355
+ end
356
+
357
+ # source://thor//lib/thor/actions/file_manipulation.rb#362
358
+ class Thor::Actions::CapturableERB < ::ERB
359
+ # source://thor//lib/thor/actions/file_manipulation.rb#363
360
+ def set_eoutvar(compiler, eoutvar = T.unsafe(nil)); end
361
+ end
362
+
363
+ # source://thor//lib/thor/actions.rb#17
364
+ module Thor::Actions::ClassMethods
365
+ # source://thor//lib/thor/actions.rb#48
366
+ def add_runtime_options!; end
367
+
368
+ # source://thor//lib/thor/actions.rb#22
369
+ def source_paths; end
370
+
371
+ # source://thor//lib/thor/actions.rb#38
372
+ def source_paths_for_search; end
373
+
374
+ # source://thor//lib/thor/actions.rb#27
375
+ def source_root(path = T.unsafe(nil)); end
376
+ end
377
+
378
+ # source://thor//lib/thor/actions/create_file.rb#32
379
+ class Thor::Actions::CreateFile < ::Thor::Actions::EmptyDirectory
380
+ # source://thor//lib/thor/actions/create_file.rb#35
381
+ def initialize(base, destination, data, config = T.unsafe(nil)); end
382
+
383
+ # source://thor//lib/thor/actions/create_file.rb#33
384
+ def data; end
385
+
386
+ # source://thor//lib/thor/actions/create_file.rb#45
387
+ def identical?; end
388
+
389
+ # source://thor//lib/thor/actions/create_file.rb#60
390
+ def invoke!; end
391
+
392
+ # source://thor//lib/thor/actions/create_file.rb#52
393
+ def render; end
394
+
395
+ protected
396
+
397
+ # source://thor//lib/thor/actions/create_file.rb#100
398
+ def force_on_collision?; end
399
+
400
+ # source://thor//lib/thor/actions/create_file.rb#86
401
+ def force_or_skip_or_conflict(force, skip, &block); end
402
+
403
+ # source://thor//lib/thor/actions/create_file.rb#73
404
+ def on_conflict_behavior(&block); end
405
+ end
406
+
407
+ # source://thor//lib/thor/actions/create_link.rb#27
408
+ class Thor::Actions::CreateLink < ::Thor::Actions::CreateFile
409
+ # source://thor//lib/thor/actions/create_link.rb#28
410
+ def data; end
411
+
412
+ # source://thor//lib/thor/actions/create_link.rb#56
413
+ def exists?; end
414
+
415
+ # source://thor//lib/thor/actions/create_link.rb#35
416
+ def identical?; end
417
+
418
+ # source://thor//lib/thor/actions/create_link.rb#40
419
+ def invoke!; end
420
+ end
421
+
422
+ # source://thor//lib/thor/actions/directory.rb#55
423
+ class Thor::Actions::Directory < ::Thor::Actions::EmptyDirectory
424
+ # source://thor//lib/thor/actions/directory.rb#58
425
+ def initialize(base, source, destination = T.unsafe(nil), config = T.unsafe(nil), &block); end
426
+
427
+ # source://thor//lib/thor/actions/directory.rb#64
428
+ def invoke!; end
429
+
430
+ # source://thor//lib/thor/actions/directory.rb#69
431
+ def revoke!; end
432
+
433
+ # source://thor//lib/thor/actions/directory.rb#56
434
+ def source; end
435
+
436
+ protected
437
+
438
+ # source://thor//lib/thor/actions/directory.rb#75
439
+ def execute!; end
440
+
441
+ # source://thor//lib/thor/actions/directory.rb#99
442
+ def file_level_lookup(previous_lookup); end
443
+
444
+ # source://thor//lib/thor/actions/directory.rb#103
445
+ def files(lookup); end
446
+ end
447
+
448
+ # source://thor//lib/thor/actions/empty_directory.rb#23
449
+ class Thor::Actions::EmptyDirectory
450
+ # source://thor//lib/thor/actions/empty_directory.rb#34
451
+ def initialize(base, destination, config = T.unsafe(nil)); end
452
+
453
+ # source://thor//lib/thor/actions/empty_directory.rb#24
454
+ def base; end
455
+
456
+ # source://thor//lib/thor/actions/empty_directory.rb#24
457
+ def config; end
458
+
459
+ # source://thor//lib/thor/actions/empty_directory.rb#24
460
+ def destination; end
461
+
462
+ # source://thor//lib/thor/actions/empty_directory.rb#45
463
+ def exists?; end
464
+
465
+ # source://thor//lib/thor/actions/empty_directory.rb#24
466
+ def given_destination; end
467
+
468
+ # source://thor//lib/thor/actions/empty_directory.rb#49
469
+ def invoke!; end
470
+
471
+ # source://thor//lib/thor/actions/empty_directory.rb#24
472
+ def relative_destination; end
473
+
474
+ # source://thor//lib/thor/actions/empty_directory.rb#56
475
+ def revoke!; end
476
+
477
+ protected
478
+
479
+ # source://thor//lib/thor/actions/empty_directory.rb#103
480
+ def convert_encoded_instructions(filename); end
481
+
482
+ # source://thor//lib/thor/actions/empty_directory.rb#85
483
+ def destination=(destination); end
484
+
485
+ # source://thor//lib/thor/actions/empty_directory.rb#113
486
+ def invoke_with_conflict_check(&block); end
487
+
488
+ # source://thor//lib/thor/actions/empty_directory.rb#132
489
+ def on_conflict_behavior; end
490
+
491
+ # source://thor//lib/thor/actions/empty_directory.rb#126
492
+ def on_file_clash_behavior; end
493
+
494
+ # source://thor//lib/thor/actions/empty_directory.rb#67
495
+ def pretend?; end
496
+
497
+ # source://thor//lib/thor/actions/empty_directory.rb#138
498
+ def say_status(status, color); end
499
+ end
500
+
501
+ # source://thor//lib/thor/actions/inject_into_file.rb#36
502
+ class Thor::Actions::InjectIntoFile < ::Thor::Actions::EmptyDirectory
503
+ # source://thor//lib/thor/actions/inject_into_file.rb#39
504
+ def initialize(base, destination, data, config); end
505
+
506
+ # source://thor//lib/thor/actions/inject_into_file.rb#37
507
+ def behavior; end
508
+
509
+ # source://thor//lib/thor/actions/inject_into_file.rb#37
510
+ def flag; end
511
+
512
+ # source://thor//lib/thor/actions/inject_into_file.rb#52
513
+ def invoke!; end
514
+
515
+ # source://thor//lib/thor/actions/inject_into_file.rb#37
516
+ def replacement; end
517
+
518
+ # source://thor//lib/thor/actions/inject_into_file.rb#74
519
+ def revoke!; end
520
+
521
+ protected
522
+
523
+ # source://thor//lib/thor/actions/inject_into_file.rb#110
524
+ def content; end
525
+
526
+ # source://thor//lib/thor/actions/inject_into_file.rb#120
527
+ def replace!(regexp, string, force); end
528
+
529
+ # source://thor//lib/thor/actions/inject_into_file.rb#114
530
+ def replacement_present?; end
531
+
532
+ # source://thor//lib/thor/actions/inject_into_file.rb#90
533
+ def say_status(behavior, warning: T.unsafe(nil), color: T.unsafe(nil)); end
534
+ end
535
+
536
+ # source://thor//lib/thor/actions/inject_into_file.rb#24
537
+ Thor::Actions::WARNINGS = T.let(T.unsafe(nil), Hash)
538
+
539
+ # source://thor//lib/thor/error.rb#57
540
+ class Thor::AmbiguousCommandError < ::Thor::Error; end
541
+
542
+ # source://thor//lib/thor/error.rb#59
543
+ Thor::AmbiguousTaskError = Thor::AmbiguousCommandError
544
+
545
+ # source://thor//lib/thor/parser/argument.rb#2
546
+ class Thor::Argument
547
+ # source://thor//lib/thor/parser/argument.rb#8
548
+ def initialize(name, options = T.unsafe(nil)); end
549
+
550
+ # source://thor//lib/thor/parser/argument.rb#5
551
+ def banner; end
552
+
553
+ # source://thor//lib/thor/parser/argument.rb#5
554
+ def default; end
555
+
556
+ # source://thor//lib/thor/parser/argument.rb#5
557
+ def description; end
558
+
559
+ # source://thor//lib/thor/parser/argument.rb#5
560
+ def enum; end
561
+
562
+ # source://thor//lib/thor/parser/argument.rb#52
563
+ def enum_to_s; end
564
+
565
+ # source://thor//lib/thor/parser/argument.rb#5
566
+ def human_name; end
567
+
568
+ # source://thor//lib/thor/parser/argument.rb#5
569
+ def name; end
570
+
571
+ # source://thor//lib/thor/parser/argument.rb#27
572
+ def print_default; end
573
+
574
+ # source://thor//lib/thor/parser/argument.rb#5
575
+ def required; end
576
+
577
+ # source://thor//lib/thor/parser/argument.rb#39
578
+ def required?; end
579
+
580
+ # source://thor//lib/thor/parser/argument.rb#43
581
+ def show_default?; end
582
+
583
+ # source://thor//lib/thor/parser/argument.rb#5
584
+ def type; end
585
+
586
+ # source://thor//lib/thor/parser/argument.rb#35
587
+ def usage; end
588
+
589
+ protected
590
+
591
+ # source://thor//lib/thor/parser/argument.rb#71
592
+ def default_banner; end
593
+
594
+ # source://thor//lib/thor/parser/argument.rb#67
595
+ def valid_type?(type); end
596
+
597
+ # source://thor//lib/thor/parser/argument.rb#62
598
+ def validate!; end
599
+ end
600
+
601
+ # source://thor//lib/thor/parser/argument.rb#3
602
+ Thor::Argument::VALID_TYPES = T.let(T.unsafe(nil), Array)
603
+
604
+ # source://thor//lib/thor/parser/arguments.rb#2
605
+ class Thor::Arguments
606
+ # source://thor//lib/thor/parser/arguments.rb#26
607
+ def initialize(arguments = T.unsafe(nil)); end
608
+
609
+ # source://thor//lib/thor/parser/arguments.rb#40
610
+ def parse(args); end
611
+
612
+ # source://thor//lib/thor/parser/arguments.rb#53
613
+ def remaining; end
614
+
615
+ private
616
+
617
+ # source://thor//lib/thor/parser/arguments.rb#186
618
+ def check_requirement!; end
619
+
620
+ # source://thor//lib/thor/parser/arguments.rb#84
621
+ def current_is_value?; end
622
+
623
+ # source://thor//lib/thor/parser/arguments.rb#64
624
+ def last?; end
625
+
626
+ # source://thor//lib/thor/parser/arguments.rb#59
627
+ def no_or_skip?(arg); end
628
+
629
+ # source://thor//lib/thor/parser/arguments.rb#118
630
+ def parse_array(name); end
631
+
632
+ # source://thor//lib/thor/parser/arguments.rb#97
633
+ def parse_hash(name); end
634
+
635
+ # source://thor//lib/thor/parser/arguments.rb#139
636
+ def parse_numeric(name); end
637
+
638
+ # source://thor//lib/thor/parser/arguments.rb#158
639
+ def parse_string(name); end
640
+
641
+ # source://thor//lib/thor/parser/arguments.rb#68
642
+ def peek; end
643
+
644
+ # source://thor//lib/thor/parser/arguments.rb#72
645
+ def shift; end
646
+
647
+ # source://thor//lib/thor/parser/arguments.rb#76
648
+ def unshift(arg); end
649
+
650
+ # source://thor//lib/thor/parser/arguments.rb#172
651
+ def validate_enum_value!(name, value, message); end
652
+
653
+ class << self
654
+ # source://thor//lib/thor/parser/arguments.rb#19
655
+ def parse(*args); end
656
+
657
+ # source://thor//lib/thor/parser/arguments.rb#8
658
+ def split(args); end
659
+ end
660
+ end
661
+
662
+ # source://thor//lib/thor/parser/arguments.rb#3
663
+ Thor::Arguments::NUMERIC = T.let(T.unsafe(nil), Regexp)
664
+
665
+ # source://thor//lib/thor/error.rb#104
666
+ class Thor::AtLeastOneRequiredArgumentError < ::Thor::InvocationError; end
667
+
668
+ # source://thor//lib/thor/shell.rb#4
669
+ module Thor::Base
670
+ include ::Thor::Invocation
671
+ include ::Thor::Shell
672
+
673
+ mixes_in_class_methods ::Thor::Base::ClassMethods
674
+ mixes_in_class_methods ::Thor::Invocation::ClassMethods
675
+
676
+ # source://thor//lib/thor/base.rb#53
677
+ def initialize(args = T.unsafe(nil), local_options = T.unsafe(nil), config = T.unsafe(nil)); end
678
+
679
+ # source://thor//lib/thor/base.rb#35
680
+ def args; end
681
+
682
+ # source://thor//lib/thor/base.rb#35
683
+ def args=(_arg0); end
684
+
685
+ # source://thor//lib/thor/base.rb#35
686
+ def options; end
687
+
688
+ # source://thor//lib/thor/base.rb#35
689
+ def options=(_arg0); end
690
+
691
+ # source://thor//lib/thor/base.rb#35
692
+ def parent_options; end
693
+
694
+ # source://thor//lib/thor/base.rb#35
695
+ def parent_options=(_arg0); end
696
+
697
+ class << self
698
+ # source://thor//lib/thor/base.rb#116
699
+ def included(base); end
700
+
701
+ # source://thor//lib/thor/base.rb#144
702
+ def register_klass_file(klass); end
703
+
704
+ # source://thor//lib/thor/shell.rb#11
705
+ def shell; end
706
+
707
+ # source://thor//lib/thor/shell.rb#6
708
+ def shell=(_arg0); end
709
+
710
+ # source://thor//lib/thor/base.rb#137
711
+ def subclass_files; end
712
+
713
+ # source://thor//lib/thor/base.rb#128
714
+ def subclasses; end
715
+ end
716
+ end
717
+
718
+ # source://thor//lib/thor/base.rb#153
719
+ module Thor::Base::ClassMethods
720
+ # source://thor//lib/thor/base.rb#482
721
+ def all_commands; end
722
+
723
+ # source://thor//lib/thor/base.rb#482
724
+ def all_tasks; end
725
+
726
+ # source://thor//lib/thor/base.rb#189
727
+ def allow_incompatible_default_type!; end
728
+
729
+ # source://thor//lib/thor/base.rb#261
730
+ def argument(name, options = T.unsafe(nil)); end
731
+
732
+ # source://thor//lib/thor/base.rb#293
733
+ def arguments; end
734
+
735
+ # source://thor//lib/thor/base.rb#162
736
+ def attr_accessor(*_arg0); end
737
+
738
+ # source://thor//lib/thor/base.rb#154
739
+ def attr_reader(*_arg0); end
740
+
741
+ # source://thor//lib/thor/base.rb#158
742
+ def attr_writer(*_arg0); end
743
+
744
+ # source://thor//lib/thor/base.rb#193
745
+ def check_default_type; end
746
+
747
+ # source://thor//lib/thor/base.rb#183
748
+ def check_default_type!; end
749
+
750
+ # source://thor//lib/thor/base.rb#172
751
+ def check_unknown_options; end
752
+
753
+ # source://thor//lib/thor/base.rb#168
754
+ def check_unknown_options!; end
755
+
756
+ # source://thor//lib/thor/base.rb#176
757
+ def check_unknown_options?(config); end
758
+
759
+ # source://thor//lib/thor/base.rb#392
760
+ def class_at_least_one(*args, &block); end
761
+
762
+ # source://thor//lib/thor/base.rb#411
763
+ def class_at_least_one_option_names; end
764
+
765
+ # source://thor//lib/thor/base.rb#357
766
+ def class_exclusive(*args, &block); end
767
+
768
+ # source://thor//lib/thor/base.rb#402
769
+ def class_exclusive_option_names; end
770
+
771
+ # source://thor//lib/thor/base.rb#328
772
+ def class_option(name, options = T.unsafe(nil)); end
773
+
774
+ # source://thor//lib/thor/base.rb#306
775
+ def class_options(options = T.unsafe(nil)); end
776
+
777
+ # source://thor//lib/thor/base.rb#471
778
+ def commands; end
779
+
780
+ # source://thor//lib/thor/base.rb#207
781
+ def disable_required_check?(command_name); end
782
+
783
+ # source://thor//lib/thor/base.rb#628
784
+ def exit_on_failure?; end
785
+
786
+ # source://thor//lib/thor/base.rb#457
787
+ def group(name = T.unsafe(nil)); end
788
+
789
+ # source://thor//lib/thor/base.rb#618
790
+ def handle_argument_error(command, error, args, arity); end
791
+
792
+ # source://thor//lib/thor/base.rb#613
793
+ def handle_no_command_error(command, has_namespace = T.unsafe(nil)); end
794
+
795
+ # source://thor//lib/thor/base.rb#613
796
+ def handle_no_task_error(command, has_namespace = T.unsafe(nil)); end
797
+
798
+ # source://thor//lib/thor/base.rb#566
799
+ def namespace(name = T.unsafe(nil)); end
800
+
801
+ # source://thor//lib/thor/base.rb#530
802
+ def no_commands(&block); end
803
+
804
+ # source://thor//lib/thor/base.rb#540
805
+ def no_commands?; end
806
+
807
+ # source://thor//lib/thor/base.rb#536
808
+ def no_commands_context; end
809
+
810
+ # source://thor//lib/thor/base.rb#530
811
+ def no_tasks(&block); end
812
+
813
+ # source://thor//lib/thor/base.rb#606
814
+ def public_command(*names); end
815
+
816
+ # source://thor//lib/thor/base.rb#606
817
+ def public_task(*names); end
818
+
819
+ # source://thor//lib/thor/base.rb#426
820
+ def remove_argument(*names); end
821
+
822
+ # source://thor//lib/thor/base.rb#445
823
+ def remove_class_option(*names); end
824
+
825
+ # source://thor//lib/thor/base.rb#500
826
+ def remove_command(*names); end
827
+
828
+ # source://thor//lib/thor/base.rb#500
829
+ def remove_task(*names); end
830
+
831
+ # source://thor//lib/thor/base.rb#582
832
+ def start(given_args = T.unsafe(nil), config = T.unsafe(nil)); end
833
+
834
+ # source://thor//lib/thor/base.rb#201
835
+ def stop_on_unknown_option?(command_name); end
836
+
837
+ # source://thor//lib/thor/base.rb#218
838
+ def strict_args_position; end
839
+
840
+ # source://thor//lib/thor/base.rb#214
841
+ def strict_args_position!; end
842
+
843
+ # source://thor//lib/thor/base.rb#222
844
+ def strict_args_position?(config); end
845
+
846
+ # source://thor//lib/thor/base.rb#471
847
+ def tasks; end
848
+
849
+ protected
850
+
851
+ # source://thor//lib/thor/base.rb#777
852
+ def baseclass; end
853
+
854
+ # source://thor//lib/thor/base.rb#771
855
+ def basename; end
856
+
857
+ # source://thor//lib/thor/base.rb#688
858
+ def build_option(name, options, scope); end
859
+
860
+ # source://thor//lib/thor/base.rb#699
861
+ def build_options(options, scope); end
862
+
863
+ # source://thor//lib/thor/base.rb#808
864
+ def built_option_names(target, opt = T.unsafe(nil), &block); end
865
+
866
+ # source://thor//lib/thor/base.rb#638
867
+ def class_options_help(shell, groups = T.unsafe(nil)); end
868
+
869
+ # source://thor//lib/thor/base.rb#816
870
+ def command_scope_member(name, options = T.unsafe(nil)); end
871
+
872
+ # source://thor//lib/thor/base.rb#782
873
+ def create_command(meth); end
874
+
875
+ # source://thor//lib/thor/base.rb#782
876
+ def create_task(meth); end
877
+
878
+ # source://thor//lib/thor/base.rb#792
879
+ def dispatch(command, given_args, given_opts, config); end
880
+
881
+ # source://thor//lib/thor/base.rb#708
882
+ def find_and_refresh_command(name); end
883
+
884
+ # source://thor//lib/thor/base.rb#708
885
+ def find_and_refresh_task(name); end
886
+
887
+ # source://thor//lib/thor/base.rb#749
888
+ def from_superclass(method, default = T.unsafe(nil)); end
889
+
890
+ # source://thor//lib/thor/base.rb#721
891
+ def inherited(klass); end
892
+
893
+ # source://thor//lib/thor/base.rb#788
894
+ def initialize_added; end
895
+
896
+ # source://thor//lib/thor/base.rb#677
897
+ def is_thor_reserved_word?(word, type); end
898
+
899
+ # source://thor//lib/thor/base.rb#729
900
+ def method_added(meth); end
901
+
902
+ # source://thor//lib/thor/base.rb#656
903
+ def print_options(shell, options, group_name = T.unsafe(nil)); end
904
+
905
+ # source://thor//lib/thor/base.rb#798
906
+ def register_options_relation_for(target, relation, *args, &block); end
907
+ end
908
+
909
+ # source://thor//lib/thor/command.rb#2
910
+ class Thor::Command < ::Struct
911
+ # source://thor//lib/thor/command.rb#5
912
+ def initialize(name, description, long_description, wrap_long_description, usage, options = T.unsafe(nil), options_relation = T.unsafe(nil)); end
913
+
914
+ # source://thor//lib/thor/command.rb#42
915
+ def formatted_usage(klass, namespace = T.unsafe(nil), subcommand = T.unsafe(nil)); end
916
+
917
+ # source://thor//lib/thor/command.rb#15
918
+ def hidden?; end
919
+
920
+ # source://thor//lib/thor/command.rb#70
921
+ def method_at_least_one_option_names; end
922
+
923
+ # source://thor//lib/thor/command.rb#66
924
+ def method_exclusive_option_names; end
925
+
926
+ # source://thor//lib/thor/command.rb#21
927
+ def run(instance, args = T.unsafe(nil)); end
928
+
929
+ protected
930
+
931
+ # source://thor//lib/thor/command.rb#114
932
+ def handle_argument_error?(instance, error, caller); end
933
+
934
+ # source://thor//lib/thor/command.rb#121
935
+ def handle_no_method_error?(instance, error, caller); end
936
+
937
+ # source://thor//lib/thor/command.rb#104
938
+ def local_method?(instance, name); end
939
+
940
+ # source://thor//lib/thor/command.rb#87
941
+ def not_debugging?(instance); end
942
+
943
+ # source://thor//lib/thor/command.rb#100
944
+ def private_method?(instance); end
945
+
946
+ # source://thor//lib/thor/command.rb#96
947
+ def public_method?(instance); end
948
+
949
+ # source://thor//lib/thor/command.rb#77
950
+ def required_arguments_for(klass, usage); end
951
+
952
+ # source://thor//lib/thor/command.rb#91
953
+ def required_options; end
954
+
955
+ # source://thor//lib/thor/command.rb#109
956
+ def sans_backtrace(backtrace, caller); end
957
+
958
+ private
959
+
960
+ # source://thor//lib/thor/command.rb#9
961
+ def initialize_copy(other); end
962
+ end
963
+
964
+ # source://thor//lib/thor/command.rb#3
965
+ Thor::Command::FILE_REGEXP = T.let(T.unsafe(nil), Regexp)
966
+
967
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#2
968
+ module Thor::CoreExt; end
969
+
970
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#11
971
+ class Thor::CoreExt::HashWithIndifferentAccess < ::Hash
972
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#12
973
+ def initialize(hash = T.unsafe(nil)); end
974
+
975
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#19
976
+ def [](key); end
977
+
978
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#23
979
+ def []=(key, value); end
980
+
981
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#27
982
+ def delete(key); end
983
+
984
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#31
985
+ def except(*keys); end
986
+
987
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#37
988
+ def fetch(key, *args); end
989
+
990
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#45
991
+ def key?(key); end
992
+
993
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#53
994
+ def merge(other); end
995
+
996
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#57
997
+ def merge!(other); end
998
+
999
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#72
1000
+ def replace(other_hash); end
1001
+
1002
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#64
1003
+ def reverse_merge(other); end
1004
+
1005
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#68
1006
+ def reverse_merge!(other_hash); end
1007
+
1008
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#41
1009
+ def slice(*keys); end
1010
+
1011
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#77
1012
+ def to_hash; end
1013
+
1014
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#49
1015
+ def values_at(*indices); end
1016
+
1017
+ protected
1018
+
1019
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#83
1020
+ def convert_key(key); end
1021
+
1022
+ # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#93
1023
+ def method_missing(method, *args); end
1024
+ end
1025
+
1026
+ # source://thor//lib/thor/error.rb#3
1027
+ module Thor::Correctable
1028
+ # source://thor//lib/thor/error.rb#8
1029
+ def corrections; end
1030
+
1031
+ # source://thor//lib/thor/error.rb#4
1032
+ def to_s; end
1033
+ end
1034
+
1035
+ # source://thor//lib/thor/command.rb#137
1036
+ class Thor::DynamicCommand < ::Thor::Command
1037
+ # source://thor//lib/thor/command.rb#138
1038
+ def initialize(name, options = T.unsafe(nil)); end
1039
+
1040
+ # source://thor//lib/thor/command.rb#142
1041
+ def run(instance, args = T.unsafe(nil)); end
1042
+ end
1043
+
1044
+ # source://thor//lib/thor/command.rb#150
1045
+ Thor::DynamicTask = Thor::DynamicCommand
1046
+
1047
+ # source://thor//lib/thor/error.rb#20
1048
+ class Thor::Error < ::StandardError; end
1049
+
1050
+ # source://thor//lib/thor/error.rb#101
1051
+ class Thor::ExclusiveArgumentError < ::Thor::InvocationError; end
1052
+
1053
+ # source://thor//lib/thor/group.rb#7
1054
+ class Thor::Group
1055
+ include ::Thor::Base
1056
+ include ::Thor::Invocation
1057
+ include ::Thor::Shell
1058
+ extend ::Thor::Base::ClassMethods
1059
+ extend ::Thor::Invocation::ClassMethods
1060
+
1061
+ protected
1062
+
1063
+ # source://thor//lib/thor/group.rb#276
1064
+ def _invoke_for_class_method(klass, command = T.unsafe(nil), *args, &block); end
1065
+
1066
+ class << self
1067
+ # source://thor//lib/thor/group.rb#161
1068
+ def class_options_help(shell, groups = T.unsafe(nil)); end
1069
+
1070
+ # source://thor//lib/thor/group.rb#221
1071
+ def command_exists?(command_name); end
1072
+
1073
+ # source://thor//lib/thor/group.rb#16
1074
+ def desc(description = T.unsafe(nil)); end
1075
+
1076
+ # source://thor//lib/thor/group.rb#172
1077
+ def get_options_from_invocations(group_options, base_options); end
1078
+
1079
+ # source://thor//lib/thor/group.rb#207
1080
+ def handle_argument_error(command, error, _args, arity); end
1081
+
1082
+ # source://thor//lib/thor/group.rb#29
1083
+ def help(shell); end
1084
+
1085
+ # source://thor//lib/thor/group.rb#45
1086
+ def invocation_blocks; end
1087
+
1088
+ # source://thor//lib/thor/group.rb#39
1089
+ def invocations; end
1090
+
1091
+ # source://thor//lib/thor/group.rb#56
1092
+ def invoke(*names, &block); end
1093
+
1094
+ # source://thor//lib/thor/group.rb#110
1095
+ def invoke_from_option(*names, &block); end
1096
+
1097
+ # source://thor//lib/thor/group.rb#199
1098
+ def printable_commands(*_arg0); end
1099
+
1100
+ # source://thor//lib/thor/group.rb#199
1101
+ def printable_tasks(*_arg0); end
1102
+
1103
+ # source://thor//lib/thor/group.rb#149
1104
+ def remove_invocation(*names); end
1105
+
1106
+ protected
1107
+
1108
+ # source://thor//lib/thor/group.rb#249
1109
+ def banner; end
1110
+
1111
+ # source://thor//lib/thor/group.rb#259
1112
+ def baseclass; end
1113
+
1114
+ # source://thor//lib/thor/group.rb#263
1115
+ def create_command(meth); end
1116
+
1117
+ # source://thor//lib/thor/group.rb#263
1118
+ def create_task(meth); end
1119
+
1120
+ # source://thor//lib/thor/group.rb#228
1121
+ def dispatch(command, given_args, given_opts, config); end
1122
+
1123
+ # source://thor//lib/thor/group.rb#254
1124
+ def self_command; end
1125
+
1126
+ # source://thor//lib/thor/group.rb#254
1127
+ def self_task; end
1128
+ end
1129
+ end
1130
+
1131
+ # source://thor//lib/thor/base.rb#17
1132
+ Thor::HELP_MAPPINGS = T.let(T.unsafe(nil), Array)
1133
+
1134
+ # source://thor//lib/thor/command.rb#129
1135
+ class Thor::HiddenCommand < ::Thor::Command
1136
+ # source://thor//lib/thor/command.rb#130
1137
+ def hidden?; end
1138
+ end
1139
+
1140
+ # source://thor//lib/thor/command.rb#134
1141
+ Thor::HiddenTask = Thor::HiddenCommand
1142
+
1143
+ # source://thor//lib/thor/invocation.rb#2
1144
+ module Thor::Invocation
1145
+ mixes_in_class_methods ::Thor::Invocation::ClassMethods
1146
+
1147
+ # source://thor//lib/thor/invocation.rb#23
1148
+ def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil), &block); end
1149
+
1150
+ # source://thor//lib/thor/invocation.rb#30
1151
+ def current_command_chain; end
1152
+
1153
+ # source://thor//lib/thor/invocation.rb#102
1154
+ def invoke(name = T.unsafe(nil), *args); end
1155
+
1156
+ # source://thor//lib/thor/invocation.rb#133
1157
+ def invoke_all; end
1158
+
1159
+ # source://thor//lib/thor/invocation.rb#122
1160
+ def invoke_command(command, *args); end
1161
+
1162
+ # source://thor//lib/thor/invocation.rb#122
1163
+ def invoke_task(command, *args); end
1164
+
1165
+ # source://thor//lib/thor/invocation.rb#138
1166
+ def invoke_with_padding(*args); end
1167
+
1168
+ protected
1169
+
1170
+ # source://thor//lib/thor/invocation.rb#166
1171
+ def _parse_initialization_options(args, opts, config); end
1172
+
1173
+ # source://thor//lib/thor/invocation.rb#153
1174
+ def _retrieve_class_and_command(name, sent_command = T.unsafe(nil)); end
1175
+
1176
+ # source://thor//lib/thor/invocation.rb#153
1177
+ def _retrieve_class_and_task(name, sent_command = T.unsafe(nil)); end
1178
+
1179
+ # source://thor//lib/thor/invocation.rb#145
1180
+ def _shared_configuration; end
1181
+
1182
+ class << self
1183
+ # source://thor//lib/thor/invocation.rb#3
1184
+ def included(base); end
1185
+ end
1186
+ end
1187
+
1188
+ # source://thor//lib/thor/invocation.rb#8
1189
+ module Thor::Invocation::ClassMethods
1190
+ # source://thor//lib/thor/invocation.rb#12
1191
+ def prepare_for_invocation(key, name); end
1192
+ end
1193
+
1194
+ # source://thor//lib/thor/error.rb#62
1195
+ class Thor::InvocationError < ::Thor::Error; end
1196
+
1197
+ # source://thor//lib/thor/line_editor/basic.rb#2
1198
+ module Thor::LineEditor
1199
+ class << self
1200
+ # source://thor//lib/thor/line_editor.rb#10
1201
+ def best_available; end
1202
+
1203
+ # source://thor//lib/thor/line_editor.rb#6
1204
+ def readline(prompt, options = T.unsafe(nil)); end
1205
+ end
1206
+ end
1207
+
1208
+ # source://thor//lib/thor/line_editor/basic.rb#3
1209
+ class Thor::LineEditor::Basic
1210
+ # source://thor//lib/thor/line_editor/basic.rb#10
1211
+ def initialize(prompt, options); end
1212
+
1213
+ # source://thor//lib/thor/line_editor/basic.rb#4
1214
+ def options; end
1215
+
1216
+ # source://thor//lib/thor/line_editor/basic.rb#4
1217
+ def prompt; end
1218
+
1219
+ # source://thor//lib/thor/line_editor/basic.rb#15
1220
+ def readline; end
1221
+
1222
+ private
1223
+
1224
+ # source://thor//lib/thor/line_editor/basic.rb#32
1225
+ def echo?; end
1226
+
1227
+ # source://thor//lib/thor/line_editor/basic.rb#22
1228
+ def get_input; end
1229
+
1230
+ class << self
1231
+ # source://thor//lib/thor/line_editor/basic.rb#6
1232
+ def available?; end
1233
+ end
1234
+ end
1235
+
1236
+ # source://thor//lib/thor/line_editor/readline.rb#3
1237
+ class Thor::LineEditor::Readline < ::Thor::LineEditor::Basic
1238
+ # source://thor//lib/thor/line_editor/readline.rb#13
1239
+ def readline; end
1240
+
1241
+ private
1242
+
1243
+ # source://thor//lib/thor/line_editor/readline.rb#28
1244
+ def add_to_history?; end
1245
+
1246
+ # source://thor//lib/thor/line_editor/readline.rb#42
1247
+ def completion_options; end
1248
+
1249
+ # source://thor//lib/thor/line_editor/readline.rb#32
1250
+ def completion_proc; end
1251
+
1252
+ # source://thor//lib/thor/line_editor/readline.rb#46
1253
+ def use_path_completion?; end
1254
+
1255
+ class << self
1256
+ # source://thor//lib/thor/line_editor/readline.rb#4
1257
+ def available?; end
1258
+ end
1259
+ end
1260
+
1261
+ # source://thor//lib/thor/line_editor/readline.rb#50
1262
+ class Thor::LineEditor::Readline::PathCompletion
1263
+ # source://thor//lib/thor/line_editor/readline.rb#54
1264
+ def initialize(text); end
1265
+
1266
+ # source://thor//lib/thor/line_editor/readline.rb#58
1267
+ def matches; end
1268
+
1269
+ private
1270
+
1271
+ # source://thor//lib/thor/line_editor/readline.rb#68
1272
+ def absolute_matches; end
1273
+
1274
+ # source://thor//lib/thor/line_editor/readline.rb#82
1275
+ def base_path; end
1276
+
1277
+ # source://thor//lib/thor/line_editor/readline.rb#78
1278
+ def glob_pattern; end
1279
+
1280
+ # source://thor//lib/thor/line_editor/readline.rb#64
1281
+ def relative_matches; end
1282
+
1283
+ # source://thor//lib/thor/line_editor/readline.rb#51
1284
+ def text; end
1285
+ end
1286
+
1287
+ # source://thor//lib/thor/error.rb#98
1288
+ class Thor::MalformattedArgumentError < ::Thor::InvocationError; end
1289
+
1290
+ # source://thor//lib/thor/nested_context.rb#2
1291
+ class Thor::NestedContext
1292
+ # source://thor//lib/thor/nested_context.rb#3
1293
+ def initialize; end
1294
+
1295
+ # source://thor//lib/thor/nested_context.rb#7
1296
+ def enter; end
1297
+
1298
+ # source://thor//lib/thor/nested_context.rb#15
1299
+ def entered?; end
1300
+
1301
+ private
1302
+
1303
+ # source://thor//lib/thor/nested_context.rb#25
1304
+ def pop; end
1305
+
1306
+ # source://thor//lib/thor/nested_context.rb#21
1307
+ def push; end
1308
+ end
1309
+
1310
+ # source://thor//lib/thor/parser/option.rb#2
1311
+ class Thor::Option < ::Thor::Argument
1312
+ # source://thor//lib/thor/parser/option.rb#7
1313
+ def initialize(name, options = T.unsafe(nil)); end
1314
+
1315
+ # source://thor//lib/thor/parser/option.rb#3
1316
+ def aliases; end
1317
+
1318
+ # source://thor//lib/thor/parser/option.rb#99
1319
+ def aliases_for_usage; end
1320
+
1321
+ # source://thor//lib/thor/parser/option.rb#118
1322
+ def array?; end
1323
+
1324
+ # source://thor//lib/thor/parser/option.rb#118
1325
+ def boolean?; end
1326
+
1327
+ # source://thor//lib/thor/parser/option.rb#3
1328
+ def group; end
1329
+
1330
+ # source://thor//lib/thor/parser/option.rb#118
1331
+ def hash?; end
1332
+
1333
+ # source://thor//lib/thor/parser/option.rb#3
1334
+ def hide; end
1335
+
1336
+ # source://thor//lib/thor/parser/option.rb#79
1337
+ def human_name; end
1338
+
1339
+ # source://thor//lib/thor/parser/option.rb#3
1340
+ def lazy_default; end
1341
+
1342
+ # source://thor//lib/thor/parser/option.rb#118
1343
+ def numeric?; end
1344
+
1345
+ # source://thor//lib/thor/parser/option.rb#3
1346
+ def repeatable; end
1347
+
1348
+ # source://thor//lib/thor/parser/option.rb#107
1349
+ def show_default?; end
1350
+
1351
+ # source://thor//lib/thor/parser/option.rb#118
1352
+ def string?; end
1353
+
1354
+ # source://thor//lib/thor/parser/option.rb#75
1355
+ def switch_name; end
1356
+
1357
+ # source://thor//lib/thor/parser/option.rb#83
1358
+ def usage(padding = T.unsafe(nil)); end
1359
+
1360
+ protected
1361
+
1362
+ # source://thor//lib/thor/parser/option.rb#168
1363
+ def dasherize(str); end
1364
+
1365
+ # source://thor//lib/thor/parser/option.rb#160
1366
+ def dasherized?; end
1367
+
1368
+ # source://thor//lib/thor/parser/option.rb#164
1369
+ def undasherize(str); end
1370
+
1371
+ # source://thor//lib/thor/parser/option.rb#126
1372
+ def validate!; end
1373
+
1374
+ # source://thor//lib/thor/parser/option.rb#131
1375
+ def validate_default_type!; end
1376
+
1377
+ private
1378
+
1379
+ # source://thor//lib/thor/parser/option.rb#174
1380
+ def normalize_aliases(aliases); end
1381
+
1382
+ class << self
1383
+ # source://thor//lib/thor/parser/option.rb#45
1384
+ def parse(key, value); end
1385
+ end
1386
+ end
1387
+
1388
+ # source://thor//lib/thor/parser/option.rb#5
1389
+ Thor::Option::VALID_TYPES = T.let(T.unsafe(nil), Array)
1390
+
1391
+ # source://thor//lib/thor/parser/options.rb#2
1392
+ class Thor::Options < ::Thor::Arguments
1393
+ # source://thor//lib/thor/parser/options.rb#32
1394
+ def initialize(hash_options = T.unsafe(nil), defaults = T.unsafe(nil), stop_on_unknown = T.unsafe(nil), disable_required_check = T.unsafe(nil), relations = T.unsafe(nil)); end
1395
+
1396
+ # source://thor//lib/thor/parser/options.rb#156
1397
+ def check_at_least_one!; end
1398
+
1399
+ # source://thor//lib/thor/parser/options.rb#144
1400
+ def check_exclusive!; end
1401
+
1402
+ # source://thor//lib/thor/parser/options.rb#168
1403
+ def check_unknown!; end
1404
+
1405
+ # source://thor//lib/thor/parser/options.rb#89
1406
+ def parse(args); end
1407
+
1408
+ # source://thor//lib/thor/parser/options.rb#65
1409
+ def peek; end
1410
+
1411
+ # source://thor//lib/thor/parser/options.rb#61
1412
+ def remaining; end
1413
+
1414
+ # source://thor//lib/thor/parser/options.rb#79
1415
+ def shift; end
1416
+
1417
+ # source://thor//lib/thor/parser/options.rb#84
1418
+ def unshift(arg, is_value: T.unsafe(nil)); end
1419
+
1420
+ protected
1421
+
1422
+ # source://thor//lib/thor/parser/options.rb#189
1423
+ def assign_result!(option, result); end
1424
+
1425
+ # source://thor//lib/thor/parser/options.rb#203
1426
+ def current_is_switch?; end
1427
+
1428
+ # source://thor//lib/thor/parser/options.rb#215
1429
+ def current_is_switch_formatted?; end
1430
+
1431
+ # source://thor//lib/thor/parser/options.rb#225
1432
+ def current_is_value?; end
1433
+
1434
+ # source://thor//lib/thor/parser/options.rb#179
1435
+ def names_to_switch_names(names = T.unsafe(nil)); end
1436
+
1437
+ # source://thor//lib/thor/parser/options.rb#244
1438
+ def normalize_switch(arg); end
1439
+
1440
+ # source://thor//lib/thor/parser/options.rb#256
1441
+ def parse_boolean(switch); end
1442
+
1443
+ # source://thor//lib/thor/parser/options.rb#274
1444
+ def parse_peek(switch, option); end
1445
+
1446
+ # source://thor//lib/thor/parser/options.rb#248
1447
+ def parsing_options?; end
1448
+
1449
+ # source://thor//lib/thor/parser/options.rb#230
1450
+ def switch?(arg); end
1451
+
1452
+ # source://thor//lib/thor/parser/options.rb#234
1453
+ def switch_option(arg); end
1454
+
1455
+ class << self
1456
+ # source://thor//lib/thor/parser/options.rb#11
1457
+ def to_switches(options); end
1458
+ end
1459
+ end
1460
+
1461
+ # source://thor//lib/thor/parser/options.rb#5
1462
+ Thor::Options::EQ_RE = T.let(T.unsafe(nil), Regexp)
1463
+
1464
+ # source://thor//lib/thor/parser/options.rb#3
1465
+ Thor::Options::LONG_RE = T.let(T.unsafe(nil), Regexp)
1466
+
1467
+ # source://thor//lib/thor/parser/options.rb#8
1468
+ Thor::Options::OPTS_END = T.let(T.unsafe(nil), String)
1469
+
1470
+ # source://thor//lib/thor/parser/options.rb#7
1471
+ Thor::Options::SHORT_NUM = T.let(T.unsafe(nil), Regexp)
1472
+
1473
+ # source://thor//lib/thor/parser/options.rb#4
1474
+ Thor::Options::SHORT_RE = T.let(T.unsafe(nil), Regexp)
1475
+
1476
+ # source://thor//lib/thor/parser/options.rb#6
1477
+ Thor::Options::SHORT_SQ_RE = T.let(T.unsafe(nil), Regexp)
1478
+
1479
+ # source://thor//lib/thor/rake_compat.rb#20
1480
+ module Thor::RakeCompat
1481
+ include ::FileUtils::StreamUtils_
1482
+ include ::FileUtils
1483
+ include ::Rake::FileUtilsExt
1484
+ include ::Rake::DSL
1485
+
1486
+ class << self
1487
+ # source://thor//lib/thor/rake_compat.rb#27
1488
+ def included(base); end
1489
+
1490
+ # source://thor//lib/thor/rake_compat.rb#23
1491
+ def rake_classes; end
1492
+ end
1493
+ end
1494
+
1495
+ # source://thor//lib/thor/error.rb#95
1496
+ class Thor::RequiredArgumentMissingError < ::Thor::InvocationError; end
1497
+
1498
+ # source://thor//lib/thor/util.rb#4
1499
+ module Thor::Sandbox; end
1500
+
1501
+ # source://thor//lib/thor/shell.rb#23
1502
+ module Thor::Shell
1503
+ # source://thor//lib/thor/shell.rb#44
1504
+ def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end
1505
+
1506
+ # source://thor//lib/thor/shell.rb#59
1507
+ def ask(*args, &block); end
1508
+
1509
+ # source://thor//lib/thor/shell.rb#59
1510
+ def error(*args, &block); end
1511
+
1512
+ # source://thor//lib/thor/shell.rb#59
1513
+ def file_collision(*args, &block); end
1514
+
1515
+ # source://thor//lib/thor/shell.rb#59
1516
+ def no?(*args, &block); end
1517
+
1518
+ # source://thor//lib/thor/shell.rb#59
1519
+ def print_in_columns(*args, &block); end
1520
+
1521
+ # source://thor//lib/thor/shell.rb#59
1522
+ def print_table(*args, &block); end
1523
+
1524
+ # source://thor//lib/thor/shell.rb#59
1525
+ def print_wrapped(*args, &block); end
1526
+
1527
+ # source://thor//lib/thor/shell.rb#59
1528
+ def say(*args, &block); end
1529
+
1530
+ # source://thor//lib/thor/shell.rb#59
1531
+ def say_error(*args, &block); end
1532
+
1533
+ # source://thor//lib/thor/shell.rb#59
1534
+ def say_status(*args, &block); end
1535
+
1536
+ # source://thor//lib/thor/shell.rb#59
1537
+ def set_color(*args, &block); end
1538
+
1539
+ # source://thor//lib/thor/shell.rb#52
1540
+ def shell; end
1541
+
1542
+ # source://thor//lib/thor/shell.rb#25
1543
+ def shell=(_arg0); end
1544
+
1545
+ # source://thor//lib/thor/shell.rb#59
1546
+ def terminal_width(*args, &block); end
1547
+
1548
+ # source://thor//lib/thor/shell.rb#66
1549
+ def with_padding; end
1550
+
1551
+ # source://thor//lib/thor/shell.rb#59
1552
+ def yes?(*args, &block); end
1553
+
1554
+ protected
1555
+
1556
+ # source://thor//lib/thor/shell.rb#77
1557
+ def _shared_configuration; end
1558
+ end
1559
+
1560
+ # source://thor//lib/thor/shell/basic.rb#7
1561
+ class Thor::Shell::Basic
1562
+ # source://thor//lib/thor/shell/basic.rb#13
1563
+ def initialize; end
1564
+
1565
+ # source://thor//lib/thor/shell/basic.rb#80
1566
+ def ask(statement, *args); end
1567
+
1568
+ # source://thor//lib/thor/shell/basic.rb#8
1569
+ def base; end
1570
+
1571
+ # source://thor//lib/thor/shell/basic.rb#8
1572
+ def base=(_arg0); end
1573
+
1574
+ # source://thor//lib/thor/shell/basic.rb#251
1575
+ def error(statement); end
1576
+
1577
+ # source://thor//lib/thor/shell/basic.rb#207
1578
+ def file_collision(destination); end
1579
+
1580
+ # source://thor//lib/thor/shell/basic.rb#43
1581
+ def indent(count = T.unsafe(nil)); end
1582
+
1583
+ # source://thor//lib/thor/shell/basic.rb#22
1584
+ def mute; end
1585
+
1586
+ # source://thor//lib/thor/shell/basic.rb#31
1587
+ def mute?; end
1588
+
1589
+ # source://thor//lib/thor/shell/basic.rb#156
1590
+ def no?(statement, color = T.unsafe(nil)); end
1591
+
1592
+ # source://thor//lib/thor/shell/basic.rb#9
1593
+ def padding; end
1594
+
1595
+ # source://thor//lib/thor/shell/basic.rb#37
1596
+ def padding=(value); end
1597
+
1598
+ # source://thor//lib/thor/shell/basic.rb#165
1599
+ def print_in_columns(array); end
1600
+
1601
+ # source://thor//lib/thor/shell/basic.rb#180
1602
+ def print_table(array, options = T.unsafe(nil)); end
1603
+
1604
+ # source://thor//lib/thor/shell/basic.rb#194
1605
+ def print_wrapped(message, options = T.unsafe(nil)); end
1606
+
1607
+ # source://thor//lib/thor/shell/basic.rb#98
1608
+ def say(message = T.unsafe(nil), color = T.unsafe(nil), force_new_line = T.unsafe(nil)); end
1609
+
1610
+ # source://thor//lib/thor/shell/basic.rb#115
1611
+ def say_error(message = T.unsafe(nil), color = T.unsafe(nil), force_new_line = T.unsafe(nil)); end
1612
+
1613
+ # source://thor//lib/thor/shell/basic.rb#130
1614
+ def say_status(status, message, log_status = T.unsafe(nil)); end
1615
+
1616
+ # source://thor//lib/thor/shell/basic.rb#258
1617
+ def set_color(string, *_arg1); end
1618
+
1619
+ # source://thor//lib/thor/shell/basic.rb#149
1620
+ def yes?(statement, color = T.unsafe(nil)); end
1621
+
1622
+ protected
1623
+
1624
+ # source://thor//lib/thor/shell/basic.rb#362
1625
+ def answer_match(possibilities, answer, case_insensitive); end
1626
+
1627
+ # source://thor//lib/thor/shell/basic.rb#349
1628
+ def ask_filtered(statement, color, options); end
1629
+
1630
+ # source://thor//lib/thor/shell/basic.rb#332
1631
+ def ask_simply(statement, color, options); end
1632
+
1633
+ # source://thor//lib/thor/shell/basic.rb#269
1634
+ def can_display_colors?; end
1635
+
1636
+ # source://thor//lib/thor/shell/basic.rb#296
1637
+ def file_collision_help(block_given); end
1638
+
1639
+ # source://thor//lib/thor/shell/basic.rb#383
1640
+ def git_merge_tool; end
1641
+
1642
+ # source://thor//lib/thor/shell/basic.rb#286
1643
+ def is?(value); end
1644
+
1645
+ # source://thor//lib/thor/shell/basic.rb#273
1646
+ def lookup_color(color); end
1647
+
1648
+ # source://thor//lib/thor/shell/basic.rb#370
1649
+ def merge(destination, content); end
1650
+
1651
+ # source://thor//lib/thor/shell/basic.rb#379
1652
+ def merge_tool; end
1653
+
1654
+ # source://thor//lib/thor/shell/basic.rb#264
1655
+ def prepare_message(message, *color); end
1656
+
1657
+ # source://thor//lib/thor/shell/basic.rb#324
1658
+ def quiet?; end
1659
+
1660
+ # source://thor//lib/thor/shell/basic.rb#313
1661
+ def show_diff(destination, content); end
1662
+
1663
+ # source://thor//lib/thor/shell/basic.rb#282
1664
+ def stderr; end
1665
+
1666
+ # source://thor//lib/thor/shell/basic.rb#278
1667
+ def stdout; end
1668
+
1669
+ # source://thor//lib/thor/shell/basic.rb#328
1670
+ def unix?; end
1671
+ end
1672
+
1673
+ # source://thor//lib/thor/shell/color.rb#9
1674
+ class Thor::Shell::Color < ::Thor::Shell::Basic
1675
+ include ::LCSDiff
1676
+
1677
+ # source://thor//lib/thor/shell/color.rb#82
1678
+ def set_color(string, *colors); end
1679
+
1680
+ protected
1681
+
1682
+ # source://thor//lib/thor/shell/color.rb#110
1683
+ def are_colors_disabled?; end
1684
+
1685
+ # source://thor//lib/thor/shell/color.rb#106
1686
+ def are_colors_supported?; end
1687
+
1688
+ # source://thor//lib/thor/shell/color.rb#102
1689
+ def can_display_colors?; end
1690
+ end
1691
+
1692
+ # source://thor//lib/thor/shell/color.rb#18
1693
+ Thor::Shell::Color::BLACK = T.let(T.unsafe(nil), String)
1694
+
1695
+ # source://thor//lib/thor/shell/color.rb#26
1696
+ Thor::Shell::Color::BLUE = T.let(T.unsafe(nil), String)
1697
+
1698
+ # source://thor//lib/thor/shell/color.rb#15
1699
+ Thor::Shell::Color::BOLD = T.let(T.unsafe(nil), String)
1700
+
1701
+ # source://thor//lib/thor/shell/color.rb#13
1702
+ Thor::Shell::Color::CLEAR = T.let(T.unsafe(nil), String)
1703
+
1704
+ # source://thor//lib/thor/shell/color.rb#30
1705
+ Thor::Shell::Color::CYAN = T.let(T.unsafe(nil), String)
1706
+
1707
+ # source://thor//lib/thor/shell/color.rb#22
1708
+ Thor::Shell::Color::GREEN = T.let(T.unsafe(nil), String)
1709
+
1710
+ # source://thor//lib/thor/shell/color.rb#28
1711
+ Thor::Shell::Color::MAGENTA = T.let(T.unsafe(nil), String)
1712
+
1713
+ # source://thor//lib/thor/shell/color.rb#35
1714
+ Thor::Shell::Color::ON_BLACK = T.let(T.unsafe(nil), String)
1715
+
1716
+ # source://thor//lib/thor/shell/color.rb#43
1717
+ Thor::Shell::Color::ON_BLUE = T.let(T.unsafe(nil), String)
1718
+
1719
+ # source://thor//lib/thor/shell/color.rb#47
1720
+ Thor::Shell::Color::ON_CYAN = T.let(T.unsafe(nil), String)
1721
+
1722
+ # source://thor//lib/thor/shell/color.rb#39
1723
+ Thor::Shell::Color::ON_GREEN = T.let(T.unsafe(nil), String)
1724
+
1725
+ # source://thor//lib/thor/shell/color.rb#45
1726
+ Thor::Shell::Color::ON_MAGENTA = T.let(T.unsafe(nil), String)
1727
+
1728
+ # source://thor//lib/thor/shell/color.rb#37
1729
+ Thor::Shell::Color::ON_RED = T.let(T.unsafe(nil), String)
1730
+
1731
+ # source://thor//lib/thor/shell/color.rb#49
1732
+ Thor::Shell::Color::ON_WHITE = T.let(T.unsafe(nil), String)
1733
+
1734
+ # source://thor//lib/thor/shell/color.rb#41
1735
+ Thor::Shell::Color::ON_YELLOW = T.let(T.unsafe(nil), String)
1736
+
1737
+ # source://thor//lib/thor/shell/color.rb#20
1738
+ Thor::Shell::Color::RED = T.let(T.unsafe(nil), String)
1739
+
1740
+ # source://thor//lib/thor/shell/color.rb#32
1741
+ Thor::Shell::Color::WHITE = T.let(T.unsafe(nil), String)
1742
+
1743
+ # source://thor//lib/thor/shell/color.rb#24
1744
+ Thor::Shell::Color::YELLOW = T.let(T.unsafe(nil), String)
1745
+
1746
+ # source://thor//lib/thor/shell/column_printer.rb#5
1747
+ class Thor::Shell::ColumnPrinter
1748
+ # source://thor//lib/thor/shell/column_printer.rb#8
1749
+ def initialize(stdout, options = T.unsafe(nil)); end
1750
+
1751
+ # source://thor//lib/thor/shell/column_printer.rb#6
1752
+ def options; end
1753
+
1754
+ # source://thor//lib/thor/shell/column_printer.rb#14
1755
+ def print(array); end
1756
+
1757
+ # source://thor//lib/thor/shell/column_printer.rb#6
1758
+ def stdout; end
1759
+ end
1760
+
1761
+ # source://thor//lib/thor/shell/html.rb#9
1762
+ class Thor::Shell::HTML < ::Thor::Shell::Basic
1763
+ include ::LCSDiff
1764
+
1765
+ # source://thor//lib/thor/shell/html.rb#73
1766
+ def ask(statement, color = T.unsafe(nil)); end
1767
+
1768
+ # source://thor//lib/thor/shell/html.rb#54
1769
+ def set_color(string, *colors); end
1770
+
1771
+ protected
1772
+
1773
+ # source://thor//lib/thor/shell/html.rb#79
1774
+ def can_display_colors?; end
1775
+ end
1776
+
1777
+ # source://thor//lib/thor/shell/html.rb#16
1778
+ Thor::Shell::HTML::BLACK = T.let(T.unsafe(nil), String)
1779
+
1780
+ # source://thor//lib/thor/shell/html.rb#24
1781
+ Thor::Shell::HTML::BLUE = T.let(T.unsafe(nil), String)
1782
+
1783
+ # source://thor//lib/thor/shell/html.rb#13
1784
+ Thor::Shell::HTML::BOLD = T.let(T.unsafe(nil), String)
1785
+
1786
+ # source://thor//lib/thor/shell/html.rb#28
1787
+ Thor::Shell::HTML::CYAN = T.let(T.unsafe(nil), String)
1788
+
1789
+ # source://thor//lib/thor/shell/html.rb#20
1790
+ Thor::Shell::HTML::GREEN = T.let(T.unsafe(nil), String)
1791
+
1792
+ # source://thor//lib/thor/shell/html.rb#26
1793
+ Thor::Shell::HTML::MAGENTA = T.let(T.unsafe(nil), String)
1794
+
1795
+ # source://thor//lib/thor/shell/html.rb#33
1796
+ Thor::Shell::HTML::ON_BLACK = T.let(T.unsafe(nil), String)
1797
+
1798
+ # source://thor//lib/thor/shell/html.rb#41
1799
+ Thor::Shell::HTML::ON_BLUE = T.let(T.unsafe(nil), String)
1800
+
1801
+ # source://thor//lib/thor/shell/html.rb#45
1802
+ Thor::Shell::HTML::ON_CYAN = T.let(T.unsafe(nil), String)
1803
+
1804
+ # source://thor//lib/thor/shell/html.rb#37
1805
+ Thor::Shell::HTML::ON_GREEN = T.let(T.unsafe(nil), String)
1806
+
1807
+ # source://thor//lib/thor/shell/html.rb#43
1808
+ Thor::Shell::HTML::ON_MAGENTA = T.let(T.unsafe(nil), String)
1809
+
1810
+ # source://thor//lib/thor/shell/html.rb#35
1811
+ Thor::Shell::HTML::ON_RED = T.let(T.unsafe(nil), String)
1812
+
1813
+ # source://thor//lib/thor/shell/html.rb#47
1814
+ Thor::Shell::HTML::ON_WHITE = T.let(T.unsafe(nil), String)
1815
+
1816
+ # source://thor//lib/thor/shell/html.rb#39
1817
+ Thor::Shell::HTML::ON_YELLOW = T.let(T.unsafe(nil), String)
1818
+
1819
+ # source://thor//lib/thor/shell/html.rb#18
1820
+ Thor::Shell::HTML::RED = T.let(T.unsafe(nil), String)
1821
+
1822
+ # source://thor//lib/thor/shell/html.rb#30
1823
+ Thor::Shell::HTML::WHITE = T.let(T.unsafe(nil), String)
1824
+
1825
+ # source://thor//lib/thor/shell/html.rb#22
1826
+ Thor::Shell::HTML::YELLOW = T.let(T.unsafe(nil), String)
1827
+
1828
+ # source://thor//lib/thor/shell.rb#24
1829
+ Thor::Shell::SHELL_DELEGATED_METHODS = T.let(T.unsafe(nil), Array)
1830
+
1831
+ # source://thor//lib/thor/shell/table_printer.rb#6
1832
+ class Thor::Shell::TablePrinter < ::Thor::Shell::ColumnPrinter
1833
+ # source://thor//lib/thor/shell/table_printer.rb#9
1834
+ def initialize(stdout, options = T.unsafe(nil)); end
1835
+
1836
+ # source://thor//lib/thor/shell/table_printer.rb#18
1837
+ def print(array); end
1838
+
1839
+ private
1840
+
1841
+ # source://thor//lib/thor/shell/table_printer.rb#72
1842
+ def format_cell(column, row_size, index); end
1843
+
1844
+ # source://thor//lib/thor/shell/table_printer.rb#113
1845
+ def indentation; end
1846
+
1847
+ # source://thor//lib/thor/shell/table_printer.rb#47
1848
+ def prepare(array); end
1849
+
1850
+ # source://thor//lib/thor/shell/table_printer.rb#96
1851
+ def print_border_separator; end
1852
+
1853
+ # source://thor//lib/thor/shell/table_printer.rb#103
1854
+ def truncate(string); end
1855
+ end
1856
+
1857
+ # source://thor//lib/thor/shell/table_printer.rb#7
1858
+ Thor::Shell::TablePrinter::BORDER_SEPARATOR = T.let(T.unsafe(nil), Symbol)
1859
+
1860
+ # source://thor//lib/thor/shell/terminal.rb#3
1861
+ module Thor::Shell::Terminal
1862
+ class << self
1863
+ # source://thor//lib/thor/shell/terminal.rb#9
1864
+ def terminal_width; end
1865
+
1866
+ # source://thor//lib/thor/shell/terminal.rb#20
1867
+ def unix?; end
1868
+
1869
+ private
1870
+
1871
+ # source://thor//lib/thor/shell/terminal.rb#27
1872
+ def dynamic_width; end
1873
+
1874
+ # source://thor//lib/thor/shell/terminal.rb#31
1875
+ def dynamic_width_stty; end
1876
+
1877
+ # source://thor//lib/thor/shell/terminal.rb#35
1878
+ def dynamic_width_tput; end
1879
+ end
1880
+ end
1881
+
1882
+ # source://thor//lib/thor/shell/terminal.rb#4
1883
+ Thor::Shell::Terminal::DEFAULT_TERMINAL_WIDTH = T.let(T.unsafe(nil), Integer)
1884
+
1885
+ # source://thor//lib/thor/shell/wrapped_printer.rb#6
1886
+ class Thor::Shell::WrappedPrinter < ::Thor::Shell::ColumnPrinter
1887
+ # source://thor//lib/thor/shell/wrapped_printer.rb#7
1888
+ def print(message); end
1889
+ end
1890
+
1891
+ # source://thor//lib/thor/base.rb#23
1892
+ Thor::TEMPLATE_EXTNAME = T.let(T.unsafe(nil), String)
1893
+
1894
+ # source://thor//lib/thor/base.rb#20
1895
+ Thor::THOR_RESERVED_WORDS = T.let(T.unsafe(nil), Array)
1896
+
1897
+ # source://thor//lib/thor/command.rb#126
1898
+ Thor::Task = Thor::Command
1899
+
1900
+ # source://thor//lib/thor/error.rb#24
1901
+ class Thor::UndefinedCommandError < ::Thor::Error
1902
+ include ::Thor::Correctable
1903
+
1904
+ # source://thor//lib/thor/error.rb#43
1905
+ def initialize(command, all_commands, namespace); end
1906
+
1907
+ # source://thor//lib/thor/error.rb#41
1908
+ def all_commands; end
1909
+
1910
+ # source://thor//lib/thor/error.rb#41
1911
+ def command; end
1912
+ end
1913
+
1914
+ # source://thor//lib/thor/error.rb#25
1915
+ class Thor::UndefinedCommandError::SpellChecker
1916
+ # source://thor//lib/thor/error.rb#28
1917
+ def initialize(error); end
1918
+
1919
+ # source://thor//lib/thor/error.rb#32
1920
+ def corrections; end
1921
+
1922
+ # source://thor//lib/thor/error.rb#26
1923
+ def error; end
1924
+
1925
+ # source://thor//lib/thor/error.rb#36
1926
+ def spell_checker; end
1927
+ end
1928
+
1929
+ # source://thor//lib/thor/error.rb#55
1930
+ Thor::UndefinedTaskError = Thor::UndefinedCommandError
1931
+
1932
+ # source://thor//lib/thor/error.rb#65
1933
+ class Thor::UnknownArgumentError < ::Thor::Error
1934
+ include ::Thor::Correctable
1935
+
1936
+ # source://thor//lib/thor/error.rb#85
1937
+ def initialize(switches, unknown); end
1938
+
1939
+ # source://thor//lib/thor/error.rb#83
1940
+ def switches; end
1941
+
1942
+ # source://thor//lib/thor/error.rb#83
1943
+ def unknown; end
1944
+ end
1945
+
1946
+ # source://thor//lib/thor/error.rb#66
1947
+ class Thor::UnknownArgumentError::SpellChecker
1948
+ # source://thor//lib/thor/error.rb#69
1949
+ def initialize(error); end
1950
+
1951
+ # source://thor//lib/thor/error.rb#73
1952
+ def corrections; end
1953
+
1954
+ # source://thor//lib/thor/error.rb#67
1955
+ def error; end
1956
+
1957
+ # source://thor//lib/thor/error.rb#78
1958
+ def spell_checker; end
1959
+ end
1960
+
1961
+ # source://thor//lib/thor/util.rb#17
1962
+ module Thor::Util
1963
+ class << self
1964
+ # source://thor//lib/thor/util.rb#104
1965
+ def camel_case(str); end
1966
+
1967
+ # source://thor//lib/thor/util.rb#264
1968
+ def escape_globs(path); end
1969
+
1970
+ # source://thor//lib/thor/util.rb#280
1971
+ def escape_html(string); end
1972
+
1973
+ # source://thor//lib/thor/util.rb#24
1974
+ def find_by_namespace(namespace); end
1975
+
1976
+ # source://thor//lib/thor/util.rb#131
1977
+ def find_class_and_command_by_namespace(namespace, fallback = T.unsafe(nil)); end
1978
+
1979
+ # source://thor//lib/thor/util.rb#131
1980
+ def find_class_and_task_by_namespace(namespace, fallback = T.unsafe(nil)); end
1981
+
1982
+ # source://thor//lib/thor/util.rb#213
1983
+ def globs_for(path); end
1984
+
1985
+ # source://thor//lib/thor/util.rb#153
1986
+ def load_thorfile(path, content = T.unsafe(nil), debug = T.unsafe(nil)); end
1987
+
1988
+ # source://thor//lib/thor/util.rb#43
1989
+ def namespace_from_thor_class(constant); end
1990
+
1991
+ # source://thor//lib/thor/util.rb#58
1992
+ def namespaces_in_content(contents, file = T.unsafe(nil)); end
1993
+
1994
+ # source://thor//lib/thor/util.rb#221
1995
+ def ruby_command; end
1996
+
1997
+ # source://thor//lib/thor/util.rb#90
1998
+ def snake_case(str); end
1999
+
2000
+ # source://thor//lib/thor/util.rb#74
2001
+ def thor_classes_in(klass); end
2002
+
2003
+ # source://thor//lib/thor/util.rb#192
2004
+ def thor_root; end
2005
+
2006
+ # source://thor//lib/thor/util.rb#203
2007
+ def thor_root_glob; end
2008
+
2009
+ # source://thor//lib/thor/util.rb#168
2010
+ def user_home; end
2011
+ end
2012
+ end