hank 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. checksums.yaml +7 -0
  2. data/.clodignore +32 -0
  3. data/.rubocop.yml +59 -0
  4. data/CLAUDE.md +22 -0
  5. data/Gemfile +11 -0
  6. data/LICENSE +21 -0
  7. data/README.md +70 -0
  8. data/Rakefile +17 -0
  9. data/bin/hank +7 -0
  10. data/hank.gemspec +55 -0
  11. data/lib/hank/cli.rb +162 -0
  12. data/lib/hank/file_selector.rb +204 -0
  13. data/lib/hank/hankfile.rb +70 -0
  14. data/lib/hank/path_utils.rb +47 -0
  15. data/lib/hank/symlink_manager.rb +94 -0
  16. data/lib/hank/validator.rb +65 -0
  17. data/lib/hank/version.rb +6 -0
  18. data/lib/hank.rb +25 -0
  19. data/sorbet/config +5 -0
  20. data/sorbet/rbi/annotations/.gitattributes +1 -0
  21. data/sorbet/rbi/annotations/colorize.rbi +121 -0
  22. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  23. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  24. data/sorbet/rbi/gems/.gitattributes +1 -0
  25. data/sorbet/rbi/gems/ansi.rbi +398 -0
  26. data/sorbet/rbi/gems/ansi@1.5.0.rbi +688 -0
  27. data/sorbet/rbi/gems/ast.rbi +49 -0
  28. data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
  29. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  30. data/sorbet/rbi/gems/builder.rbi +58 -0
  31. data/sorbet/rbi/gems/builder@3.3.0.rbi +502 -0
  32. data/sorbet/rbi/gems/citrus.rbi +238 -0
  33. data/sorbet/rbi/gems/citrus@3.0.2.rbi +1234 -0
  34. data/sorbet/rbi/gems/colorize.rbi +82 -0
  35. data/sorbet/rbi/gems/colorize@0.8.1.rbi +152 -0
  36. data/sorbet/rbi/gems/curses.rbi +327 -0
  37. data/sorbet/rbi/gems/curses@1.4.7.rbi +894 -0
  38. data/sorbet/rbi/gems/diffy.rbi +56 -0
  39. data/sorbet/rbi/gems/diffy@3.4.3.rbi +184 -0
  40. data/sorbet/rbi/gems/docile.rbi +36 -0
  41. data/sorbet/rbi/gems/docile@1.4.1.rbi +377 -0
  42. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  43. data/sorbet/rbi/gems/fiddle.rbi +120 -0
  44. data/sorbet/rbi/gems/fiddle@1.1.6.rbi +9 -0
  45. data/sorbet/rbi/gems/hank.rbi +15 -0
  46. data/sorbet/rbi/gems/json@2.10.2.rbi +2112 -0
  47. data/sorbet/rbi/gems/language_server-protocol.rbi +2868 -0
  48. data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
  49. data/sorbet/rbi/gems/lint_roller.rbi +75 -0
  50. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +86 -0
  51. data/sorbet/rbi/gems/logger.rbi +94 -0
  52. data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
  53. data/sorbet/rbi/gems/minitest-reporters.rbi +104 -0
  54. data/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi +1018 -0
  55. data/sorbet/rbi/gems/minitest.rbi +440 -0
  56. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
  57. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  58. data/sorbet/rbi/gems/parallel.rbi +88 -0
  59. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  60. data/sorbet/rbi/gems/parser.rbi +1545 -0
  61. data/sorbet/rbi/gems/parser@3.3.7.4.rbi +5535 -0
  62. data/sorbet/rbi/gems/prism.rbi +4090 -0
  63. data/sorbet/rbi/gems/prism@1.4.0.rbi +41732 -0
  64. data/sorbet/rbi/gems/racc.rbi +41 -0
  65. data/sorbet/rbi/gems/racc@1.8.1.rbi +160 -0
  66. data/sorbet/rbi/gems/rainbow.rbi +122 -0
  67. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  68. data/sorbet/rbi/gems/rake.rbi +649 -0
  69. data/sorbet/rbi/gems/rake@13.2.1.rbi +3033 -0
  70. data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
  71. data/sorbet/rbi/gems/rbs@3.9.2.rbi +6978 -0
  72. data/sorbet/rbi/gems/regexp_parser.rbi +1039 -0
  73. data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
  74. data/sorbet/rbi/gems/rubocop-ast.rbi +1470 -0
  75. data/sorbet/rbi/gems/rubocop-ast@1.44.0.rbi +7716 -0
  76. data/sorbet/rbi/gems/rubocop.rbi +10557 -0
  77. data/sorbet/rbi/gems/rubocop@1.75.2.rbi +61860 -0
  78. data/sorbet/rbi/gems/ruby-filemagic.rbi +46 -0
  79. data/sorbet/rbi/gems/ruby-filemagic@0.7.3.rbi +168 -0
  80. data/sorbet/rbi/gems/ruby-progressbar.rbi +321 -0
  81. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  82. data/sorbet/rbi/gems/simplecov-html.rbi +36 -0
  83. data/sorbet/rbi/gems/simplecov-html@0.13.1.rbi +225 -0
  84. data/sorbet/rbi/gems/simplecov.rbi +435 -0
  85. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2149 -0
  86. data/sorbet/rbi/gems/simplecov_json_formatter.rbi +47 -0
  87. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
  88. data/sorbet/rbi/gems/spoom@1.6.1.rbi +7274 -0
  89. data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3628 -0
  90. data/sorbet/rbi/gems/thor.rbi +583 -0
  91. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  92. data/sorbet/rbi/gems/toml-rb.rbi +136 -0
  93. data/sorbet/rbi/gems/toml-rb@2.2.0.rbi +419 -0
  94. data/sorbet/rbi/gems/unicode-display_width.rbi +28 -0
  95. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  96. data/sorbet/rbi/gems/unicode-emoji.rbi +18 -0
  97. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  98. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  99. data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
  100. data/sorbet/tapioca/config.yml +13 -0
  101. data/sorbet/tapioca/require.rb +4 -0
  102. metadata +399 -0
@@ -0,0 +1,688 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `ansi` gem.
5
+ # Please instead update this file by running `bin/tapioca gem ansi`.
6
+
7
+
8
+ # ANSI namespace module contains all the ANSI related classes.
9
+ #
10
+ # source://ansi//lib/ansi/code.rb#1
11
+ module ANSI
12
+ extend ::ANSI::Constants
13
+ extend ::ANSI::Code
14
+ end
15
+
16
+ # Table of codes used throughout the system.
17
+ #
18
+ # @see http://en.wikipedia.org/wiki/ANSI_escape_code
19
+ #
20
+ # source://ansi//lib/ansi/chart.rb#6
21
+ ANSI::CHART = T.let(T.unsafe(nil), Hash)
22
+
23
+ # ANSI Codes
24
+ #
25
+ # Ansi::Code module makes it very easy to use ANSI codes.
26
+ # These are especially nice for beautifying shell output.
27
+ #
28
+ # Ansi::Code.red + "Hello" + Ansi::Code.blue + "World"
29
+ # => "\e[31mHello\e[34mWorld"
30
+ #
31
+ # Ansi::Code.red{ "Hello" } + Ansi::Code.blue{ "World" }
32
+ # => "\e[31mHello\e[0m\e[34mWorld\e[0m"
33
+ #
34
+ # IMPORTANT! Do not mixin Ansi::Code, instead use {ANSI::Mixin}.
35
+ #
36
+ # See {ANSI::CHART} for list of all supported codes.
37
+ #
38
+ # source://ansi//lib/ansi/code.rb#37
39
+ module ANSI::Code
40
+ include ::ANSI::Constants
41
+ extend ::ANSI::Constants
42
+ extend ::ANSI::Code
43
+
44
+ # Return ANSI code given a list of symbolic names.
45
+ #
46
+ # source://ansi//lib/ansi/code.rb#60
47
+ def [](*codes); end
48
+
49
+ # Apply ANSI codes to a first argument or block value.
50
+ #
51
+ # @example
52
+ # ansi("Valentine", :red, :on_white)
53
+ # @example
54
+ # ansi(:red, :on_white){ "Valentine" }
55
+ # @return [String] String wrapped ANSI code.
56
+ #
57
+ # source://ansi//lib/ansi/code.rb#176
58
+ def ansi(*codes); end
59
+
60
+ # Move cursor left a specified number of spaces.
61
+ #
62
+ # source://ansi//lib/ansi/code.rb#149
63
+ def back(spaces = T.unsafe(nil)); end
64
+
65
+ # source://ansi//lib/ansi/code.rb#70
66
+ def black_on_black(string = T.unsafe(nil)); end
67
+
68
+ # source://ansi//lib/ansi/code.rb#70
69
+ def black_on_blue(string = T.unsafe(nil)); end
70
+
71
+ # source://ansi//lib/ansi/code.rb#70
72
+ def black_on_cyan(string = T.unsafe(nil)); end
73
+
74
+ # source://ansi//lib/ansi/code.rb#70
75
+ def black_on_green(string = T.unsafe(nil)); end
76
+
77
+ # source://ansi//lib/ansi/code.rb#70
78
+ def black_on_magenta(string = T.unsafe(nil)); end
79
+
80
+ # source://ansi//lib/ansi/code.rb#70
81
+ def black_on_red(string = T.unsafe(nil)); end
82
+
83
+ # source://ansi//lib/ansi/code.rb#70
84
+ def black_on_white(string = T.unsafe(nil)); end
85
+
86
+ # source://ansi//lib/ansi/code.rb#70
87
+ def black_on_yellow(string = T.unsafe(nil)); end
88
+
89
+ # source://ansi//lib/ansi/code.rb#70
90
+ def blue_on_black(string = T.unsafe(nil)); end
91
+
92
+ # source://ansi//lib/ansi/code.rb#70
93
+ def blue_on_blue(string = T.unsafe(nil)); end
94
+
95
+ # source://ansi//lib/ansi/code.rb#70
96
+ def blue_on_cyan(string = T.unsafe(nil)); end
97
+
98
+ # source://ansi//lib/ansi/code.rb#70
99
+ def blue_on_green(string = T.unsafe(nil)); end
100
+
101
+ # source://ansi//lib/ansi/code.rb#70
102
+ def blue_on_magenta(string = T.unsafe(nil)); end
103
+
104
+ # source://ansi//lib/ansi/code.rb#70
105
+ def blue_on_red(string = T.unsafe(nil)); end
106
+
107
+ # source://ansi//lib/ansi/code.rb#70
108
+ def blue_on_white(string = T.unsafe(nil)); end
109
+
110
+ # source://ansi//lib/ansi/code.rb#70
111
+ def blue_on_yellow(string = T.unsafe(nil)); end
112
+
113
+ # Look-up code from chart, or if Integer simply pass through.
114
+ # Also resolves :random and :on_random.
115
+ #
116
+ # @param codes [Array<Symbol,Integer]
117
+ # Symbols or integers to convert to ANSI code.] odes [Array<Symbol,Integer]
118
+ # Symbols or integers to convert to ANSI code.
119
+ # @return [String] ANSI code
120
+ #
121
+ # source://ansi//lib/ansi/code.rb#241
122
+ def code(*codes); end
123
+
124
+ # Apply ANSI codes to a first argument or block value.
125
+ # Alternate term for #ansi.
126
+ #
127
+ # @deprecated May change in future definition.
128
+ # @example
129
+ # ansi("Valentine", :red, :on_white)
130
+ # @example
131
+ # ansi(:red, :on_white){ "Valentine" }
132
+ # @return [String] String wrapped ANSI code.
133
+ #
134
+ # source://ansi//lib/ansi/code.rb#176
135
+ def color(*codes); end
136
+
137
+ # source://ansi//lib/ansi/code.rb#70
138
+ def cyan_on_black(string = T.unsafe(nil)); end
139
+
140
+ # source://ansi//lib/ansi/code.rb#70
141
+ def cyan_on_blue(string = T.unsafe(nil)); end
142
+
143
+ # source://ansi//lib/ansi/code.rb#70
144
+ def cyan_on_cyan(string = T.unsafe(nil)); end
145
+
146
+ # source://ansi//lib/ansi/code.rb#70
147
+ def cyan_on_green(string = T.unsafe(nil)); end
148
+
149
+ # source://ansi//lib/ansi/code.rb#70
150
+ def cyan_on_magenta(string = T.unsafe(nil)); end
151
+
152
+ # source://ansi//lib/ansi/code.rb#70
153
+ def cyan_on_red(string = T.unsafe(nil)); end
154
+
155
+ # source://ansi//lib/ansi/code.rb#70
156
+ def cyan_on_white(string = T.unsafe(nil)); end
157
+
158
+ # source://ansi//lib/ansi/code.rb#70
159
+ def cyan_on_yellow(string = T.unsafe(nil)); end
160
+
161
+ # Like +move+ but returns to original position after
162
+ # yielding the block.
163
+ #
164
+ # source://ansi//lib/ansi/code.rb#120
165
+ def display(line, column = T.unsafe(nil)); end
166
+
167
+ # Move cursor down a specified number of spaces.
168
+ #
169
+ # source://ansi//lib/ansi/code.rb#144
170
+ def down(spaces = T.unsafe(nil)); end
171
+
172
+ # Move cursor right a specified number of spaces.
173
+ #
174
+ # source://ansi//lib/ansi/code.rb#155
175
+ def forward(spaces = T.unsafe(nil)); end
176
+
177
+ # source://ansi//lib/ansi/code.rb#70
178
+ def green_on_black(string = T.unsafe(nil)); end
179
+
180
+ # source://ansi//lib/ansi/code.rb#70
181
+ def green_on_blue(string = T.unsafe(nil)); end
182
+
183
+ # source://ansi//lib/ansi/code.rb#70
184
+ def green_on_cyan(string = T.unsafe(nil)); end
185
+
186
+ # source://ansi//lib/ansi/code.rb#70
187
+ def green_on_green(string = T.unsafe(nil)); end
188
+
189
+ # source://ansi//lib/ansi/code.rb#70
190
+ def green_on_magenta(string = T.unsafe(nil)); end
191
+
192
+ # source://ansi//lib/ansi/code.rb#70
193
+ def green_on_red(string = T.unsafe(nil)); end
194
+
195
+ # source://ansi//lib/ansi/code.rb#70
196
+ def green_on_white(string = T.unsafe(nil)); end
197
+
198
+ # source://ansi//lib/ansi/code.rb#70
199
+ def green_on_yellow(string = T.unsafe(nil)); end
200
+
201
+ # Creates an xterm-256 color code from a CSS-style color string.
202
+ #
203
+ # @param string [String] Hex string in CSS style, .e.g. `#5FA0C2`.
204
+ # @param background [Boolean] Use `true` for background color, otherwise foreground color.
205
+ #
206
+ # source://ansi//lib/ansi/code.rb#325
207
+ def hex_code(string, background = T.unsafe(nil)); end
208
+
209
+ # Move cursor left a specified number of spaces.
210
+ #
211
+ # source://ansi//lib/ansi/code.rb#149
212
+ def left(spaces = T.unsafe(nil)); end
213
+
214
+ # source://ansi//lib/ansi/code.rb#70
215
+ def magenta_on_black(string = T.unsafe(nil)); end
216
+
217
+ # source://ansi//lib/ansi/code.rb#70
218
+ def magenta_on_blue(string = T.unsafe(nil)); end
219
+
220
+ # source://ansi//lib/ansi/code.rb#70
221
+ def magenta_on_cyan(string = T.unsafe(nil)); end
222
+
223
+ # source://ansi//lib/ansi/code.rb#70
224
+ def magenta_on_green(string = T.unsafe(nil)); end
225
+
226
+ # source://ansi//lib/ansi/code.rb#70
227
+ def magenta_on_magenta(string = T.unsafe(nil)); end
228
+
229
+ # source://ansi//lib/ansi/code.rb#70
230
+ def magenta_on_red(string = T.unsafe(nil)); end
231
+
232
+ # source://ansi//lib/ansi/code.rb#70
233
+ def magenta_on_white(string = T.unsafe(nil)); end
234
+
235
+ # source://ansi//lib/ansi/code.rb#70
236
+ def magenta_on_yellow(string = T.unsafe(nil)); end
237
+
238
+ # Use method missing to dispatch ANSI code methods.
239
+ #
240
+ # source://ansi//lib/ansi/code.rb#89
241
+ def method_missing(code, *args, &blk); end
242
+
243
+ # Move cursor to line and column.
244
+ #
245
+ # source://ansi//lib/ansi/code.rb#134
246
+ def move(line, column = T.unsafe(nil)); end
247
+
248
+ # Provides a random primary ANSI color.
249
+ #
250
+ # @param background [Boolean] Use `true` for background color, otherwise foreground color.
251
+ # @return [Integer] ANSI color number
252
+ #
253
+ # source://ansi//lib/ansi/code.rb#274
254
+ def random(background = T.unsafe(nil)); end
255
+
256
+ # source://ansi//lib/ansi/code.rb#70
257
+ def red_on_black(string = T.unsafe(nil)); end
258
+
259
+ # source://ansi//lib/ansi/code.rb#70
260
+ def red_on_blue(string = T.unsafe(nil)); end
261
+
262
+ # source://ansi//lib/ansi/code.rb#70
263
+ def red_on_cyan(string = T.unsafe(nil)); end
264
+
265
+ # source://ansi//lib/ansi/code.rb#70
266
+ def red_on_green(string = T.unsafe(nil)); end
267
+
268
+ # source://ansi//lib/ansi/code.rb#70
269
+ def red_on_magenta(string = T.unsafe(nil)); end
270
+
271
+ # source://ansi//lib/ansi/code.rb#70
272
+ def red_on_red(string = T.unsafe(nil)); end
273
+
274
+ # source://ansi//lib/ansi/code.rb#70
275
+ def red_on_white(string = T.unsafe(nil)); end
276
+
277
+ # source://ansi//lib/ansi/code.rb#70
278
+ def red_on_yellow(string = T.unsafe(nil)); end
279
+
280
+ # Creates an XTerm 256 color escape code from RGB value(s). The
281
+ # RGB value can be three arguments red, green and blue respectively
282
+ # each from 0 to 255, or the RGB value can be a single CSS-style
283
+ # hex string.
284
+ #
285
+ # @param background [Boolean] Use `true` for background color, otherwise foreground color.
286
+ #
287
+ # source://ansi//lib/ansi/code.rb#286
288
+ def rgb(*args); end
289
+
290
+ # Given red, green and blue values between 0 and 255, this method
291
+ # returns the closest XTerm 256 color value.
292
+ #
293
+ # @raise [ArgumentError]
294
+ #
295
+ # source://ansi//lib/ansi/code.rb#335
296
+ def rgb_256(r, g, b); end
297
+
298
+ # Creates an xterm-256 color from rgb value.
299
+ #
300
+ # @param background [Boolean] Use `true` for background color, otherwise foreground color.
301
+ #
302
+ # source://ansi//lib/ansi/code.rb#313
303
+ def rgb_code(red, green, blue, background = T.unsafe(nil)); end
304
+
305
+ # Move cursor right a specified number of spaces.
306
+ #
307
+ # source://ansi//lib/ansi/code.rb#155
308
+ def right(spaces = T.unsafe(nil)); end
309
+
310
+ # Apply ANSI codes to a first argument or block value.
311
+ # Alias for #ansi method.
312
+ #
313
+ # @deprecated Here for backward compatibility.
314
+ # @example
315
+ # ansi("Valentine", :red, :on_white)
316
+ # @example
317
+ # ansi(:red, :on_white){ "Valentine" }
318
+ # @return [String] String wrapped ANSI code.
319
+ #
320
+ # source://ansi//lib/ansi/code.rb#176
321
+ def style(*codes); end
322
+
323
+ # Remove ANSI codes from string or block value.
324
+ #
325
+ # @param string [String] String from which to remove ANSI codes.
326
+ # @return [String] String wrapped ANSI code.
327
+ #
328
+ # source://ansi//lib/ansi/code.rb#201
329
+ def unansi(string = T.unsafe(nil)); end
330
+
331
+ # Remove ANSI codes from string or block value.
332
+ # Alias for unansi.
333
+ #
334
+ # @deprecated May change in future definition.
335
+ # @param string [String] String from which to remove ANSI codes.
336
+ # @return [String] String wrapped ANSI code.
337
+ #
338
+ # source://ansi//lib/ansi/code.rb#201
339
+ def uncolor(string = T.unsafe(nil)); end
340
+
341
+ # Remove ANSI codes from string or block value.
342
+ # Alias for #unansi method.
343
+ #
344
+ # @deprecated Here for backwards compatibility.
345
+ # @param string [String] String from which to remove ANSI codes.
346
+ # @return [String] String wrapped ANSI code.
347
+ #
348
+ # source://ansi//lib/ansi/code.rb#201
349
+ def unstyle(string = T.unsafe(nil)); end
350
+
351
+ # Move cursor up a specified number of spaces.
352
+ #
353
+ # source://ansi//lib/ansi/code.rb#139
354
+ def up(spaces = T.unsafe(nil)); end
355
+
356
+ # source://ansi//lib/ansi/code.rb#70
357
+ def white_on_black(string = T.unsafe(nil)); end
358
+
359
+ # source://ansi//lib/ansi/code.rb#70
360
+ def white_on_blue(string = T.unsafe(nil)); end
361
+
362
+ # source://ansi//lib/ansi/code.rb#70
363
+ def white_on_cyan(string = T.unsafe(nil)); end
364
+
365
+ # source://ansi//lib/ansi/code.rb#70
366
+ def white_on_green(string = T.unsafe(nil)); end
367
+
368
+ # source://ansi//lib/ansi/code.rb#70
369
+ def white_on_magenta(string = T.unsafe(nil)); end
370
+
371
+ # source://ansi//lib/ansi/code.rb#70
372
+ def white_on_red(string = T.unsafe(nil)); end
373
+
374
+ # source://ansi//lib/ansi/code.rb#70
375
+ def white_on_white(string = T.unsafe(nil)); end
376
+
377
+ # source://ansi//lib/ansi/code.rb#70
378
+ def white_on_yellow(string = T.unsafe(nil)); end
379
+
380
+ # source://ansi//lib/ansi/code.rb#70
381
+ def yellow_on_black(string = T.unsafe(nil)); end
382
+
383
+ # source://ansi//lib/ansi/code.rb#70
384
+ def yellow_on_blue(string = T.unsafe(nil)); end
385
+
386
+ # source://ansi//lib/ansi/code.rb#70
387
+ def yellow_on_cyan(string = T.unsafe(nil)); end
388
+
389
+ # source://ansi//lib/ansi/code.rb#70
390
+ def yellow_on_green(string = T.unsafe(nil)); end
391
+
392
+ # source://ansi//lib/ansi/code.rb#70
393
+ def yellow_on_magenta(string = T.unsafe(nil)); end
394
+
395
+ # source://ansi//lib/ansi/code.rb#70
396
+ def yellow_on_red(string = T.unsafe(nil)); end
397
+
398
+ # source://ansi//lib/ansi/code.rb#70
399
+ def yellow_on_white(string = T.unsafe(nil)); end
400
+
401
+ # source://ansi//lib/ansi/code.rb#70
402
+ def yellow_on_yellow(string = T.unsafe(nil)); end
403
+
404
+ class << self
405
+ # List of primary colors.
406
+ #
407
+ # source://ansi//lib/ansi/code.rb#55
408
+ def colors; end
409
+
410
+ # List of primary styles.
411
+ #
412
+ # source://ansi//lib/ansi/code.rb#50
413
+ def styles; end
414
+ end
415
+ end
416
+
417
+ # ANSI clear code.
418
+ #
419
+ # source://ansi//lib/ansi/code.rb#47
420
+ ANSI::Code::ENDCODE = T.let(T.unsafe(nil), String)
421
+
422
+ # Regexp for matching most ANSI codes.
423
+ #
424
+ # source://ansi//lib/ansi/code.rb#44
425
+ ANSI::Code::PATTERN = T.let(T.unsafe(nil), Regexp)
426
+
427
+ # Converts {CHART} and {SPECIAL_CHART} entries into constants.
428
+ # So for example, the CHART entry for :red becomes:
429
+ #
430
+ # ANSI::Constants::RED #=> "\e[31m"
431
+ #
432
+ # The ANSI Constants are include into ANSI::Code and can be included
433
+ # any where will they would be of use.
434
+ #
435
+ # source://ansi//lib/ansi/constants.rb#13
436
+ module ANSI::Constants; end
437
+
438
+ # source://ansi//lib/ansi/constants.rb#16
439
+ ANSI::Constants::BLACK = T.let(T.unsafe(nil), String)
440
+
441
+ # source://ansi//lib/ansi/constants.rb#16
442
+ ANSI::Constants::BLINK = T.let(T.unsafe(nil), String)
443
+
444
+ # source://ansi//lib/ansi/constants.rb#16
445
+ ANSI::Constants::BLINK_OFF = T.let(T.unsafe(nil), String)
446
+
447
+ # source://ansi//lib/ansi/constants.rb#16
448
+ ANSI::Constants::BLUE = T.let(T.unsafe(nil), String)
449
+
450
+ # source://ansi//lib/ansi/constants.rb#16
451
+ ANSI::Constants::BOLD = T.let(T.unsafe(nil), String)
452
+
453
+ # source://ansi//lib/ansi/constants.rb#16
454
+ ANSI::Constants::BOLD_OFF = T.let(T.unsafe(nil), String)
455
+
456
+ # source://ansi//lib/ansi/constants.rb#16
457
+ ANSI::Constants::BRIGHT = T.let(T.unsafe(nil), String)
458
+
459
+ # source://ansi//lib/ansi/constants.rb#16
460
+ ANSI::Constants::BRIGHT_OFF = T.let(T.unsafe(nil), String)
461
+
462
+ # source://ansi//lib/ansi/constants.rb#16
463
+ ANSI::Constants::CLEAN = T.let(T.unsafe(nil), String)
464
+
465
+ # source://ansi//lib/ansi/constants.rb#16
466
+ ANSI::Constants::CLEAR = T.let(T.unsafe(nil), String)
467
+
468
+ # source://ansi//lib/ansi/constants.rb#20
469
+ ANSI::Constants::CLEAR_EOL = T.let(T.unsafe(nil), String)
470
+
471
+ # source://ansi//lib/ansi/constants.rb#20
472
+ ANSI::Constants::CLEAR_LEFT = T.let(T.unsafe(nil), String)
473
+
474
+ # source://ansi//lib/ansi/constants.rb#20
475
+ ANSI::Constants::CLEAR_LINE = T.let(T.unsafe(nil), String)
476
+
477
+ # source://ansi//lib/ansi/constants.rb#20
478
+ ANSI::Constants::CLEAR_RIGHT = T.let(T.unsafe(nil), String)
479
+
480
+ # source://ansi//lib/ansi/constants.rb#20
481
+ ANSI::Constants::CLEAR_SCREEN = T.let(T.unsafe(nil), String)
482
+
483
+ # source://ansi//lib/ansi/constants.rb#20
484
+ ANSI::Constants::CLR = T.let(T.unsafe(nil), String)
485
+
486
+ # source://ansi//lib/ansi/constants.rb#20
487
+ ANSI::Constants::CLS = T.let(T.unsafe(nil), String)
488
+
489
+ # source://ansi//lib/ansi/constants.rb#16
490
+ ANSI::Constants::CONCEAL = T.let(T.unsafe(nil), String)
491
+
492
+ # source://ansi//lib/ansi/constants.rb#16
493
+ ANSI::Constants::CONCEALED = T.let(T.unsafe(nil), String)
494
+
495
+ # source://ansi//lib/ansi/constants.rb#16
496
+ ANSI::Constants::CONCEAL_OFF = T.let(T.unsafe(nil), String)
497
+
498
+ # source://ansi//lib/ansi/constants.rb#16
499
+ ANSI::Constants::CROSSED_OFF = T.let(T.unsafe(nil), String)
500
+
501
+ # source://ansi//lib/ansi/constants.rb#16
502
+ ANSI::Constants::CROSSED_OUT_OFF = T.let(T.unsafe(nil), String)
503
+
504
+ # source://ansi//lib/ansi/constants.rb#20
505
+ ANSI::Constants::CURSOR_HIDE = T.let(T.unsafe(nil), String)
506
+
507
+ # source://ansi//lib/ansi/constants.rb#20
508
+ ANSI::Constants::CURSOR_SHOW = T.let(T.unsafe(nil), String)
509
+
510
+ # source://ansi//lib/ansi/constants.rb#16
511
+ ANSI::Constants::CYAN = T.let(T.unsafe(nil), String)
512
+
513
+ # source://ansi//lib/ansi/constants.rb#16
514
+ ANSI::Constants::DARK = T.let(T.unsafe(nil), String)
515
+
516
+ # source://ansi//lib/ansi/constants.rb#16
517
+ ANSI::Constants::DEFAULT_FONT = T.let(T.unsafe(nil), String)
518
+
519
+ # source://ansi//lib/ansi/constants.rb#16
520
+ ANSI::Constants::DOUBLE_UNDERLINE = T.let(T.unsafe(nil), String)
521
+
522
+ # source://ansi//lib/ansi/constants.rb#16
523
+ ANSI::Constants::ENCIRCLE = T.let(T.unsafe(nil), String)
524
+
525
+ # source://ansi//lib/ansi/constants.rb#16
526
+ ANSI::Constants::ENCIRCLE_OFF = T.let(T.unsafe(nil), String)
527
+
528
+ # source://ansi//lib/ansi/constants.rb#16
529
+ ANSI::Constants::FAINT = T.let(T.unsafe(nil), String)
530
+
531
+ # source://ansi//lib/ansi/constants.rb#16
532
+ ANSI::Constants::FONT0 = T.let(T.unsafe(nil), String)
533
+
534
+ # source://ansi//lib/ansi/constants.rb#16
535
+ ANSI::Constants::FONT1 = T.let(T.unsafe(nil), String)
536
+
537
+ # source://ansi//lib/ansi/constants.rb#16
538
+ ANSI::Constants::FONT2 = T.let(T.unsafe(nil), String)
539
+
540
+ # source://ansi//lib/ansi/constants.rb#16
541
+ ANSI::Constants::FONT3 = T.let(T.unsafe(nil), String)
542
+
543
+ # source://ansi//lib/ansi/constants.rb#16
544
+ ANSI::Constants::FONT4 = T.let(T.unsafe(nil), String)
545
+
546
+ # source://ansi//lib/ansi/constants.rb#16
547
+ ANSI::Constants::FONT5 = T.let(T.unsafe(nil), String)
548
+
549
+ # source://ansi//lib/ansi/constants.rb#16
550
+ ANSI::Constants::FONT6 = T.let(T.unsafe(nil), String)
551
+
552
+ # source://ansi//lib/ansi/constants.rb#16
553
+ ANSI::Constants::FONT7 = T.let(T.unsafe(nil), String)
554
+
555
+ # source://ansi//lib/ansi/constants.rb#16
556
+ ANSI::Constants::FONT8 = T.let(T.unsafe(nil), String)
557
+
558
+ # source://ansi//lib/ansi/constants.rb#16
559
+ ANSI::Constants::FONT9 = T.let(T.unsafe(nil), String)
560
+
561
+ # source://ansi//lib/ansi/constants.rb#16
562
+ ANSI::Constants::FONT_DEFAULT = T.let(T.unsafe(nil), String)
563
+
564
+ # source://ansi//lib/ansi/constants.rb#16
565
+ ANSI::Constants::FRAKTUR = T.let(T.unsafe(nil), String)
566
+
567
+ # source://ansi//lib/ansi/constants.rb#16
568
+ ANSI::Constants::FRAKTUR_OFF = T.let(T.unsafe(nil), String)
569
+
570
+ # source://ansi//lib/ansi/constants.rb#16
571
+ ANSI::Constants::FRAME = T.let(T.unsafe(nil), String)
572
+
573
+ # source://ansi//lib/ansi/constants.rb#16
574
+ ANSI::Constants::FRAME_OFF = T.let(T.unsafe(nil), String)
575
+
576
+ # source://ansi//lib/ansi/constants.rb#16
577
+ ANSI::Constants::GREEN = T.let(T.unsafe(nil), String)
578
+
579
+ # source://ansi//lib/ansi/constants.rb#16
580
+ ANSI::Constants::HIDE = T.let(T.unsafe(nil), String)
581
+
582
+ # source://ansi//lib/ansi/constants.rb#16
583
+ ANSI::Constants::INVERSE = T.let(T.unsafe(nil), String)
584
+
585
+ # source://ansi//lib/ansi/constants.rb#16
586
+ ANSI::Constants::INVERSE_OFF = T.let(T.unsafe(nil), String)
587
+
588
+ # source://ansi//lib/ansi/constants.rb#16
589
+ ANSI::Constants::INVERT = T.let(T.unsafe(nil), String)
590
+
591
+ # source://ansi//lib/ansi/constants.rb#16
592
+ ANSI::Constants::ITALIC = T.let(T.unsafe(nil), String)
593
+
594
+ # source://ansi//lib/ansi/constants.rb#16
595
+ ANSI::Constants::ITALIC_OFF = T.let(T.unsafe(nil), String)
596
+
597
+ # source://ansi//lib/ansi/constants.rb#16
598
+ ANSI::Constants::MAGENTA = T.let(T.unsafe(nil), String)
599
+
600
+ # source://ansi//lib/ansi/constants.rb#16
601
+ ANSI::Constants::NEGATIVE = T.let(T.unsafe(nil), String)
602
+
603
+ # source://ansi//lib/ansi/constants.rb#16
604
+ ANSI::Constants::ON_BLACK = T.let(T.unsafe(nil), String)
605
+
606
+ # source://ansi//lib/ansi/constants.rb#16
607
+ ANSI::Constants::ON_BLUE = T.let(T.unsafe(nil), String)
608
+
609
+ # source://ansi//lib/ansi/constants.rb#16
610
+ ANSI::Constants::ON_CYAN = T.let(T.unsafe(nil), String)
611
+
612
+ # source://ansi//lib/ansi/constants.rb#16
613
+ ANSI::Constants::ON_GREEN = T.let(T.unsafe(nil), String)
614
+
615
+ # source://ansi//lib/ansi/constants.rb#16
616
+ ANSI::Constants::ON_MAGENTA = T.let(T.unsafe(nil), String)
617
+
618
+ # source://ansi//lib/ansi/constants.rb#16
619
+ ANSI::Constants::ON_RED = T.let(T.unsafe(nil), String)
620
+
621
+ # source://ansi//lib/ansi/constants.rb#16
622
+ ANSI::Constants::ON_WHITE = T.let(T.unsafe(nil), String)
623
+
624
+ # source://ansi//lib/ansi/constants.rb#16
625
+ ANSI::Constants::ON_YELLOW = T.let(T.unsafe(nil), String)
626
+
627
+ # source://ansi//lib/ansi/constants.rb#16
628
+ ANSI::Constants::OVERLINE = T.let(T.unsafe(nil), String)
629
+
630
+ # source://ansi//lib/ansi/constants.rb#16
631
+ ANSI::Constants::OVERLINE_OFF = T.let(T.unsafe(nil), String)
632
+
633
+ # source://ansi//lib/ansi/constants.rb#16
634
+ ANSI::Constants::POSITIVE = T.let(T.unsafe(nil), String)
635
+
636
+ # source://ansi//lib/ansi/constants.rb#16
637
+ ANSI::Constants::RAPID = T.let(T.unsafe(nil), String)
638
+
639
+ # source://ansi//lib/ansi/constants.rb#16
640
+ ANSI::Constants::RAPID_BLINK = T.let(T.unsafe(nil), String)
641
+
642
+ # source://ansi//lib/ansi/constants.rb#16
643
+ ANSI::Constants::RED = T.let(T.unsafe(nil), String)
644
+
645
+ # source://ansi//lib/ansi/constants.rb#16
646
+ ANSI::Constants::RESET = T.let(T.unsafe(nil), String)
647
+
648
+ # source://ansi//lib/ansi/constants.rb#20
649
+ ANSI::Constants::RESTORE = T.let(T.unsafe(nil), String)
650
+
651
+ # source://ansi//lib/ansi/constants.rb#16
652
+ ANSI::Constants::REVEAL = T.let(T.unsafe(nil), String)
653
+
654
+ # source://ansi//lib/ansi/constants.rb#16
655
+ ANSI::Constants::REVERSE = T.let(T.unsafe(nil), String)
656
+
657
+ # source://ansi//lib/ansi/constants.rb#20
658
+ ANSI::Constants::SAVE = T.let(T.unsafe(nil), String)
659
+
660
+ # source://ansi//lib/ansi/constants.rb#16
661
+ ANSI::Constants::SHOW = T.let(T.unsafe(nil), String)
662
+
663
+ # source://ansi//lib/ansi/constants.rb#16
664
+ ANSI::Constants::SLOW_BLINK = T.let(T.unsafe(nil), String)
665
+
666
+ # source://ansi//lib/ansi/constants.rb#16
667
+ ANSI::Constants::STRIKE = T.let(T.unsafe(nil), String)
668
+
669
+ # source://ansi//lib/ansi/constants.rb#16
670
+ ANSI::Constants::SWAP = T.let(T.unsafe(nil), String)
671
+
672
+ # source://ansi//lib/ansi/constants.rb#16
673
+ ANSI::Constants::UNDERLINE = T.let(T.unsafe(nil), String)
674
+
675
+ # source://ansi//lib/ansi/constants.rb#16
676
+ ANSI::Constants::UNDERLINE_OFF = T.let(T.unsafe(nil), String)
677
+
678
+ # source://ansi//lib/ansi/constants.rb#16
679
+ ANSI::Constants::UNDERSCORE = T.let(T.unsafe(nil), String)
680
+
681
+ # source://ansi//lib/ansi/constants.rb#16
682
+ ANSI::Constants::WHITE = T.let(T.unsafe(nil), String)
683
+
684
+ # source://ansi//lib/ansi/constants.rb#16
685
+ ANSI::Constants::YELLOW = T.let(T.unsafe(nil), String)
686
+
687
+ # source://ansi//lib/ansi/chart.rb#86
688
+ ANSI::SPECIAL_CHART = T.let(T.unsafe(nil), Hash)