windmill-cli 1.641.0 → 1.643.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 (1298) hide show
  1. package/esm/main.js +78213 -0
  2. package/package.json +23 -36
  3. package/esm/_dnt.polyfills.js +0 -250
  4. package/esm/_dnt.shims.js +0 -61
  5. package/esm/bootstrap/common.js +0 -1
  6. package/esm/bootstrap/flow_bootstrap.js +0 -17
  7. package/esm/bootstrap/script_bootstrap.js +0 -103
  8. package/esm/deps/jsr.io/@std/assert/1.0.0-rc.2/equal.js +0 -113
  9. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -2
  10. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -32
  11. package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_data.js +0 -17
  12. package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_run_length.js +0 -34
  13. package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/unicode_width.js +0 -74
  14. package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/_validate_binary_like.js +0 -26
  15. package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/base64.js +0 -163
  16. package/esm/deps/jsr.io/@std/encoding/1.0.4/_base32_common.js +0 -183
  17. package/esm/deps/jsr.io/@std/encoding/1.0.4/_validate_binary_like.js +0 -26
  18. package/esm/deps/jsr.io/@std/encoding/1.0.4/ascii85.js +0 -152
  19. package/esm/deps/jsr.io/@std/encoding/1.0.4/base32.js +0 -69
  20. package/esm/deps/jsr.io/@std/encoding/1.0.4/base32_stream.js +0 -92
  21. package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex.js +0 -77
  22. package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex_stream.js +0 -92
  23. package/esm/deps/jsr.io/@std/encoding/1.0.4/base58.js +0 -131
  24. package/esm/deps/jsr.io/@std/encoding/1.0.4/base64.js +0 -163
  25. package/esm/deps/jsr.io/@std/encoding/1.0.4/base64_stream.js +0 -92
  26. package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url.js +0 -81
  27. package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url_stream.js +0 -93
  28. package/esm/deps/jsr.io/@std/encoding/1.0.4/hex.js +0 -109
  29. package/esm/deps/jsr.io/@std/encoding/1.0.4/hex_stream.js +0 -81
  30. package/esm/deps/jsr.io/@std/encoding/1.0.4/mod.js +0 -28
  31. package/esm/deps/jsr.io/@std/encoding/1.0.4/varint.js +0 -207
  32. package/esm/deps/jsr.io/@std/fmt/0.225.6/colors.js +0 -916
  33. package/esm/deps/jsr.io/@std/fmt/1.0.9/colors.js +0 -903
  34. package/esm/deps/jsr.io/@std/fs/1.0.23/_create_walk_entry.js +0 -34
  35. package/esm/deps/jsr.io/@std/fs/1.0.23/_get_file_info_type.js +0 -18
  36. package/esm/deps/jsr.io/@std/fs/1.0.23/_is_same_path.js +0 -17
  37. package/esm/deps/jsr.io/@std/fs/1.0.23/_is_subdir.js +0 -25
  38. package/esm/deps/jsr.io/@std/fs/1.0.23/_to_path_string.js +0 -13
  39. package/esm/deps/jsr.io/@std/fs/1.0.23/copy.js +0 -313
  40. package/esm/deps/jsr.io/@std/fs/1.0.23/empty_dir.js +0 -87
  41. package/esm/deps/jsr.io/@std/fs/1.0.23/ensure_dir.js +0 -102
  42. package/esm/deps/jsr.io/@std/fs/1.0.23/ensure_file.js +0 -90
  43. package/esm/deps/jsr.io/@std/fs/1.0.23/ensure_link.js +0 -61
  44. package/esm/deps/jsr.io/@std/fs/1.0.23/ensure_symlink.js +0 -156
  45. package/esm/deps/jsr.io/@std/fs/1.0.23/eol.js +0 -67
  46. package/esm/deps/jsr.io/@std/fs/1.0.23/exists.js +0 -271
  47. package/esm/deps/jsr.io/@std/fs/1.0.23/expand_glob.js +0 -442
  48. package/esm/deps/jsr.io/@std/fs/1.0.23/mod.js +0 -29
  49. package/esm/deps/jsr.io/@std/fs/1.0.23/move.js +0 -142
  50. package/esm/deps/jsr.io/@std/fs/1.0.23/walk.js +0 -846
  51. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
  52. package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
  53. package/esm/deps/jsr.io/@std/io/0.224.9/types.js +0 -15
  54. package/esm/deps/jsr.io/@std/io/0.225.3/_constants.js +0 -4
  55. package/esm/deps/jsr.io/@std/io/0.225.3/copy.js +0 -36
  56. package/esm/deps/jsr.io/@std/io/0.225.3/read_all.js +0 -72
  57. package/esm/deps/jsr.io/@std/io/0.225.3/types.js +0 -15
  58. package/esm/deps/jsr.io/@std/io/0.225.3/write_all.js +0 -61
  59. package/esm/deps/jsr.io/@std/log/0.224.14/_config.js +0 -14
  60. package/esm/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.js +0 -8
  61. package/esm/deps/jsr.io/@std/log/0.224.14/_state.js +0 -7
  62. package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.js +0 -331
  63. package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +0 -112
  64. package/esm/deps/jsr.io/@std/log/0.224.14/critical.js +0 -11
  65. package/esm/deps/jsr.io/@std/log/0.224.14/debug.js +0 -11
  66. package/esm/deps/jsr.io/@std/log/0.224.14/error.js +0 -11
  67. package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.js +0 -267
  68. package/esm/deps/jsr.io/@std/log/0.224.14/formatters.js +0 -45
  69. package/esm/deps/jsr.io/@std/log/0.224.14/get_logger.js +0 -75
  70. package/esm/deps/jsr.io/@std/log/0.224.14/info.js +0 -11
  71. package/esm/deps/jsr.io/@std/log/0.224.14/levels.js +0 -45
  72. package/esm/deps/jsr.io/@std/log/0.224.14/logger.js +0 -525
  73. package/esm/deps/jsr.io/@std/log/0.224.14/mod.js +0 -394
  74. package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +0 -125
  75. package/esm/deps/jsr.io/@std/log/0.224.14/setup.js +0 -41
  76. package/esm/deps/jsr.io/@std/log/0.224.14/warn.js +0 -11
  77. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/assert_path.js +0 -7
  78. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/basename.js +0 -40
  79. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/common.js +0 -23
  80. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/constants.js +0 -46
  81. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/dirname.js +0 -8
  82. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/format.js +0 -19
  83. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/from_file_url.js +0 -9
  84. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/glob_to_reg_exp.js +0 -234
  85. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize.js +0 -8
  86. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize_string.js +0 -77
  87. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/relative.js +0 -9
  88. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/strip_trailing_separators.js +0 -19
  89. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/to_file_url.js +0 -15
  90. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_interface.js +0 -3
  91. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_os.js +0 -14
  92. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/basename.js +0 -33
  93. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/common.js +0 -33
  94. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/constants.js +0 -17
  95. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/dirname.js +0 -26
  96. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/extname.js +0 -26
  97. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/format.js +0 -27
  98. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/from_file_url.js +0 -28
  99. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/glob_to_regexp.js +0 -83
  100. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_absolute.js +0 -28
  101. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_glob.js +0 -42
  102. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join.js +0 -26
  103. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join_globs.js +0 -34
  104. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/mod.js +0 -54
  105. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize.js +0 -30
  106. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize_glob.js +0 -35
  107. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/parse.js +0 -39
  108. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/_util.js +0 -8
  109. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/basename.js +0 -29
  110. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/constants.js +0 -14
  111. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/dirname.js +0 -47
  112. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/extname.js +0 -70
  113. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/format.js +0 -28
  114. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/from_file_url.js +0 -21
  115. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/glob_to_regexp.js +0 -82
  116. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/is_absolute.js +0 -23
  117. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join.js +0 -26
  118. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join_globs.js +0 -39
  119. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize.js +0 -36
  120. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize_glob.js +0 -31
  121. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/parse.js +0 -115
  122. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/relative.js +0 -106
  123. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/resolve.js +0 -59
  124. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_file_url.js +0 -27
  125. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_namespaced_path.js +0 -20
  126. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/relative.js +0 -30
  127. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/resolve.js +0 -30
  128. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_file_url.js +0 -28
  129. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_namespaced_path.js +0 -29
  130. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/_util.js +0 -15
  131. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/basename.js +0 -41
  132. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/constants.js +0 -14
  133. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/dirname.js +0 -109
  134. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/extname.js +0 -78
  135. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/format.js +0 -28
  136. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/from_file_url.js +0 -30
  137. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/glob_to_regexp.js +0 -82
  138. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/is_absolute.js +0 -38
  139. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join.js +0 -71
  140. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join_globs.js +0 -40
  141. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize.js +0 -131
  142. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize_glob.js +0 -31
  143. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/parse.js +0 -176
  144. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/relative.js +0 -131
  145. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/resolve.js +0 -154
  146. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_file_url.js +0 -34
  147. package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_namespaced_path.js +0 -49
  148. package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.js +0 -7
  149. package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.js +0 -40
  150. package/esm/deps/jsr.io/@std/path/1.1.4/_common/common.js +0 -23
  151. package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.js +0 -46
  152. package/esm/deps/jsr.io/@std/path/1.1.4/_common/dirname.js +0 -8
  153. package/esm/deps/jsr.io/@std/path/1.1.4/_common/format.js +0 -19
  154. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.js +0 -9
  155. package/esm/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.js +0 -235
  156. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.js +0 -8
  157. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.js +0 -77
  158. package/esm/deps/jsr.io/@std/path/1.1.4/_common/relative.js +0 -9
  159. package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.js +0 -19
  160. package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.js +0 -15
  161. package/esm/deps/jsr.io/@std/path/1.1.4/basename.js +0 -35
  162. package/esm/deps/jsr.io/@std/path/1.1.4/common.js +0 -33
  163. package/esm/deps/jsr.io/@std/path/1.1.4/constants.js +0 -17
  164. package/esm/deps/jsr.io/@std/path/1.1.4/dirname.js +0 -28
  165. package/esm/deps/jsr.io/@std/path/1.1.4/extname.js +0 -28
  166. package/esm/deps/jsr.io/@std/path/1.1.4/format.js +0 -27
  167. package/esm/deps/jsr.io/@std/path/1.1.4/from_file_url.js +0 -28
  168. package/esm/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.js +0 -83
  169. package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.js +0 -28
  170. package/esm/deps/jsr.io/@std/path/1.1.4/is_glob.js +0 -42
  171. package/esm/deps/jsr.io/@std/path/1.1.4/join.js +0 -29
  172. package/esm/deps/jsr.io/@std/path/1.1.4/join_globs.js +0 -34
  173. package/esm/deps/jsr.io/@std/path/1.1.4/mod.js +0 -216
  174. package/esm/deps/jsr.io/@std/path/1.1.4/normalize.js +0 -32
  175. package/esm/deps/jsr.io/@std/path/1.1.4/normalize_glob.js +0 -35
  176. package/esm/deps/jsr.io/@std/path/1.1.4/parse.js +0 -39
  177. package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.js +0 -8
  178. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.js +0 -52
  179. package/esm/deps/jsr.io/@std/path/1.1.4/posix/constants.js +0 -14
  180. package/esm/deps/jsr.io/@std/path/1.1.4/posix/dirname.js +0 -64
  181. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.js +0 -93
  182. package/esm/deps/jsr.io/@std/path/1.1.4/posix/format.js +0 -28
  183. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.js +0 -21
  184. package/esm/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.js +0 -82
  185. package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.js +0 -23
  186. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.js +0 -45
  187. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join_globs.js +0 -40
  188. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.js +0 -58
  189. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.js +0 -32
  190. package/esm/deps/jsr.io/@std/path/1.1.4/posix/parse.js +0 -115
  191. package/esm/deps/jsr.io/@std/path/1.1.4/posix/relative.js +0 -106
  192. package/esm/deps/jsr.io/@std/path/1.1.4/posix/resolve.js +0 -59
  193. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.js +0 -27
  194. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.js +0 -20
  195. package/esm/deps/jsr.io/@std/path/1.1.4/relative.js +0 -30
  196. package/esm/deps/jsr.io/@std/path/1.1.4/resolve.js +0 -30
  197. package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.js +0 -28
  198. package/esm/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.js +0 -29
  199. package/esm/deps/jsr.io/@std/path/1.1.4/types.js +0 -3
  200. package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.js +0 -15
  201. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.js +0 -47
  202. package/esm/deps/jsr.io/@std/path/1.1.4/windows/constants.js +0 -14
  203. package/esm/deps/jsr.io/@std/path/1.1.4/windows/dirname.js +0 -113
  204. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.js +0 -82
  205. package/esm/deps/jsr.io/@std/path/1.1.4/windows/format.js +0 -28
  206. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.js +0 -30
  207. package/esm/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.js +0 -82
  208. package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.js +0 -38
  209. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.js +0 -77
  210. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join_globs.js +0 -41
  211. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.js +0 -135
  212. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.js +0 -32
  213. package/esm/deps/jsr.io/@std/path/1.1.4/windows/parse.js +0 -176
  214. package/esm/deps/jsr.io/@std/path/1.1.4/windows/relative.js +0 -131
  215. package/esm/deps/jsr.io/@std/path/1.1.4/windows/resolve.js +0 -154
  216. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.js +0 -34
  217. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.js +0 -49
  218. package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/closest_string.js +0 -52
  219. package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/levenshtein_distance.js +0 -40
  220. package/esm/deps/jsr.io/@std/yaml/1.0.12/_chars.js +0 -48
  221. package/esm/deps/jsr.io/@std/yaml/1.0.12/_dumper_state.js +0 -712
  222. package/esm/deps/jsr.io/@std/yaml/1.0.12/_loader_state.js +0 -1445
  223. package/esm/deps/jsr.io/@std/yaml/1.0.12/_schema.js +0 -117
  224. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/binary.js +0 -103
  225. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/bool.js +0 -32
  226. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/float.js +0 -96
  227. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/int.js +0 -159
  228. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/map.js +0 -14
  229. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/merge.js +0 -10
  230. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/nil.js +0 -22
  231. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/omap.js +0 -29
  232. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/pairs.js +0 -19
  233. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/regexp.js +0 -30
  234. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/seq.js +0 -10
  235. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/set.js +0 -14
  236. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/str.js +0 -9
  237. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/timestamp.js +0 -81
  238. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/undefined.js +0 -20
  239. package/esm/deps/jsr.io/@std/yaml/1.0.12/_type.js +0 -6
  240. package/esm/deps/jsr.io/@std/yaml/1.0.12/_utils.js +0 -13
  241. package/esm/deps/jsr.io/@std/yaml/1.0.12/mod.js +0 -52
  242. package/esm/deps/jsr.io/@std/yaml/1.0.12/parse.js +0 -91
  243. package/esm/deps/jsr.io/@std/yaml/1.0.12/stringify.js +0 -33
  244. package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/ansi_escapes.js +0 -218
  245. package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/chain.js +0 -1
  246. package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/colors.js +0 -48
  247. package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.js +0 -31
  248. package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.js +0 -61
  249. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_argument_types.js +0 -1
  250. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_errors.js +0 -155
  251. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_spread.js +0 -1
  252. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_type_utils.js +0 -1
  253. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_utils.js +0 -125
  254. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.js +0 -1789
  255. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_bash_completions_generator.js +0 -211
  256. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_fish_completions_generator.js +0 -151
  257. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_zsh_completions_generator.js +0 -314
  258. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/bash.js +0 -39
  259. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/complete.js +0 -32
  260. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/completions_command.js +0 -47
  261. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/fish.js +0 -39
  262. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/mod.js +0 -4
  263. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/zsh.js +0 -39
  264. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/deprecated.js +0 -2
  265. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/help/_help_generator.js +0 -320
  266. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js +0 -13
  267. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/type.js +0 -27
  268. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/action_list.js +0 -20
  269. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/boolean.js +0 -13
  270. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/child_command.js +0 -27
  271. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/command.js +0 -9
  272. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/enum.js +0 -29
  273. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/file.js +0 -12
  274. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/integer.js +0 -9
  275. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/number.js +0 -9
  276. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/string.js +0 -9
  277. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types.js +0 -2
  278. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/_check_version.js +0 -21
  279. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/get_runtime.js +0 -20
  280. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/logger.js +0 -15
  281. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/mod.js +0 -2
  282. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider/npm.js +0 -60
  283. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider.js +0 -118
  284. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/bun_runtime.js +0 -21
  285. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/deno_runtime.js +0 -34
  286. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/node_runtime.js +0 -29
  287. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime.js +0 -3
  288. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/spinner.js +0 -198
  289. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade.js +0 -42
  290. package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade_command.js +0 -133
  291. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_errors.js +0 -117
  292. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_utils.js +0 -89
  293. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_validate_flags.js +0 -155
  294. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/deprecated.js +0 -9
  295. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/flags.js +0 -401
  296. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/mod.js +0 -7
  297. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/boolean.js +0 -11
  298. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/integer.js +0 -9
  299. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/number.js +0 -9
  300. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/string.js +0 -4
  301. package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types.js +0 -1
  302. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/exit.js +0 -15
  303. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_args.js +0 -10
  304. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_columns.js +0 -23
  305. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_env.js +0 -17
  306. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_os.js +0 -18
  307. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/inspect.js +0 -11
  308. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_directory.js +0 -16
  309. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_terminal.js +0 -18
  310. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/no_color.js +0 -16
  311. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read.js +0 -35
  312. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_dir.js +0 -23
  313. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_sync.js +0 -28
  314. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/set_raw.js +0 -20
  315. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/stat.js +0 -21
  316. package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/write_sync.js +0 -20
  317. package/esm/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/_key_codes.js +0 -103
  318. package/esm/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/key_code.js +0 -235
  319. package/esm/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/mod.js +0 -1
  320. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_figures.js +0 -63
  321. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_input.js +0 -112
  322. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_list.js +0 -523
  323. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.js +0 -284
  324. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_suggestions.js +0 -424
  325. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_utils.js +0 -5
  326. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/confirm.js +0 -117
  327. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/input.js +0 -88
  328. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/secret.js +0 -96
  329. package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/select.js +0 -184
  330. package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_layout.js +0 -546
  331. package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_utils.js +0 -71
  332. package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/border.js +0 -18
  333. package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/cell.js +0 -199
  334. package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/column.js +0 -85
  335. package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/consume_words.js +0 -64
  336. package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/mod.js +0 -6
  337. package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/row.js +0 -90
  338. package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/table.js +0 -304
  339. package/esm/deps/jsr.io/@windmill-labs/shared-utils/1.0.12/lib.es.js +0 -1689
  340. package/esm/deps.js +0 -68
  341. package/esm/gen/core/ApiError.js +0 -41
  342. package/esm/gen/core/ApiRequestOptions.js +0 -1
  343. package/esm/gen/core/ApiResult.js +0 -1
  344. package/esm/gen/core/CancelablePromise.js +0 -130
  345. package/esm/gen/core/OpenAPI.js +0 -41
  346. package/esm/gen/core/request.js +0 -305
  347. package/esm/gen/index.js +0 -6
  348. package/esm/gen/services.gen.js +0 -12750
  349. package/esm/gen/types.gen.js +0 -2
  350. package/esm/package.json +0 -3
  351. package/esm/src/commands/app/app.js +0 -211
  352. package/esm/src/commands/app/app_metadata.js +0 -542
  353. package/esm/src/commands/app/bundle.js +0 -253
  354. package/esm/src/commands/app/dev.js +0 -1289
  355. package/esm/src/commands/app/generate_agents.js +0 -219
  356. package/esm/src/commands/app/lint.js +0 -162
  357. package/esm/src/commands/app/metadata.js +0 -1
  358. package/esm/src/commands/app/new.js +0 -537
  359. package/esm/src/commands/app/raw_apps.js +0 -385
  360. package/esm/src/commands/app/wmillTsDev.js +0 -128
  361. package/esm/src/commands/dependencies/dependencies.js +0 -71
  362. package/esm/src/commands/dev/dev.js +0 -146
  363. package/esm/src/commands/flow/flow.js +0 -290
  364. package/esm/src/commands/flow/flow_metadata.js +0 -156
  365. package/esm/src/commands/folder/folder.js +0 -101
  366. package/esm/src/commands/gitsync-settings/converter.js +0 -134
  367. package/esm/src/commands/gitsync-settings/gitsync-settings.js +0 -28
  368. package/esm/src/commands/gitsync-settings/legacySettings.js +0 -119
  369. package/esm/src/commands/gitsync-settings/pull.js +0 -369
  370. package/esm/src/commands/gitsync-settings/push.js +0 -261
  371. package/esm/src/commands/gitsync-settings/types.js +0 -37
  372. package/esm/src/commands/gitsync-settings/utils.js +0 -129
  373. package/esm/src/commands/hub/hub.js +0 -94
  374. package/esm/src/commands/init/init.js +0 -259
  375. package/esm/src/commands/instance/instance.js +0 -586
  376. package/esm/src/commands/jobs/jobs.js +0 -186
  377. package/esm/src/commands/lint/lint.js +0 -600
  378. package/esm/src/commands/queues/queues.js +0 -117
  379. package/esm/src/commands/resource/resource.js +0 -117
  380. package/esm/src/commands/resource-type/resource-type.js +0 -112
  381. package/esm/src/commands/schedule/schedule.js +0 -101
  382. package/esm/src/commands/script/script.js +0 -997
  383. package/esm/src/commands/sync/global.js +0 -23
  384. package/esm/src/commands/sync/pull.js +0 -39
  385. package/esm/src/commands/sync/sync.js +0 -2309
  386. package/esm/src/commands/trigger/trigger.js +0 -269
  387. package/esm/src/commands/user/user.js +0 -428
  388. package/esm/src/commands/variable/variable.js +0 -121
  389. package/esm/src/commands/worker-groups/worker-groups.js +0 -96
  390. package/esm/src/commands/workers/workers.js +0 -79
  391. package/esm/src/commands/workspace/fork.js +0 -131
  392. package/esm/src/commands/workspace/workspace.js +0 -403
  393. package/esm/src/core/auth.js +0 -40
  394. package/esm/src/core/branch-profiles.js +0 -46
  395. package/esm/src/core/conf.js +0 -335
  396. package/esm/src/core/constants.js +0 -5
  397. package/esm/src/core/context.js +0 -326
  398. package/esm/src/core/login.js +0 -100
  399. package/esm/src/core/settings.js +0 -496
  400. package/esm/src/core/specific_items.js +0 -318
  401. package/esm/src/core/store.js +0 -19
  402. package/esm/src/guidance/core.js +0 -57
  403. package/esm/src/guidance/skills.js +0 -5742
  404. package/esm/src/main.js +0 -203
  405. package/esm/src/types.js +0 -315
  406. package/esm/src/utils/codebase.js +0 -38
  407. package/esm/src/utils/git.js +0 -51
  408. package/esm/src/utils/local_encryption.js +0 -70
  409. package/esm/src/utils/metadata.js +0 -672
  410. package/esm/src/utils/resource_folders.js +0 -367
  411. package/esm/src/utils/resource_types.js +0 -32
  412. package/esm/src/utils/script_common.js +0 -91
  413. package/esm/src/utils/upgrade.js +0 -48
  414. package/esm/src/utils/utils.js +0 -234
  415. package/esm/wasm/csharp/windmill_parser_wasm.js +0 -103
  416. package/esm/wasm/csharp/windmill_parser_wasm_bg.wasm +0 -0
  417. package/esm/wasm/go/windmill_parser_wasm.js +0 -103
  418. package/esm/wasm/go/windmill_parser_wasm_bg.wasm +0 -0
  419. package/esm/wasm/java/windmill_parser_wasm.js +0 -103
  420. package/esm/wasm/java/windmill_parser_wasm_bg.wasm +0 -0
  421. package/esm/wasm/nu/windmill_parser_wasm.js +0 -106
  422. package/esm/wasm/nu/windmill_parser_wasm_bg.wasm +0 -0
  423. package/esm/wasm/php/windmill_parser_wasm.js +0 -112
  424. package/esm/wasm/php/windmill_parser_wasm_bg.wasm +0 -0
  425. package/esm/wasm/py/windmill_parser_wasm.js +0 -131
  426. package/esm/wasm/py/windmill_parser_wasm_bg.wasm +0 -0
  427. package/esm/wasm/regex/windmill_parser_wasm.js +0 -311
  428. package/esm/wasm/regex/windmill_parser_wasm_bg.wasm +0 -0
  429. package/esm/wasm/ruby/windmill_parser_wasm.js +0 -103
  430. package/esm/wasm/ruby/windmill_parser_wasm_bg.wasm +0 -0
  431. package/esm/wasm/rust/windmill_parser_wasm.js +0 -86
  432. package/esm/wasm/rust/windmill_parser_wasm_bg.wasm +0 -0
  433. package/esm/wasm/ts/windmill_parser_wasm.js +0 -438
  434. package/esm/wasm/ts/windmill_parser_wasm_bg.wasm +0 -0
  435. package/esm/wasm/yaml/windmill_parser_wasm.js +0 -103
  436. package/esm/wasm/yaml/windmill_parser_wasm_bg.wasm +0 -0
  437. package/esm/windmill-utils-internal/src/config/config.js +0 -190
  438. package/esm/windmill-utils-internal/src/gen/types.gen.js +0 -2
  439. package/esm/windmill-utils-internal/src/inline-scripts/extractor.js +0 -109
  440. package/esm/windmill-utils-internal/src/inline-scripts/replacer.js +0 -85
  441. package/esm/windmill-utils-internal/src/parse/parse-schema.js +0 -254
  442. package/esm/windmill-utils-internal/src/path-utils/path-assigner.js +0 -159
  443. package/types/_dnt.polyfills.d.ts +0 -124
  444. package/types/_dnt.polyfills.d.ts.map +0 -1
  445. package/types/_dnt.shims.d.ts +0 -6
  446. package/types/_dnt.shims.d.ts.map +0 -1
  447. package/types/bootstrap/common.d.ts +0 -51
  448. package/types/bootstrap/common.d.ts.map +0 -1
  449. package/types/bootstrap/flow_bootstrap.d.ts +0 -20
  450. package/types/bootstrap/flow_bootstrap.d.ts.map +0 -1
  451. package/types/bootstrap/script_bootstrap.d.ts +0 -42
  452. package/types/bootstrap/script_bootstrap.d.ts.map +0 -1
  453. package/types/deps/jsr.io/@std/assert/1.0.0-rc.2/equal.d.ts +0 -17
  454. package/types/deps/jsr.io/@std/assert/1.0.0-rc.2/equal.d.ts.map +0 -1
  455. package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
  456. package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
  457. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
  458. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
  459. package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/_data.d.ts +0 -9
  460. package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/_data.d.ts.map +0 -1
  461. package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/_run_length.d.ts +0 -9
  462. package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/_run_length.d.ts.map +0 -1
  463. package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/unicode_width.d.ts +0 -40
  464. package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/unicode_width.d.ts.map +0 -1
  465. package/types/deps/jsr.io/@std/encoding/1.0.0-rc.2/_validate_binary_like.d.ts +0 -2
  466. package/types/deps/jsr.io/@std/encoding/1.0.0-rc.2/_validate_binary_like.d.ts.map +0 -1
  467. package/types/deps/jsr.io/@std/encoding/1.0.0-rc.2/base64.d.ts +0 -38
  468. package/types/deps/jsr.io/@std/encoding/1.0.0-rc.2/base64.d.ts.map +0 -1
  469. package/types/deps/jsr.io/@std/encoding/1.0.4/_base32_common.d.ts +0 -17
  470. package/types/deps/jsr.io/@std/encoding/1.0.4/_base32_common.d.ts.map +0 -1
  471. package/types/deps/jsr.io/@std/encoding/1.0.4/_validate_binary_like.d.ts +0 -2
  472. package/types/deps/jsr.io/@std/encoding/1.0.4/_validate_binary_like.d.ts.map +0 -1
  473. package/types/deps/jsr.io/@std/encoding/1.0.4/ascii85.d.ts +0 -59
  474. package/types/deps/jsr.io/@std/encoding/1.0.4/ascii85.d.ts.map +0 -1
  475. package/types/deps/jsr.io/@std/encoding/1.0.4/base32.d.ts +0 -38
  476. package/types/deps/jsr.io/@std/encoding/1.0.4/base32.d.ts.map +0 -1
  477. package/types/deps/jsr.io/@std/encoding/1.0.4/base32_stream.d.ts +0 -48
  478. package/types/deps/jsr.io/@std/encoding/1.0.4/base32_stream.d.ts.map +0 -1
  479. package/types/deps/jsr.io/@std/encoding/1.0.4/base32hex.d.ts +0 -42
  480. package/types/deps/jsr.io/@std/encoding/1.0.4/base32hex.d.ts.map +0 -1
  481. package/types/deps/jsr.io/@std/encoding/1.0.4/base32hex_stream.d.ts +0 -48
  482. package/types/deps/jsr.io/@std/encoding/1.0.4/base32hex_stream.d.ts.map +0 -1
  483. package/types/deps/jsr.io/@std/encoding/1.0.4/base58.d.ts +0 -38
  484. package/types/deps/jsr.io/@std/encoding/1.0.4/base58.d.ts.map +0 -1
  485. package/types/deps/jsr.io/@std/encoding/1.0.4/base64.d.ts +0 -38
  486. package/types/deps/jsr.io/@std/encoding/1.0.4/base64.d.ts.map +0 -1
  487. package/types/deps/jsr.io/@std/encoding/1.0.4/base64_stream.d.ts +0 -48
  488. package/types/deps/jsr.io/@std/encoding/1.0.4/base64_stream.d.ts.map +0 -1
  489. package/types/deps/jsr.io/@std/encoding/1.0.4/base64url.d.ts +0 -38
  490. package/types/deps/jsr.io/@std/encoding/1.0.4/base64url.d.ts.map +0 -1
  491. package/types/deps/jsr.io/@std/encoding/1.0.4/base64url_stream.d.ts +0 -49
  492. package/types/deps/jsr.io/@std/encoding/1.0.4/base64url_stream.d.ts.map +0 -1
  493. package/types/deps/jsr.io/@std/encoding/1.0.4/hex.d.ts +0 -37
  494. package/types/deps/jsr.io/@std/encoding/1.0.4/hex.d.ts.map +0 -1
  495. package/types/deps/jsr.io/@std/encoding/1.0.4/hex_stream.d.ts +0 -48
  496. package/types/deps/jsr.io/@std/encoding/1.0.4/hex_stream.d.ts.map +0 -1
  497. package/types/deps/jsr.io/@std/encoding/1.0.4/mod.d.ts +0 -28
  498. package/types/deps/jsr.io/@std/encoding/1.0.4/mod.d.ts.map +0 -1
  499. package/types/deps/jsr.io/@std/encoding/1.0.4/varint.d.ts +0 -118
  500. package/types/deps/jsr.io/@std/encoding/1.0.4/varint.d.ts.map +0 -1
  501. package/types/deps/jsr.io/@std/fmt/0.225.6/colors.d.ts +0 -716
  502. package/types/deps/jsr.io/@std/fmt/0.225.6/colors.d.ts.map +0 -1
  503. package/types/deps/jsr.io/@std/fmt/1.0.9/colors.d.ts +0 -700
  504. package/types/deps/jsr.io/@std/fmt/1.0.9/colors.d.ts.map +0 -1
  505. package/types/deps/jsr.io/@std/fs/1.0.23/_create_walk_entry.d.ts +0 -14
  506. package/types/deps/jsr.io/@std/fs/1.0.23/_create_walk_entry.d.ts.map +0 -1
  507. package/types/deps/jsr.io/@std/fs/1.0.23/_get_file_info_type.d.ts +0 -13
  508. package/types/deps/jsr.io/@std/fs/1.0.23/_get_file_info_type.d.ts.map +0 -1
  509. package/types/deps/jsr.io/@std/fs/1.0.23/_is_same_path.d.ts +0 -10
  510. package/types/deps/jsr.io/@std/fs/1.0.23/_is_same_path.d.ts.map +0 -1
  511. package/types/deps/jsr.io/@std/fs/1.0.23/_is_subdir.d.ts +0 -12
  512. package/types/deps/jsr.io/@std/fs/1.0.23/_is_subdir.d.ts.map +0 -1
  513. package/types/deps/jsr.io/@std/fs/1.0.23/_to_path_string.d.ts +0 -9
  514. package/types/deps/jsr.io/@std/fs/1.0.23/_to_path_string.d.ts.map +0 -1
  515. package/types/deps/jsr.io/@std/fs/1.0.23/copy.d.ts +0 -117
  516. package/types/deps/jsr.io/@std/fs/1.0.23/copy.d.ts.map +0 -1
  517. package/types/deps/jsr.io/@std/fs/1.0.23/empty_dir.d.ts +0 -48
  518. package/types/deps/jsr.io/@std/fs/1.0.23/empty_dir.d.ts.map +0 -1
  519. package/types/deps/jsr.io/@std/fs/1.0.23/ensure_dir.d.ts +0 -49
  520. package/types/deps/jsr.io/@std/fs/1.0.23/ensure_dir.d.ts.map +0 -1
  521. package/types/deps/jsr.io/@std/fs/1.0.23/ensure_file.d.ts +0 -47
  522. package/types/deps/jsr.io/@std/fs/1.0.23/ensure_file.d.ts.map +0 -1
  523. package/types/deps/jsr.io/@std/fs/1.0.23/ensure_link.d.ts +0 -49
  524. package/types/deps/jsr.io/@std/fs/1.0.23/ensure_link.d.ts.map +0 -1
  525. package/types/deps/jsr.io/@std/fs/1.0.23/ensure_symlink.d.ts +0 -70
  526. package/types/deps/jsr.io/@std/fs/1.0.23/ensure_symlink.d.ts.map +0 -1
  527. package/types/deps/jsr.io/@std/fs/1.0.23/eol.d.ts +0 -52
  528. package/types/deps/jsr.io/@std/fs/1.0.23/eol.d.ts.map +0 -1
  529. package/types/deps/jsr.io/@std/fs/1.0.23/exists.d.ts +0 -218
  530. package/types/deps/jsr.io/@std/fs/1.0.23/exists.d.ts.map +0 -1
  531. package/types/deps/jsr.io/@std/fs/1.0.23/expand_glob.d.ts +0 -267
  532. package/types/deps/jsr.io/@std/fs/1.0.23/expand_glob.d.ts.map +0 -1
  533. package/types/deps/jsr.io/@std/fs/1.0.23/mod.d.ts +0 -29
  534. package/types/deps/jsr.io/@std/fs/1.0.23/mod.d.ts.map +0 -1
  535. package/types/deps/jsr.io/@std/fs/1.0.23/move.d.ts +0 -86
  536. package/types/deps/jsr.io/@std/fs/1.0.23/move.d.ts.map +0 -1
  537. package/types/deps/jsr.io/@std/fs/1.0.23/walk.d.ts +0 -777
  538. package/types/deps/jsr.io/@std/fs/1.0.23/walk.d.ts.map +0 -1
  539. package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
  540. package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
  541. package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
  542. package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
  543. package/types/deps/jsr.io/@std/io/0.224.9/types.d.ts +0 -146
  544. package/types/deps/jsr.io/@std/io/0.224.9/types.d.ts.map +0 -1
  545. package/types/deps/jsr.io/@std/io/0.225.3/_constants.d.ts +0 -3
  546. package/types/deps/jsr.io/@std/io/0.225.3/_constants.d.ts.map +0 -1
  547. package/types/deps/jsr.io/@std/io/0.225.3/copy.d.ts +0 -25
  548. package/types/deps/jsr.io/@std/io/0.225.3/copy.d.ts.map +0 -1
  549. package/types/deps/jsr.io/@std/io/0.225.3/read_all.d.ts +0 -42
  550. package/types/deps/jsr.io/@std/io/0.225.3/read_all.d.ts.map +0 -1
  551. package/types/deps/jsr.io/@std/io/0.225.3/types.d.ts +0 -146
  552. package/types/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +0 -1
  553. package/types/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +0 -52
  554. package/types/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +0 -1
  555. package/types/deps/jsr.io/@std/log/0.224.14/_config.d.ts +0 -4
  556. package/types/deps/jsr.io/@std/log/0.224.14/_config.d.ts.map +0 -1
  557. package/types/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts +0 -8
  558. package/types/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts.map +0 -1
  559. package/types/deps/jsr.io/@std/log/0.224.14/_state.d.ts +0 -8
  560. package/types/deps/jsr.io/@std/log/0.224.14/_state.d.ts.map +0 -1
  561. package/types/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +0 -326
  562. package/types/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +0 -1
  563. package/types/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts +0 -76
  564. package/types/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts.map +0 -1
  565. package/types/deps/jsr.io/@std/log/0.224.14/critical.d.ts +0 -53
  566. package/types/deps/jsr.io/@std/log/0.224.14/critical.d.ts.map +0 -1
  567. package/types/deps/jsr.io/@std/log/0.224.14/debug.d.ts +0 -105
  568. package/types/deps/jsr.io/@std/log/0.224.14/debug.d.ts.map +0 -1
  569. package/types/deps/jsr.io/@std/log/0.224.14/error.d.ts +0 -53
  570. package/types/deps/jsr.io/@std/log/0.224.14/error.d.ts.map +0 -1
  571. package/types/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts +0 -200
  572. package/types/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts.map +0 -1
  573. package/types/deps/jsr.io/@std/log/0.224.14/formatters.d.ts +0 -34
  574. package/types/deps/jsr.io/@std/log/0.224.14/formatters.d.ts.map +0 -1
  575. package/types/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts +0 -59
  576. package/types/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts.map +0 -1
  577. package/types/deps/jsr.io/@std/log/0.224.14/info.d.ts +0 -53
  578. package/types/deps/jsr.io/@std/log/0.224.14/info.d.ts.map +0 -1
  579. package/types/deps/jsr.io/@std/log/0.224.14/levels.d.ts +0 -28
  580. package/types/deps/jsr.io/@std/log/0.224.14/levels.d.ts.map +0 -1
  581. package/types/deps/jsr.io/@std/log/0.224.14/logger.d.ts +0 -622
  582. package/types/deps/jsr.io/@std/log/0.224.14/logger.d.ts.map +0 -1
  583. package/types/deps/jsr.io/@std/log/0.224.14/mod.d.ts +0 -394
  584. package/types/deps/jsr.io/@std/log/0.224.14/mod.d.ts.map +0 -1
  585. package/types/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts +0 -53
  586. package/types/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts.map +0 -1
  587. package/types/deps/jsr.io/@std/log/0.224.14/setup.d.ts +0 -4
  588. package/types/deps/jsr.io/@std/log/0.224.14/setup.d.ts.map +0 -1
  589. package/types/deps/jsr.io/@std/log/0.224.14/warn.d.ts +0 -53
  590. package/types/deps/jsr.io/@std/log/0.224.14/warn.d.ts.map +0 -1
  591. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/assert_path.d.ts +0 -2
  592. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/assert_path.d.ts.map +0 -1
  593. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/basename.d.ts +0 -4
  594. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/basename.d.ts.map +0 -1
  595. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/common.d.ts +0 -2
  596. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/common.d.ts.map +0 -1
  597. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/constants.d.ts +0 -40
  598. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/constants.d.ts.map +0 -1
  599. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/dirname.d.ts +0 -2
  600. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/dirname.d.ts.map +0 -1
  601. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/format.d.ts +0 -4
  602. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/format.d.ts.map +0 -1
  603. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/from_file_url.d.ts +0 -2
  604. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/from_file_url.d.ts.map +0 -1
  605. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/glob_to_reg_exp.d.ts +0 -34
  606. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/glob_to_reg_exp.d.ts.map +0 -1
  607. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize.d.ts +0 -2
  608. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize.d.ts.map +0 -1
  609. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize_string.d.ts +0 -2
  610. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize_string.d.ts.map +0 -1
  611. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/relative.d.ts +0 -2
  612. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/relative.d.ts.map +0 -1
  613. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/strip_trailing_separators.d.ts +0 -2
  614. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/strip_trailing_separators.d.ts.map +0 -1
  615. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/to_file_url.d.ts +0 -2
  616. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/to_file_url.d.ts.map +0 -1
  617. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_interface.d.ts +0 -42
  618. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_interface.d.ts.map +0 -1
  619. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_os.d.ts +0 -2
  620. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_os.d.ts.map +0 -1
  621. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/basename.d.ts +0 -25
  622. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/basename.d.ts.map +0 -1
  623. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/common.d.ts +0 -28
  624. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/common.d.ts.map +0 -1
  625. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/constants.d.ts +0 -15
  626. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/constants.d.ts.map +0 -1
  627. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/dirname.d.ts +0 -20
  628. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/dirname.d.ts.map +0 -1
  629. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/extname.d.ts +0 -20
  630. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/extname.d.ts.map +0 -1
  631. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/format.d.ts +0 -22
  632. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/format.d.ts.map +0 -1
  633. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/from_file_url.d.ts +0 -22
  634. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/from_file_url.d.ts.map +0 -1
  635. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/glob_to_regexp.d.ts +0 -79
  636. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/glob_to_regexp.d.ts.map +0 -1
  637. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/is_absolute.d.ts +0 -22
  638. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/is_absolute.d.ts.map +0 -1
  639. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/is_glob.d.ts +0 -17
  640. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/is_glob.d.ts.map +0 -1
  641. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/join.d.ts +0 -20
  642. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/join.d.ts.map +0 -1
  643. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/join_globs.d.ts +0 -28
  644. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/join_globs.d.ts.map +0 -1
  645. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/mod.d.ts +0 -51
  646. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/mod.d.ts.map +0 -1
  647. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/normalize.d.ts +0 -24
  648. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/normalize.d.ts.map +0 -1
  649. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/normalize_glob.d.ts +0 -29
  650. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/normalize_glob.d.ts.map +0 -1
  651. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/parse.d.ts +0 -35
  652. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/parse.d.ts.map +0 -1
  653. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/_util.d.ts +0 -2
  654. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/_util.d.ts.map +0 -1
  655. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/basename.d.ts +0 -20
  656. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/basename.d.ts.map +0 -1
  657. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/constants.d.ts +0 -13
  658. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/constants.d.ts.map +0 -1
  659. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/dirname.d.ts +0 -17
  660. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/dirname.d.ts.map +0 -1
  661. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/extname.d.ts +0 -18
  662. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/extname.d.ts.map +0 -1
  663. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/format.d.ts +0 -24
  664. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/format.d.ts.map +0 -1
  665. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/from_file_url.d.ts +0 -16
  666. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/from_file_url.d.ts.map +0 -1
  667. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/glob_to_regexp.d.ts +0 -72
  668. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/glob_to_regexp.d.ts.map +0 -1
  669. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/is_absolute.d.ts +0 -17
  670. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/is_absolute.d.ts.map +0 -1
  671. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join.d.ts +0 -17
  672. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join.d.ts.map +0 -1
  673. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join_globs.d.ts +0 -20
  674. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join_globs.d.ts.map +0 -1
  675. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize.d.ts +0 -19
  676. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize.d.ts.map +0 -1
  677. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize_glob.d.ts +0 -20
  678. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize_glob.d.ts.map +0 -1
  679. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/parse.d.ts +0 -25
  680. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/parse.d.ts.map +0 -1
  681. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/relative.d.ts +0 -20
  682. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/relative.d.ts.map +0 -1
  683. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/resolve.d.ts +0 -17
  684. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/resolve.d.ts.map +0 -1
  685. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_file_url.d.ts +0 -17
  686. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_file_url.d.ts.map +0 -1
  687. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_namespaced_path.d.ts +0 -16
  688. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_namespaced_path.d.ts.map +0 -1
  689. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/relative.d.ts +0 -24
  690. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/relative.d.ts.map +0 -1
  691. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/resolve.d.ts +0 -22
  692. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/resolve.d.ts.map +0 -1
  693. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/to_file_url.d.ts +0 -22
  694. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/to_file_url.d.ts.map +0 -1
  695. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/to_namespaced_path.d.ts +0 -21
  696. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/to_namespaced_path.d.ts.map +0 -1
  697. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/_util.d.ts +0 -4
  698. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/_util.d.ts.map +0 -1
  699. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/basename.d.ts +0 -20
  700. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/basename.d.ts.map +0 -1
  701. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/constants.d.ts +0 -13
  702. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/constants.d.ts.map +0 -1
  703. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/dirname.d.ts +0 -17
  704. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/dirname.d.ts.map +0 -1
  705. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/extname.d.ts +0 -17
  706. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/extname.d.ts.map +0 -1
  707. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/format.d.ts +0 -24
  708. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/format.d.ts.map +0 -1
  709. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/from_file_url.d.ts +0 -18
  710. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/from_file_url.d.ts.map +0 -1
  711. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/glob_to_regexp.d.ts +0 -71
  712. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/glob_to_regexp.d.ts.map +0 -1
  713. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/is_absolute.d.ts +0 -17
  714. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/is_absolute.d.ts.map +0 -1
  715. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join.d.ts +0 -17
  716. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join.d.ts.map +0 -1
  717. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join_globs.d.ts +0 -21
  718. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join_globs.d.ts.map +0 -1
  719. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize.d.ts +0 -19
  720. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize.d.ts.map +0 -1
  721. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize_glob.d.ts +0 -20
  722. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize_glob.d.ts.map +0 -1
  723. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/parse.d.ts +0 -25
  724. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/parse.d.ts.map +0 -1
  725. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/relative.d.ts +0 -23
  726. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/relative.d.ts.map +0 -1
  727. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/resolve.d.ts +0 -17
  728. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/resolve.d.ts.map +0 -1
  729. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_file_url.d.ts +0 -17
  730. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_file_url.d.ts.map +0 -1
  731. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_namespaced_path.d.ts +0 -17
  732. package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_namespaced_path.d.ts.map +0 -1
  733. package/types/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts +0 -2
  734. package/types/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +0 -1
  735. package/types/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts +0 -4
  736. package/types/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts.map +0 -1
  737. package/types/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts +0 -2
  738. package/types/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts.map +0 -1
  739. package/types/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts +0 -40
  740. package/types/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +0 -1
  741. package/types/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts +0 -2
  742. package/types/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts.map +0 -1
  743. package/types/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts +0 -4
  744. package/types/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts.map +0 -1
  745. package/types/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts +0 -2
  746. package/types/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +0 -1
  747. package/types/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts +0 -35
  748. package/types/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts.map +0 -1
  749. package/types/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts +0 -2
  750. package/types/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +0 -1
  751. package/types/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts +0 -2
  752. package/types/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +0 -1
  753. package/types/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts +0 -2
  754. package/types/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts.map +0 -1
  755. package/types/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts +0 -2
  756. package/types/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts.map +0 -1
  757. package/types/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts +0 -2
  758. package/types/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts.map +0 -1
  759. package/types/deps/jsr.io/@std/path/1.1.4/basename.d.ts +0 -27
  760. package/types/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +0 -1
  761. package/types/deps/jsr.io/@std/path/1.1.4/common.d.ts +0 -28
  762. package/types/deps/jsr.io/@std/path/1.1.4/common.d.ts.map +0 -1
  763. package/types/deps/jsr.io/@std/path/1.1.4/constants.d.ts +0 -15
  764. package/types/deps/jsr.io/@std/path/1.1.4/constants.d.ts.map +0 -1
  765. package/types/deps/jsr.io/@std/path/1.1.4/dirname.d.ts +0 -22
  766. package/types/deps/jsr.io/@std/path/1.1.4/dirname.d.ts.map +0 -1
  767. package/types/deps/jsr.io/@std/path/1.1.4/extname.d.ts +0 -22
  768. package/types/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +0 -1
  769. package/types/deps/jsr.io/@std/path/1.1.4/format.d.ts +0 -22
  770. package/types/deps/jsr.io/@std/path/1.1.4/format.d.ts.map +0 -1
  771. package/types/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts +0 -22
  772. package/types/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts.map +0 -1
  773. package/types/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts +0 -77
  774. package/types/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts.map +0 -1
  775. package/types/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts +0 -22
  776. package/types/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts.map +0 -1
  777. package/types/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts +0 -17
  778. package/types/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts.map +0 -1
  779. package/types/deps/jsr.io/@std/path/1.1.4/join.d.ts +0 -23
  780. package/types/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +0 -1
  781. package/types/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts +0 -28
  782. package/types/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts.map +0 -1
  783. package/types/deps/jsr.io/@std/path/1.1.4/mod.d.ts +0 -213
  784. package/types/deps/jsr.io/@std/path/1.1.4/mod.d.ts.map +0 -1
  785. package/types/deps/jsr.io/@std/path/1.1.4/normalize.d.ts +0 -26
  786. package/types/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +0 -1
  787. package/types/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts +0 -29
  788. package/types/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts.map +0 -1
  789. package/types/deps/jsr.io/@std/path/1.1.4/parse.d.ts +0 -35
  790. package/types/deps/jsr.io/@std/path/1.1.4/parse.d.ts.map +0 -1
  791. package/types/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts +0 -2
  792. package/types/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +0 -1
  793. package/types/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts +0 -39
  794. package/types/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +0 -1
  795. package/types/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts +0 -13
  796. package/types/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts.map +0 -1
  797. package/types/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts +0 -30
  798. package/types/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts.map +0 -1
  799. package/types/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts +0 -37
  800. package/types/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +0 -1
  801. package/types/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts +0 -24
  802. package/types/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts.map +0 -1
  803. package/types/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts +0 -16
  804. package/types/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +0 -1
  805. package/types/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts +0 -72
  806. package/types/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts.map +0 -1
  807. package/types/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts +0 -17
  808. package/types/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts.map +0 -1
  809. package/types/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts +0 -31
  810. package/types/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +0 -1
  811. package/types/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts +0 -20
  812. package/types/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts.map +0 -1
  813. package/types/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts +0 -37
  814. package/types/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +0 -1
  815. package/types/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts +0 -20
  816. package/types/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts.map +0 -1
  817. package/types/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts +0 -25
  818. package/types/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts.map +0 -1
  819. package/types/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts +0 -20
  820. package/types/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts.map +0 -1
  821. package/types/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts +0 -17
  822. package/types/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts.map +0 -1
  823. package/types/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts +0 -17
  824. package/types/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts.map +0 -1
  825. package/types/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts +0 -16
  826. package/types/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts.map +0 -1
  827. package/types/deps/jsr.io/@std/path/1.1.4/relative.d.ts +0 -24
  828. package/types/deps/jsr.io/@std/path/1.1.4/relative.d.ts.map +0 -1
  829. package/types/deps/jsr.io/@std/path/1.1.4/resolve.d.ts +0 -22
  830. package/types/deps/jsr.io/@std/path/1.1.4/resolve.d.ts.map +0 -1
  831. package/types/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts +0 -22
  832. package/types/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts.map +0 -1
  833. package/types/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts +0 -21
  834. package/types/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts.map +0 -1
  835. package/types/deps/jsr.io/@std/path/1.1.4/types.d.ts +0 -38
  836. package/types/deps/jsr.io/@std/path/1.1.4/types.d.ts.map +0 -1
  837. package/types/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts +0 -4
  838. package/types/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +0 -1
  839. package/types/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts +0 -22
  840. package/types/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +0 -1
  841. package/types/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts +0 -13
  842. package/types/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts.map +0 -1
  843. package/types/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts +0 -17
  844. package/types/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts.map +0 -1
  845. package/types/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts +0 -17
  846. package/types/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +0 -1
  847. package/types/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts +0 -24
  848. package/types/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts.map +0 -1
  849. package/types/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts +0 -18
  850. package/types/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +0 -1
  851. package/types/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts +0 -71
  852. package/types/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts.map +0 -1
  853. package/types/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts +0 -17
  854. package/types/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts.map +0 -1
  855. package/types/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts +0 -18
  856. package/types/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +0 -1
  857. package/types/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts +0 -21
  858. package/types/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts.map +0 -1
  859. package/types/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts +0 -19
  860. package/types/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +0 -1
  861. package/types/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts +0 -20
  862. package/types/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts.map +0 -1
  863. package/types/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts +0 -25
  864. package/types/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts.map +0 -1
  865. package/types/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts +0 -23
  866. package/types/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts.map +0 -1
  867. package/types/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts +0 -17
  868. package/types/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts.map +0 -1
  869. package/types/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts +0 -17
  870. package/types/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts.map +0 -1
  871. package/types/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts +0 -17
  872. package/types/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts.map +0 -1
  873. package/types/deps/jsr.io/@std/text/1.0.0-rc.1/closest_string.d.ts +0 -29
  874. package/types/deps/jsr.io/@std/text/1.0.0-rc.1/closest_string.d.ts.map +0 -1
  875. package/types/deps/jsr.io/@std/text/1.0.0-rc.1/levenshtein_distance.d.ts +0 -18
  876. package/types/deps/jsr.io/@std/text/1.0.0-rc.1/levenshtein_distance.d.ts.map +0 -1
  877. package/types/deps/jsr.io/@std/yaml/1.0.12/_chars.d.ts +0 -33
  878. package/types/deps/jsr.io/@std/yaml/1.0.12/_chars.d.ts.map +0 -1
  879. package/types/deps/jsr.io/@std/yaml/1.0.12/_dumper_state.d.ts +0 -106
  880. package/types/deps/jsr.io/@std/yaml/1.0.12/_dumper_state.d.ts.map +0 -1
  881. package/types/deps/jsr.io/@std/yaml/1.0.12/_loader_state.d.ts +0 -64
  882. package/types/deps/jsr.io/@std/yaml/1.0.12/_loader_state.d.ts.map +0 -1
  883. package/types/deps/jsr.io/@std/yaml/1.0.12/_schema.d.ts +0 -44
  884. package/types/deps/jsr.io/@std/yaml/1.0.12/_schema.d.ts.map +0 -1
  885. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/binary.d.ts +0 -3
  886. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/binary.d.ts.map +0 -1
  887. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/bool.d.ts +0 -3
  888. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/bool.d.ts.map +0 -1
  889. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/float.d.ts +0 -3
  890. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/float.d.ts.map +0 -1
  891. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/int.d.ts +0 -3
  892. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/int.d.ts.map +0 -1
  893. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/map.d.ts +0 -3
  894. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/map.d.ts.map +0 -1
  895. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/merge.d.ts +0 -3
  896. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/merge.d.ts.map +0 -1
  897. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/nil.d.ts +0 -3
  898. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/nil.d.ts.map +0 -1
  899. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/omap.d.ts +0 -3
  900. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/omap.d.ts.map +0 -1
  901. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/pairs.d.ts +0 -3
  902. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/pairs.d.ts.map +0 -1
  903. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/regexp.d.ts +0 -3
  904. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/regexp.d.ts.map +0 -1
  905. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/seq.d.ts +0 -3
  906. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/seq.d.ts.map +0 -1
  907. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/set.d.ts +0 -3
  908. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/set.d.ts.map +0 -1
  909. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/str.d.ts +0 -3
  910. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/str.d.ts.map +0 -1
  911. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/timestamp.d.ts +0 -3
  912. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/timestamp.d.ts.map +0 -1
  913. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/undefined.d.ts +0 -3
  914. package/types/deps/jsr.io/@std/yaml/1.0.12/_type/undefined.d.ts.map +0 -1
  915. package/types/deps/jsr.io/@std/yaml/1.0.12/_type.d.ts +0 -32
  916. package/types/deps/jsr.io/@std/yaml/1.0.12/_type.d.ts.map +0 -1
  917. package/types/deps/jsr.io/@std/yaml/1.0.12/_utils.d.ts +0 -4
  918. package/types/deps/jsr.io/@std/yaml/1.0.12/_utils.d.ts.map +0 -1
  919. package/types/deps/jsr.io/@std/yaml/1.0.12/mod.d.ts +0 -50
  920. package/types/deps/jsr.io/@std/yaml/1.0.12/mod.d.ts.map +0 -1
  921. package/types/deps/jsr.io/@std/yaml/1.0.12/parse.d.ts +0 -76
  922. package/types/deps/jsr.io/@std/yaml/1.0.12/parse.d.ts.map +0 -1
  923. package/types/deps/jsr.io/@std/yaml/1.0.12/stringify.d.ts +0 -100
  924. package/types/deps/jsr.io/@std/yaml/1.0.12/stringify.d.ts.map +0 -1
  925. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/ansi_escapes.d.ts +0 -135
  926. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/ansi_escapes.d.ts.map +0 -1
  927. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/chain.d.ts +0 -137
  928. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/chain.d.ts.map +0 -1
  929. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/colors.d.ts +0 -39
  930. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/colors.d.ts.map +0 -1
  931. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.d.ts +0 -28
  932. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.d.ts.map +0 -1
  933. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.d.ts +0 -37
  934. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.d.ts.map +0 -1
  935. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_argument_types.d.ts +0 -157
  936. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_argument_types.d.ts.map +0 -1
  937. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_errors.d.ts +0 -77
  938. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_errors.d.ts.map +0 -1
  939. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_spread.d.ts +0 -16
  940. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_spread.d.ts.map +0 -1
  941. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_type_utils.d.ts +0 -9
  942. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_type_utils.d.ts.map +0 -1
  943. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_utils.d.ts +0 -37
  944. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_utils.d.ts.map +0 -1
  945. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.d.ts +0 -815
  946. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.d.ts.map +0 -1
  947. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_bash_completions_generator.d.ts +0 -19
  948. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_bash_completions_generator.d.ts.map +0 -1
  949. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_fish_completions_generator.d.ts +0 -16
  950. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_fish_completions_generator.d.ts.map +0 -1
  951. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_zsh_completions_generator.d.ts +0 -23
  952. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_zsh_completions_generator.d.ts.map +0 -1
  953. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/bash.d.ts +0 -9
  954. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/bash.d.ts.map +0 -1
  955. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/complete.d.ts +0 -9
  956. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/complete.d.ts.map +0 -1
  957. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/completions_command.d.ts +0 -9
  958. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/completions_command.d.ts.map +0 -1
  959. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/fish.d.ts +0 -9
  960. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/fish.d.ts.map +0 -1
  961. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/mod.d.ts +0 -5
  962. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/mod.d.ts.map +0 -1
  963. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/zsh.d.ts +0 -9
  964. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/zsh.d.ts.map +0 -1
  965. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/deprecated.d.ts +0 -46
  966. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/deprecated.d.ts.map +0 -1
  967. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/help/_help_generator.d.ts +0 -28
  968. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/help/_help_generator.d.ts.map +0 -1
  969. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.d.ts +0 -15
  970. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.d.ts.map +0 -1
  971. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/type.d.ts +0 -45
  972. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/type.d.ts.map +0 -1
  973. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/action_list.d.ts +0 -10
  974. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/action_list.d.ts.map +0 -1
  975. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/boolean.d.ts +0 -10
  976. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/boolean.d.ts.map +0 -1
  977. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/child_command.d.ts +0 -10
  978. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/child_command.d.ts.map +0 -1
  979. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/command.d.ts +0 -8
  980. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/command.d.ts.map +0 -1
  981. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/enum.d.ts +0 -11
  982. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/enum.d.ts.map +0 -1
  983. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/file.d.ts +0 -6
  984. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/file.d.ts.map +0 -1
  985. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/integer.d.ts +0 -8
  986. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/integer.d.ts.map +0 -1
  987. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/number.d.ts +0 -8
  988. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/number.d.ts.map +0 -1
  989. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/string.d.ts +0 -8
  990. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/string.d.ts.map +0 -1
  991. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types.d.ts +0 -119
  992. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types.d.ts.map +0 -1
  993. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/_check_version.d.ts +0 -4
  994. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/_check_version.d.ts.map +0 -1
  995. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/get_runtime.d.ts +0 -11
  996. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/get_runtime.d.ts.map +0 -1
  997. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/logger.d.ts +0 -13
  998. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/logger.d.ts.map +0 -1
  999. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/mod.d.ts +0 -3
  1000. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/mod.d.ts.map +0 -1
  1001. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider/npm.d.ts +0 -19
  1002. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider/npm.d.ts.map +0 -1
  1003. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider.d.ts +0 -66
  1004. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider.d.ts.map +0 -1
  1005. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/bun_runtime.d.ts +0 -6
  1006. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/bun_runtime.d.ts.map +0 -1
  1007. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/deno_runtime.d.ts +0 -14
  1008. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/deno_runtime.d.ts.map +0 -1
  1009. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/node_runtime.d.ts +0 -7
  1010. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/node_runtime.d.ts.map +0 -1
  1011. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime.d.ts +0 -12
  1012. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime.d.ts.map +0 -1
  1013. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/spinner.d.ts +0 -156
  1014. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/spinner.d.ts.map +0 -1
  1015. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade.d.ts +0 -27
  1016. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade.d.ts.map +0 -1
  1017. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade_command.d.ts +0 -52
  1018. package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade_command.d.ts.map +0 -1
  1019. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_errors.d.ts +0 -61
  1020. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_errors.d.ts.map +0 -1
  1021. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_utils.d.ts +0 -17
  1022. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_utils.d.ts.map +0 -1
  1023. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_validate_flags.d.ts +0 -11
  1024. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_validate_flags.d.ts.map +0 -1
  1025. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/deprecated.d.ts +0 -25
  1026. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/deprecated.d.ts.map +0 -1
  1027. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/flags.d.ts +0 -35
  1028. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/flags.d.ts.map +0 -1
  1029. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/mod.d.ts +0 -9
  1030. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/mod.d.ts.map +0 -1
  1031. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/boolean.d.ts +0 -4
  1032. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/boolean.d.ts.map +0 -1
  1033. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/integer.d.ts +0 -4
  1034. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/integer.d.ts.map +0 -1
  1035. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/number.d.ts +0 -4
  1036. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/number.d.ts.map +0 -1
  1037. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/string.d.ts +0 -4
  1038. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/string.d.ts.map +0 -1
  1039. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types.d.ts +0 -137
  1040. package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types.d.ts.map +0 -1
  1041. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/exit.d.ts +0 -8
  1042. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/exit.d.ts.map +0 -1
  1043. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_args.d.ts +0 -7
  1044. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_args.d.ts.map +0 -1
  1045. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_columns.d.ts +0 -2
  1046. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_columns.d.ts.map +0 -1
  1047. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_env.d.ts +0 -8
  1048. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_env.d.ts.map +0 -1
  1049. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_os.d.ts +0 -7
  1050. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_os.d.ts.map +0 -1
  1051. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/inspect.d.ts +0 -2
  1052. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/inspect.d.ts.map +0 -1
  1053. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_directory.d.ts +0 -8
  1054. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_directory.d.ts.map +0 -1
  1055. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_terminal.d.ts +0 -7
  1056. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_terminal.d.ts.map +0 -1
  1057. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/no_color.d.ts +0 -7
  1058. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/no_color.d.ts.map +0 -1
  1059. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read.d.ts +0 -8
  1060. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read.d.ts.map +0 -1
  1061. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_dir.d.ts +0 -4
  1062. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_dir.d.ts.map +0 -1
  1063. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_sync.d.ts +0 -8
  1064. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_sync.d.ts.map +0 -1
  1065. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/set_raw.d.ts +0 -11
  1066. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/set_raw.d.ts.map +0 -1
  1067. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/stat.d.ts +0 -4
  1068. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/stat.d.ts.map +0 -1
  1069. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/write_sync.d.ts +0 -8
  1070. package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/write_sync.d.ts.map +0 -1
  1071. package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/_key_codes.d.ts +0 -9
  1072. package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/_key_codes.d.ts.map +0 -1
  1073. package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/key_code.d.ts +0 -37
  1074. package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/key_code.d.ts.map +0 -1
  1075. package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/mod.d.ts +0 -2
  1076. package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/mod.d.ts.map +0 -1
  1077. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_figures.d.ts +0 -34
  1078. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_figures.d.ts.map +0 -1
  1079. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_input.d.ts +0 -49
  1080. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_input.d.ts.map +0 -1
  1081. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_list.d.ts +0 -190
  1082. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_list.d.ts.map +0 -1
  1083. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.d.ts +0 -142
  1084. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.d.ts.map +0 -1
  1085. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_suggestions.d.ts +0 -115
  1086. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_suggestions.d.ts.map +0 -1
  1087. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_utils.d.ts +0 -4
  1088. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_utils.d.ts.map +0 -1
  1089. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/confirm.d.ts +0 -66
  1090. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/confirm.d.ts.map +0 -1
  1091. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/input.d.ts +0 -64
  1092. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/input.d.ts.map +0 -1
  1093. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/secret.d.ts +0 -74
  1094. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/secret.d.ts.map +0 -1
  1095. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/select.d.ts +0 -142
  1096. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/select.d.ts.map +0 -1
  1097. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_layout.d.ts +0 -104
  1098. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_layout.d.ts.map +0 -1
  1099. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_utils.d.ts +0 -29
  1100. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_utils.d.ts.map +0 -1
  1101. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/border.d.ts +0 -23
  1102. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/border.d.ts.map +0 -1
  1103. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/cell.d.ts +0 -157
  1104. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/cell.d.ts.map +0 -1
  1105. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/column.d.ts +0 -62
  1106. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/column.d.ts.map +0 -1
  1107. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/consume_words.d.ts +0 -30
  1108. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/consume_words.d.ts.map +0 -1
  1109. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/mod.d.ts +0 -7
  1110. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/mod.d.ts.map +0 -1
  1111. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/row.d.ts +0 -71
  1112. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/row.d.ts.map +0 -1
  1113. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/table.d.ts +0 -192
  1114. package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/table.d.ts.map +0 -1
  1115. package/types/deps/jsr.io/@windmill-labs/shared-utils/1.0.12/lib.es.d.ts +0 -7
  1116. package/types/deps/jsr.io/@windmill-labs/shared-utils/1.0.12/lib.es.d.ts.map +0 -1
  1117. package/types/deps.d.ts +0 -35
  1118. package/types/deps.d.ts.map +0 -1
  1119. package/types/gen/core/ApiError.d.ts +0 -11
  1120. package/types/gen/core/ApiError.d.ts.map +0 -1
  1121. package/types/gen/core/ApiRequestOptions.d.ts +0 -15
  1122. package/types/gen/core/ApiRequestOptions.d.ts.map +0 -1
  1123. package/types/gen/core/ApiResult.d.ts +0 -8
  1124. package/types/gen/core/ApiResult.d.ts.map +0 -1
  1125. package/types/gen/core/CancelablePromise.d.ts +0 -27
  1126. package/types/gen/core/CancelablePromise.d.ts.map +0 -1
  1127. package/types/gen/core/OpenAPI.d.ts +0 -28
  1128. package/types/gen/core/OpenAPI.d.ts.map +0 -1
  1129. package/types/gen/core/request.d.ts +0 -30
  1130. package/types/gen/core/request.d.ts.map +0 -1
  1131. package/types/gen/index.d.ts +0 -6
  1132. package/types/gen/index.d.ts.map +0 -1
  1133. package/types/gen/services.gen.d.ts +0 -6251
  1134. package/types/gen/services.gen.d.ts.map +0 -1
  1135. package/types/gen/types.gen.d.ts +0 -11952
  1136. package/types/gen/types.gen.d.ts.map +0 -1
  1137. package/types/src/commands/app/app.d.ts +0 -28
  1138. package/types/src/commands/app/app.d.ts.map +0 -1
  1139. package/types/src/commands/app/app_metadata.d.ts +0 -38
  1140. package/types/src/commands/app/app_metadata.d.ts.map +0 -1
  1141. package/types/src/commands/app/bundle.d.ts +0 -70
  1142. package/types/src/commands/app/bundle.d.ts.map +0 -1
  1143. package/types/src/commands/app/dev.d.ts +0 -18
  1144. package/types/src/commands/app/dev.d.ts.map +0 -1
  1145. package/types/src/commands/app/generate_agents.d.ts +0 -15
  1146. package/types/src/commands/app/generate_agents.d.ts.map +0 -1
  1147. package/types/src/commands/app/lint.d.ts +0 -12
  1148. package/types/src/commands/app/lint.d.ts.map +0 -1
  1149. package/types/src/commands/app/metadata.d.ts +0 -19
  1150. package/types/src/commands/app/metadata.d.ts.map +0 -1
  1151. package/types/src/commands/app/new.d.ts +0 -10
  1152. package/types/src/commands/app/new.d.ts.map +0 -1
  1153. package/types/src/commands/app/raw_apps.d.ts +0 -44
  1154. package/types/src/commands/app/raw_apps.d.ts.map +0 -1
  1155. package/types/src/commands/app/wmillTsDev.d.ts +0 -2
  1156. package/types/src/commands/app/wmillTsDev.d.ts.map +0 -1
  1157. package/types/src/commands/dependencies/dependencies.d.ts +0 -11
  1158. package/types/src/commands/dependencies/dependencies.d.ts.map +0 -1
  1159. package/types/src/commands/dev/dev.d.ts +0 -12
  1160. package/types/src/commands/dev/dev.d.ts.map +0 -1
  1161. package/types/src/commands/flow/flow.d.ts +0 -28
  1162. package/types/src/commands/flow/flow.d.ts.map +0 -1
  1163. package/types/src/commands/flow/flow_metadata.d.ts +0 -8
  1164. package/types/src/commands/flow/flow_metadata.d.ts.map +0 -1
  1165. package/types/src/commands/folder/folder.d.ts +0 -19
  1166. package/types/src/commands/folder/folder.d.ts.map +0 -1
  1167. package/types/src/commands/gitsync-settings/converter.d.ts +0 -10
  1168. package/types/src/commands/gitsync-settings/converter.d.ts.map +0 -1
  1169. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts +0 -25
  1170. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts.map +0 -1
  1171. package/types/src/commands/gitsync-settings/legacySettings.d.ts +0 -4
  1172. package/types/src/commands/gitsync-settings/legacySettings.d.ts.map +0 -1
  1173. package/types/src/commands/gitsync-settings/pull.d.ts +0 -14
  1174. package/types/src/commands/gitsync-settings/pull.d.ts.map +0 -1
  1175. package/types/src/commands/gitsync-settings/push.d.ts +0 -10
  1176. package/types/src/commands/gitsync-settings/push.d.ts.map +0 -1
  1177. package/types/src/commands/gitsync-settings/types.d.ts +0 -35
  1178. package/types/src/commands/gitsync-settings/types.d.ts.map +0 -1
  1179. package/types/src/commands/gitsync-settings/utils.d.ts +0 -36
  1180. package/types/src/commands/gitsync-settings/utils.d.ts.map +0 -1
  1181. package/types/src/commands/hub/hub.d.ts +0 -12
  1182. package/types/src/commands/hub/hub.d.ts.map +0 -1
  1183. package/types/src/commands/init/init.d.ts +0 -34
  1184. package/types/src/commands/init/init.d.ts.map +0 -1
  1185. package/types/src/commands/instance/instance.d.ts +0 -50
  1186. package/types/src/commands/instance/instance.d.ts.map +0 -1
  1187. package/types/src/commands/jobs/jobs.d.ts +0 -28
  1188. package/types/src/commands/jobs/jobs.d.ts.map +0 -1
  1189. package/types/src/commands/lint/lint.d.ts +0 -62
  1190. package/types/src/commands/lint/lint.d.ts.map +0 -1
  1191. package/types/src/commands/queues/queues.d.ts +0 -14
  1192. package/types/src/commands/queues/queues.d.ts.map +0 -1
  1193. package/types/src/commands/resource/resource.d.ts +0 -18
  1194. package/types/src/commands/resource/resource.d.ts.map +0 -1
  1195. package/types/src/commands/resource-type/resource-type.d.ts +0 -18
  1196. package/types/src/commands/resource-type/resource-type.d.ts.map +0 -1
  1197. package/types/src/commands/schedule/schedule.d.ts +0 -21
  1198. package/types/src/commands/schedule/schedule.d.ts.map +0 -1
  1199. package/types/src/commands/script/script.d.ts +0 -72
  1200. package/types/src/commands/script/script.d.ts.map +0 -1
  1201. package/types/src/commands/sync/global.d.ts +0 -3
  1202. package/types/src/commands/sync/global.d.ts.map +0 -1
  1203. package/types/src/commands/sync/pull.d.ts +0 -12
  1204. package/types/src/commands/sync/pull.d.ts.map +0 -1
  1205. package/types/src/commands/sync/sync.d.ts +0 -164
  1206. package/types/src/commands/sync/sync.d.ts.map +0 -1
  1207. package/types/src/commands/trigger/trigger.d.ts +0 -27
  1208. package/types/src/commands/trigger/trigger.d.ts.map +0 -1
  1209. package/types/src/commands/user/user.d.ts +0 -34
  1210. package/types/src/commands/user/user.d.ts.map +0 -1
  1211. package/types/src/commands/variable/variable.d.ts +0 -23
  1212. package/types/src/commands/variable/variable.d.ts.map +0 -1
  1213. package/types/src/commands/worker-groups/worker-groups.d.ts +0 -23
  1214. package/types/src/commands/worker-groups/worker-groups.d.ts.map +0 -1
  1215. package/types/src/commands/workers/workers.d.ts +0 -14
  1216. package/types/src/commands/workers/workers.d.ts.map +0 -1
  1217. package/types/src/commands/workspace/fork.d.ts +0 -9
  1218. package/types/src/commands/workspace/fork.d.ts.map +0 -1
  1219. package/types/src/commands/workspace/workspace.d.ts +0 -32
  1220. package/types/src/commands/workspace/workspace.d.ts.map +0 -1
  1221. package/types/src/core/auth.d.ts +0 -8
  1222. package/types/src/core/auth.d.ts.map +0 -1
  1223. package/types/src/core/branch-profiles.d.ts +0 -12
  1224. package/types/src/core/branch-profiles.d.ts.map +0 -1
  1225. package/types/src/core/conf.d.ts +0 -116
  1226. package/types/src/core/conf.d.ts.map +0 -1
  1227. package/types/src/core/constants.d.ts +0 -6
  1228. package/types/src/core/constants.d.ts.map +0 -1
  1229. package/types/src/core/context.d.ts +0 -14
  1230. package/types/src/core/context.d.ts.map +0 -1
  1231. package/types/src/core/login.d.ts +0 -5
  1232. package/types/src/core/login.d.ts.map +0 -1
  1233. package/types/src/core/settings.d.ts +0 -46
  1234. package/types/src/core/settings.d.ts.map +0 -1
  1235. package/types/src/core/specific_items.d.ts +0 -45
  1236. package/types/src/core/specific_items.d.ts.map +0 -1
  1237. package/types/src/core/store.d.ts +0 -2
  1238. package/types/src/core/store.d.ts.map +0 -1
  1239. package/types/src/guidance/core.d.ts +0 -13
  1240. package/types/src/guidance/core.d.ts.map +0 -1
  1241. package/types/src/guidance/skills.d.ts +0 -15
  1242. package/types/src/guidance/skills.d.ts.map +0 -1
  1243. package/types/src/main.d.ts +0 -76
  1244. package/types/src/main.d.ts.map +0 -1
  1245. package/types/src/types.d.ts +0 -58
  1246. package/types/src/types.d.ts.map +0 -1
  1247. package/types/src/utils/codebase.d.ts +0 -6
  1248. package/types/src/utils/codebase.d.ts.map +0 -1
  1249. package/types/src/utils/git.d.ts +0 -5
  1250. package/types/src/utils/git.d.ts.map +0 -1
  1251. package/types/src/utils/local_encryption.d.ts +0 -3
  1252. package/types/src/utils/local_encryption.d.ts.map +0 -1
  1253. package/types/src/utils/metadata.d.ts +0 -84
  1254. package/types/src/utils/metadata.d.ts.map +0 -1
  1255. package/types/src/utils/resource_folders.d.ts +0 -169
  1256. package/types/src/utils/resource_folders.d.ts.map +0 -1
  1257. package/types/src/utils/resource_types.d.ts +0 -3
  1258. package/types/src/utils/resource_types.d.ts.map +0 -1
  1259. package/types/src/utils/script_common.d.ts +0 -22
  1260. package/types/src/utils/script_common.d.ts.map +0 -1
  1261. package/types/src/utils/upgrade.d.ts +0 -21
  1262. package/types/src/utils/upgrade.d.ts.map +0 -1
  1263. package/types/src/utils/utils.d.ts +0 -34
  1264. package/types/src/utils/utils.d.ts.map +0 -1
  1265. package/types/wasm/csharp/windmill_parser_wasm.d.ts +0 -7
  1266. package/types/wasm/csharp/windmill_parser_wasm.d.ts.map +0 -1
  1267. package/types/wasm/go/windmill_parser_wasm.d.ts +0 -7
  1268. package/types/wasm/go/windmill_parser_wasm.d.ts.map +0 -1
  1269. package/types/wasm/java/windmill_parser_wasm.d.ts +0 -7
  1270. package/types/wasm/java/windmill_parser_wasm.d.ts.map +0 -1
  1271. package/types/wasm/nu/windmill_parser_wasm.d.ts +0 -7
  1272. package/types/wasm/nu/windmill_parser_wasm.d.ts.map +0 -1
  1273. package/types/wasm/php/windmill_parser_wasm.d.ts +0 -8
  1274. package/types/wasm/php/windmill_parser_wasm.d.ts.map +0 -1
  1275. package/types/wasm/py/windmill_parser_wasm.d.ts +0 -13
  1276. package/types/wasm/py/windmill_parser_wasm.d.ts.map +0 -1
  1277. package/types/wasm/regex/windmill_parser_wasm.d.ts +0 -62
  1278. package/types/wasm/regex/windmill_parser_wasm.d.ts.map +0 -1
  1279. package/types/wasm/ruby/windmill_parser_wasm.d.ts +0 -7
  1280. package/types/wasm/ruby/windmill_parser_wasm.d.ts.map +0 -1
  1281. package/types/wasm/rust/windmill_parser_wasm.d.ts +0 -8
  1282. package/types/wasm/rust/windmill_parser_wasm.d.ts.map +0 -1
  1283. package/types/wasm/ts/windmill_parser_wasm.d.ts +0 -23
  1284. package/types/wasm/ts/windmill_parser_wasm.d.ts.map +0 -1
  1285. package/types/wasm/yaml/windmill_parser_wasm.d.ts +0 -7
  1286. package/types/wasm/yaml/windmill_parser_wasm.d.ts.map +0 -1
  1287. package/types/windmill-utils-internal/src/config/config.d.ts +0 -12
  1288. package/types/windmill-utils-internal/src/config/config.d.ts.map +0 -1
  1289. package/types/windmill-utils-internal/src/gen/types.gen.d.ts +0 -11952
  1290. package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +0 -1
  1291. package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts +0 -44
  1292. package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts.map +0 -1
  1293. package/types/windmill-utils-internal/src/inline-scripts/replacer.d.ts +0 -17
  1294. package/types/windmill-utils-internal/src/inline-scripts/replacer.d.ts.map +0 -1
  1295. package/types/windmill-utils-internal/src/parse/parse-schema.d.ts +0 -99
  1296. package/types/windmill-utils-internal/src/parse/parse-schema.d.ts.map +0 -1
  1297. package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts +0 -59
  1298. package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts.map +0 -1
@@ -1,1789 +0,0 @@
1
- // deno-lint-ignore-file no-explicit-any
2
- import * as dntShim from "../../../../../_dnt.shims.js";
3
- import { parseFlags, UnknownTypeError, ValidationError as FlagsValidationError, } from "../../cliffy-flags/1.0.0-rc.5/mod.js";
4
- import { bold, brightBlue, red } from "../../../@std/fmt/0.225.6/colors.js";
5
- import { CommandNotFoundError, DefaultCommandNotFoundError, DuplicateCommandAliasError, DuplicateCommandNameError, DuplicateCompletionError, DuplicateEnvVarError, DuplicateExampleError, DuplicateOptionNameError, DuplicateTypeError, MissingArgumentError, MissingArgumentsError, MissingCommandNameError, MissingRequiredEnvVarError, NoArgumentsAllowedError, TooManyArgumentsError, TooManyEnvVarValuesError, UnexpectedOptionalEnvVarValueError, UnexpectedVariadicEnvVarValueError, UnknownCommandError, ValidationError, } from "./_errors.js";
6
- import { exit } from "../../cliffy-internal/1.0.0-rc.5/runtime/exit.js";
7
- import { getArgs } from "../../cliffy-internal/1.0.0-rc.5/runtime/get_args.js";
8
- import { getEnv } from "../../cliffy-internal/1.0.0-rc.5/runtime/get_env.js";
9
- import { getDescription, parseArgumentsDefinition, splitArguments, underscoreToCamelCase, } from "./_utils.js";
10
- import { HelpGenerator } from "./help/_help_generator.js";
11
- import { Type } from "./type.js";
12
- import { BooleanType } from "./types/boolean.js";
13
- import { FileType } from "./types/file.js";
14
- import { IntegerType } from "./types/integer.js";
15
- import { NumberType } from "./types/number.js";
16
- import { StringType } from "./types/string.js";
17
- import { checkVersion } from "./upgrade/_check_version.js";
18
- /**
19
- * Chainable command factory class.
20
- *
21
- * ```ts
22
- * import { Command } from "./mod.ts";
23
- *
24
- * export const cli = new Command()
25
- * .name("todo")
26
- * .description("Example command description")
27
- * .globalOption("--verbose", "Enable verbose output.")
28
- * .globalEnv("VERBOSE=<value>", "Enable verbose output.")
29
- * .command("add <todo>", "Add todo.")
30
- * .action(({ verbose }, todo: string) => {
31
- * if (verbose) {
32
- * console.log("Add todo '%s'.", todo);
33
- * }
34
- * })
35
- * .command("delete <id>", "Delete todo.")
36
- * .action(({ verbose }, id: string) => {
37
- * if (verbose) {
38
- * console.log("Delete todo with id '%s'.", id);
39
- * }
40
- * });
41
- *
42
- * if (import.meta.main) {
43
- * await cli.parse();
44
- * }
45
- * ```
46
- */
47
- export class Command {
48
- constructor() {
49
- Object.defineProperty(this, "types", {
50
- enumerable: true,
51
- configurable: true,
52
- writable: true,
53
- value: new Map()
54
- });
55
- Object.defineProperty(this, "rawArgs", {
56
- enumerable: true,
57
- configurable: true,
58
- writable: true,
59
- value: []
60
- });
61
- Object.defineProperty(this, "literalArgs", {
62
- enumerable: true,
63
- configurable: true,
64
- writable: true,
65
- value: []
66
- });
67
- Object.defineProperty(this, "_name", {
68
- enumerable: true,
69
- configurable: true,
70
- writable: true,
71
- value: "COMMAND"
72
- });
73
- Object.defineProperty(this, "_parent", {
74
- enumerable: true,
75
- configurable: true,
76
- writable: true,
77
- value: void 0
78
- });
79
- Object.defineProperty(this, "_globalParent", {
80
- enumerable: true,
81
- configurable: true,
82
- writable: true,
83
- value: void 0
84
- });
85
- Object.defineProperty(this, "ver", {
86
- enumerable: true,
87
- configurable: true,
88
- writable: true,
89
- value: void 0
90
- });
91
- Object.defineProperty(this, "desc", {
92
- enumerable: true,
93
- configurable: true,
94
- writable: true,
95
- value: ""
96
- });
97
- Object.defineProperty(this, "_usage", {
98
- enumerable: true,
99
- configurable: true,
100
- writable: true,
101
- value: void 0
102
- });
103
- Object.defineProperty(this, "actionHandler", {
104
- enumerable: true,
105
- configurable: true,
106
- writable: true,
107
- value: void 0
108
- });
109
- Object.defineProperty(this, "globalActionHandler", {
110
- enumerable: true,
111
- configurable: true,
112
- writable: true,
113
- value: void 0
114
- });
115
- Object.defineProperty(this, "options", {
116
- enumerable: true,
117
- configurable: true,
118
- writable: true,
119
- value: []
120
- });
121
- Object.defineProperty(this, "commands", {
122
- enumerable: true,
123
- configurable: true,
124
- writable: true,
125
- value: new Map()
126
- });
127
- Object.defineProperty(this, "examples", {
128
- enumerable: true,
129
- configurable: true,
130
- writable: true,
131
- value: []
132
- });
133
- Object.defineProperty(this, "envVars", {
134
- enumerable: true,
135
- configurable: true,
136
- writable: true,
137
- value: []
138
- });
139
- Object.defineProperty(this, "aliases", {
140
- enumerable: true,
141
- configurable: true,
142
- writable: true,
143
- value: []
144
- });
145
- Object.defineProperty(this, "completions", {
146
- enumerable: true,
147
- configurable: true,
148
- writable: true,
149
- value: new Map()
150
- });
151
- Object.defineProperty(this, "cmd", {
152
- enumerable: true,
153
- configurable: true,
154
- writable: true,
155
- value: this
156
- });
157
- Object.defineProperty(this, "argsDefinition", {
158
- enumerable: true,
159
- configurable: true,
160
- writable: true,
161
- value: void 0
162
- });
163
- Object.defineProperty(this, "throwOnError", {
164
- enumerable: true,
165
- configurable: true,
166
- writable: true,
167
- value: false
168
- });
169
- Object.defineProperty(this, "_allowEmpty", {
170
- enumerable: true,
171
- configurable: true,
172
- writable: true,
173
- value: false
174
- });
175
- Object.defineProperty(this, "_stopEarly", {
176
- enumerable: true,
177
- configurable: true,
178
- writable: true,
179
- value: false
180
- });
181
- Object.defineProperty(this, "defaultCommand", {
182
- enumerable: true,
183
- configurable: true,
184
- writable: true,
185
- value: void 0
186
- });
187
- Object.defineProperty(this, "_useRawArgs", {
188
- enumerable: true,
189
- configurable: true,
190
- writable: true,
191
- value: false
192
- });
193
- Object.defineProperty(this, "args", {
194
- enumerable: true,
195
- configurable: true,
196
- writable: true,
197
- value: []
198
- });
199
- Object.defineProperty(this, "isHidden", {
200
- enumerable: true,
201
- configurable: true,
202
- writable: true,
203
- value: false
204
- });
205
- Object.defineProperty(this, "isGlobal", {
206
- enumerable: true,
207
- configurable: true,
208
- writable: true,
209
- value: false
210
- });
211
- Object.defineProperty(this, "hasDefaults", {
212
- enumerable: true,
213
- configurable: true,
214
- writable: true,
215
- value: false
216
- });
217
- Object.defineProperty(this, "_versionOptions", {
218
- enumerable: true,
219
- configurable: true,
220
- writable: true,
221
- value: void 0
222
- });
223
- Object.defineProperty(this, "_helpOptions", {
224
- enumerable: true,
225
- configurable: true,
226
- writable: true,
227
- value: void 0
228
- });
229
- Object.defineProperty(this, "_versionOption", {
230
- enumerable: true,
231
- configurable: true,
232
- writable: true,
233
- value: void 0
234
- });
235
- Object.defineProperty(this, "_helpOption", {
236
- enumerable: true,
237
- configurable: true,
238
- writable: true,
239
- value: void 0
240
- });
241
- Object.defineProperty(this, "_help", {
242
- enumerable: true,
243
- configurable: true,
244
- writable: true,
245
- value: void 0
246
- });
247
- Object.defineProperty(this, "_shouldExit", {
248
- enumerable: true,
249
- configurable: true,
250
- writable: true,
251
- value: void 0
252
- });
253
- Object.defineProperty(this, "_meta", {
254
- enumerable: true,
255
- configurable: true,
256
- writable: true,
257
- value: {}
258
- });
259
- Object.defineProperty(this, "_groupName", {
260
- enumerable: true,
261
- configurable: true,
262
- writable: true,
263
- value: null
264
- });
265
- Object.defineProperty(this, "_noGlobals", {
266
- enumerable: true,
267
- configurable: true,
268
- writable: true,
269
- value: false
270
- });
271
- Object.defineProperty(this, "errorHandler", {
272
- enumerable: true,
273
- configurable: true,
274
- writable: true,
275
- value: void 0
276
- });
277
- }
278
- versionOption(flags, desc, opts) {
279
- this._versionOptions = flags === false ? flags : {
280
- flags,
281
- desc,
282
- opts: typeof opts === "function" ? { action: opts } : opts,
283
- };
284
- return this;
285
- }
286
- helpOption(flags, desc, opts) {
287
- this._helpOptions = flags === false ? flags : {
288
- flags,
289
- desc,
290
- opts: typeof opts === "function" ? { action: opts } : opts,
291
- };
292
- return this;
293
- }
294
- /**
295
- * Add new sub-command.
296
- * @param nameAndArguments Command definition. E.g: `my-command <input-file:string> <output-file:string>`
297
- * @param cmdOrDescription The description of the new child command.
298
- * @param override Override existing child command.
299
- */
300
- command(nameAndArguments, cmdOrDescription, override) {
301
- this.reset();
302
- const result = splitArguments(nameAndArguments);
303
- const name = result.flags.shift();
304
- const aliases = result.flags;
305
- if (!name) {
306
- throw new MissingCommandNameError();
307
- }
308
- if (this.getBaseCommand(name, true)) {
309
- if (!override) {
310
- throw new DuplicateCommandNameError(name);
311
- }
312
- this.removeCommand(name);
313
- }
314
- let description;
315
- let cmd;
316
- if (typeof cmdOrDescription === "string") {
317
- description = cmdOrDescription;
318
- }
319
- if (cmdOrDescription instanceof Command) {
320
- cmd = cmdOrDescription.reset();
321
- }
322
- else {
323
- cmd = new Command();
324
- }
325
- cmd._name = name;
326
- cmd._parent = this;
327
- if (description) {
328
- cmd.description(description);
329
- }
330
- if (result.typeDefinition) {
331
- cmd.arguments(result.typeDefinition);
332
- }
333
- aliases.forEach((alias) => cmd.alias(alias));
334
- this.commands.set(name, cmd);
335
- this.select(name);
336
- return this;
337
- }
338
- /**
339
- * Add new command alias.
340
- *
341
- * @param alias Tha name of the alias.
342
- */
343
- alias(alias) {
344
- if (this.cmd._name === alias || this.cmd.aliases.includes(alias)) {
345
- throw new DuplicateCommandAliasError(alias);
346
- }
347
- this.cmd.aliases.push(alias);
348
- return this;
349
- }
350
- /** Reset internal command reference to main command. */
351
- reset() {
352
- this._groupName = null;
353
- this.cmd = this;
354
- return this;
355
- }
356
- /**
357
- * Set internal command pointer to child command with given name.
358
- * @param name The name of the command to select.
359
- */
360
- select(name) {
361
- const cmd = this.getBaseCommand(name, true);
362
- if (!cmd) {
363
- throw new CommandNotFoundError(name, this.getBaseCommands(true));
364
- }
365
- this.cmd = cmd;
366
- return this;
367
- }
368
- /*****************************************************************************
369
- **** SUB HANDLER ************************************************************
370
- *****************************************************************************/
371
- /** Set command name. Used in auto generated help and shell completions */
372
- name(name) {
373
- this.cmd._name = name;
374
- return this;
375
- }
376
- /**
377
- * Set command version.
378
- *
379
- * @param version Semantic version string string or method that returns the version string.
380
- */
381
- version(version) {
382
- if (typeof version === "string") {
383
- this.cmd.ver = () => version;
384
- }
385
- else if (typeof version === "function") {
386
- this.cmd.ver = version;
387
- }
388
- return this;
389
- }
390
- /**
391
- * Add meta data. Will be displayed in the auto generated help and in the
392
- * output of the long version.
393
- *
394
- * @param name The name/label of the metadata.
395
- * @param value The value of the metadata.
396
- */
397
- meta(name, value) {
398
- this.cmd._meta[name] = value;
399
- return this;
400
- }
401
- getMeta(name) {
402
- return typeof name === "undefined" ? this._meta : this._meta[name];
403
- }
404
- /**
405
- * Set command help.
406
- *
407
- * @param help Help string, method, or config for generator that returns the help string.
408
- */
409
- help(help) {
410
- if (typeof help === "string") {
411
- this.cmd._help = () => help;
412
- }
413
- else if (typeof help === "function") {
414
- this.cmd._help = help;
415
- }
416
- else {
417
- this.cmd._help = (cmd, options) => HelpGenerator.generate(cmd, { ...help, ...options });
418
- }
419
- return this;
420
- }
421
- /**
422
- * Set the long command description.
423
- *
424
- * @param description The command description.
425
- */
426
- description(description) {
427
- this.cmd.desc = description;
428
- return this;
429
- }
430
- /**
431
- * Set the command usage. Defaults to arguments.
432
- *
433
- * @param usage The command usage.
434
- */
435
- usage(usage) {
436
- this.cmd._usage = usage;
437
- return this;
438
- }
439
- /** Hide command from help, completions, etc. */
440
- hidden() {
441
- this.cmd.isHidden = true;
442
- return this;
443
- }
444
- /** Make command globally available. */
445
- global() {
446
- this.cmd.isGlobal = true;
447
- return this;
448
- }
449
- /**
450
- * Set command arguments.
451
- *
452
- * Syntax: `<requiredArg:string> [optionalArg: number] [...restArgs:string]`
453
- */
454
- arguments(args) {
455
- this.cmd.argsDefinition = args;
456
- return this;
457
- }
458
- /**
459
- * Set command callback method.
460
- *
461
- * @param fn Command action handler.
462
- */
463
- action(fn) {
464
- this.cmd.actionHandler = fn;
465
- return this;
466
- }
467
- /**
468
- * Set command callback method.
469
- *
470
- * @param fn Command action handler.
471
- */
472
- globalAction(fn) {
473
- this.cmd.globalActionHandler = fn;
474
- return this;
475
- }
476
- /**
477
- * Don't throw an error if the command was called without arguments.
478
- *
479
- * @param allowEmpty Enable/disable allow empty.
480
- */
481
- allowEmpty(allowEmpty) {
482
- this.cmd._allowEmpty = allowEmpty !== false;
483
- return this;
484
- }
485
- /**
486
- * Enable stop early. If enabled, all arguments starting from the first non
487
- * option argument will be passed as arguments with type string to the command
488
- * action handler.
489
- *
490
- * For example:
491
- * `command --debug-level warning server --port 80`
492
- *
493
- * Will result in:
494
- * - options: `{ debugLevel: 'warning' }`
495
- * - args: `['server', '--port', '80']`
496
- *
497
- * @param stopEarly Enable/disable stop early.
498
- */
499
- stopEarly(stopEarly = true) {
500
- this.cmd._stopEarly = stopEarly;
501
- return this;
502
- }
503
- /**
504
- * Disable parsing arguments. If enabled the raw arguments will be passed to
505
- * the action handler. This has no effect for parent or child commands. Only
506
- * for the command on which this method was called.
507
- *
508
- * @param useRawArgs Enable/disable raw arguments.
509
- */
510
- useRawArgs(useRawArgs = true) {
511
- this.cmd._useRawArgs = useRawArgs;
512
- return this;
513
- }
514
- /**
515
- * Set default command. The default command is executed when the program
516
- * was called without any argument and if no action handler is registered.
517
- *
518
- * @param name Name of the default command.
519
- */
520
- default(name) {
521
- this.cmd.defaultCommand = name;
522
- return this;
523
- }
524
- globalType(name, handler, options) {
525
- return this.type(name, handler, { ...options, global: true });
526
- }
527
- /**
528
- * Register custom type.
529
- *
530
- * @param name The name of the type.
531
- * @param handler The callback method to parse the type.
532
- * @param options Type options.
533
- */
534
- type(name, handler, options) {
535
- if (this.cmd.types.get(name) && !options?.override) {
536
- throw new DuplicateTypeError(name);
537
- }
538
- this.cmd.types.set(name, {
539
- ...options,
540
- name,
541
- handler: handler,
542
- });
543
- if (handler instanceof Type &&
544
- (typeof handler.complete !== "undefined" ||
545
- typeof handler.values !== "undefined")) {
546
- const completeHandler = (cmd, parent) => handler.complete?.(cmd, parent) || [];
547
- this.complete(name, completeHandler, options);
548
- }
549
- return this;
550
- }
551
- /**
552
- * Register global complete handler.
553
- *
554
- * @param name The name of the completion.
555
- * @param complete The callback method to complete the type.
556
- * @param options Complete options.
557
- */
558
- globalComplete(name, complete, options) {
559
- return this.complete(name, complete, { ...options, global: true });
560
- }
561
- complete(name, complete, options) {
562
- if (this.cmd.completions.has(name) && !options?.override) {
563
- throw new DuplicateCompletionError(name);
564
- }
565
- this.cmd.completions.set(name, {
566
- name,
567
- complete,
568
- ...options,
569
- });
570
- return this;
571
- }
572
- /**
573
- * Throw validation errors instead of calling `exit()` to handle
574
- * validation errors manually.
575
- *
576
- * A validation error is thrown when the command is wrongly used by the user.
577
- * For example: If the user passes some invalid options or arguments to the
578
- * command.
579
- *
580
- * This has no effect for parent commands. Only for the command on which this
581
- * method was called and all child commands.
582
- *
583
- * **Example:**
584
- *
585
- * ```ts
586
- * import { Command, ValidationError } from "./mod.ts";
587
- *
588
- * const cmd = new Command();
589
- * // ...
590
- *
591
- * try {
592
- * cmd.parse();
593
- * } catch(error) {
594
- * if (error instanceof ValidationError) {
595
- * cmd.showHelp();
596
- * Deno.exit(1);
597
- * }
598
- * throw error;
599
- * }
600
- * ```
601
- *
602
- * @see ValidationError
603
- */
604
- throwErrors() {
605
- this.cmd.throwOnError = true;
606
- return this;
607
- }
608
- /**
609
- * Set custom error handler.
610
- *
611
- * @param handler Error handler callback function.
612
- */
613
- error(handler) {
614
- this.cmd.errorHandler = handler;
615
- return this;
616
- }
617
- /** Get error handler callback function. */
618
- getErrorHandler() {
619
- return this.errorHandler ?? this._parent?.errorHandler;
620
- }
621
- /**
622
- * Same as `.throwErrors()` but also prevents calling `exit()` after
623
- * printing help or version with the --help and --version option.
624
- */
625
- noExit() {
626
- this.cmd._shouldExit = false;
627
- this.throwErrors();
628
- return this;
629
- }
630
- /**
631
- * Disable inheriting global commands, options and environment variables from
632
- * parent commands.
633
- */
634
- noGlobals() {
635
- this.cmd._noGlobals = true;
636
- return this;
637
- }
638
- /** Check whether the command should throw errors or exit. */
639
- shouldThrowErrors() {
640
- return this.throwOnError || !!this._parent?.shouldThrowErrors();
641
- }
642
- /** Check whether the command should exit after printing help or version. */
643
- shouldExit() {
644
- return this._shouldExit ?? this._parent?.shouldExit() ?? true;
645
- }
646
- /**
647
- * Enable grouping of options and set the name of the group.
648
- * All option which are added after calling the `.group()` method will be
649
- * grouped in the help output. If the `.group()` method can be use multiple
650
- * times to create more groups.
651
- *
652
- * @param name The name of the option group.
653
- */
654
- group(name) {
655
- this.cmd._groupName = name;
656
- return this;
657
- }
658
- /**
659
- * Register a global option.
660
- *
661
- * @param flags Flags string e.g: -h, --help, --manual <requiredArg:string> [optionalArg:number] [...restArgs:string]
662
- * @param desc Flag description.
663
- * @param opts Flag options or custom handler for processing flag value.
664
- */
665
- globalOption(flags, desc, opts) {
666
- if (typeof opts === "function") {
667
- return this.option(flags, desc, { value: opts, global: true });
668
- }
669
- return this.option(flags, desc, { ...opts, global: true });
670
- }
671
- option(flags, desc, opts) {
672
- if (typeof opts === "function") {
673
- opts = { value: opts };
674
- }
675
- const result = splitArguments(flags);
676
- const args = result.typeDefinition
677
- ? parseArgumentsDefinition(result.typeDefinition)
678
- : [];
679
- const option = {
680
- ...opts,
681
- name: "",
682
- description: desc,
683
- args,
684
- flags: result.flags,
685
- equalsSign: result.equalsSign,
686
- typeDefinition: result.typeDefinition,
687
- groupName: this._groupName ?? undefined,
688
- };
689
- if (option.separator) {
690
- for (const arg of args) {
691
- if (arg.list) {
692
- arg.separator = option.separator;
693
- }
694
- }
695
- }
696
- for (const part of option.flags) {
697
- const arg = part.trim();
698
- const isLong = /^--/.test(arg);
699
- const name = isLong ? arg.slice(2) : arg.slice(1);
700
- if (this.cmd.getBaseOption(name, true)) {
701
- if (opts?.override) {
702
- this.removeOption(name);
703
- }
704
- else {
705
- throw new DuplicateOptionNameError(name, this.getPath());
706
- }
707
- }
708
- if (!option.name && isLong) {
709
- option.name = name;
710
- }
711
- else if (!option.aliases) {
712
- option.aliases = [name];
713
- }
714
- else {
715
- option.aliases.push(name);
716
- }
717
- }
718
- if (option.prepend) {
719
- this.cmd.options.unshift(option);
720
- }
721
- else {
722
- this.cmd.options.push(option);
723
- }
724
- return this;
725
- }
726
- /**
727
- * Register command example.
728
- *
729
- * @param name Name of the example.
730
- * @param description The content of the example.
731
- */
732
- example(name, description) {
733
- if (this.cmd.hasExample(name)) {
734
- throw new DuplicateExampleError(name);
735
- }
736
- this.cmd.examples.push({ name, description });
737
- return this;
738
- }
739
- /**
740
- * @param flags Flags string e.g: -h, --help, --manual <requiredArg:string> [optionalArg:number] [...restArgs:string]
741
- * @param desc Flag description.
742
- * @param opts Flag options or custom handler for processing flag value.
743
- */
744
- /**
745
- * Register a global environment variable.
746
- *
747
- * @param name Name of the environment variable.
748
- * @param description The description of the environment variable.
749
- * @param options Environment variable options.
750
- */
751
- globalEnv(name, description, options) {
752
- return this.env(name, description, { ...options, global: true });
753
- }
754
- env(name, description, options) {
755
- const result = splitArguments(name);
756
- if (!result.typeDefinition) {
757
- result.typeDefinition = "<value:boolean>";
758
- }
759
- if (result.flags.some((envName) => this.cmd.getBaseEnvVar(envName, true))) {
760
- throw new DuplicateEnvVarError(name);
761
- }
762
- const details = parseArgumentsDefinition(result.typeDefinition);
763
- if (details.length > 1) {
764
- throw new TooManyEnvVarValuesError(name);
765
- }
766
- else if (details.length && details[0].optional) {
767
- throw new UnexpectedOptionalEnvVarValueError(name);
768
- }
769
- else if (details.length && details[0].variadic) {
770
- throw new UnexpectedVariadicEnvVarValueError(name);
771
- }
772
- this.cmd.envVars.push({
773
- name: result.flags[0],
774
- names: result.flags,
775
- description,
776
- type: details[0].type,
777
- details: details.shift(),
778
- ...options,
779
- });
780
- return this;
781
- }
782
- /*****************************************************************************
783
- **** MAIN HANDLER ***********************************************************
784
- *****************************************************************************/
785
- /**
786
- * Parse command line arguments and execute matched command.
787
- *
788
- * @param args Command line args to parse. Ex: `cmd.parse( Deno.args )`
789
- */
790
- parse(args = getArgs()) {
791
- const ctx = {
792
- unknown: args.slice(),
793
- flags: {},
794
- env: {},
795
- literal: [],
796
- stopEarly: false,
797
- stopOnUnknown: false,
798
- defaults: {},
799
- actions: [],
800
- };
801
- return this.parseCommand(ctx);
802
- }
803
- async parseCommand(ctx) {
804
- try {
805
- this.reset();
806
- this.registerDefaults();
807
- this.rawArgs = ctx.unknown.slice();
808
- if (this._useRawArgs) {
809
- await this.parseEnvVars(ctx, this.envVars);
810
- return await this.execute(ctx.env, ctx.unknown);
811
- }
812
- let preParseGlobals = false;
813
- let subCommand;
814
- // Pre parse globals to support: cmd --global-option sub-command --option
815
- if (ctx.unknown.length > 0) {
816
- // Detect sub command.
817
- subCommand = this.getSubCommand(ctx);
818
- if (!subCommand) {
819
- // Only pre parse globals if first arg ist a global option.
820
- const optionName = ctx.unknown[0].replace(/^-+/, "");
821
- const option = this.getOption(optionName, true);
822
- if (option?.global) {
823
- preParseGlobals = true;
824
- await this.parseGlobalOptionsAndEnvVars(ctx);
825
- }
826
- }
827
- }
828
- if (subCommand || ctx.unknown.length > 0) {
829
- subCommand ??= this.getSubCommand(ctx);
830
- if (subCommand) {
831
- subCommand._globalParent = this;
832
- return subCommand.parseCommand(ctx);
833
- }
834
- }
835
- // Parse rest options & env vars.
836
- await this.parseOptionsAndEnvVars(ctx, preParseGlobals);
837
- const options = { ...ctx.env, ...ctx.flags };
838
- const args = this.parseArguments(ctx, options);
839
- this.literalArgs = ctx.literal;
840
- // Execute option action.
841
- if (ctx.actions.length) {
842
- await Promise.all(ctx.actions.map((action) => action.call(this, options, ...args)));
843
- if (ctx.standalone) {
844
- return {
845
- options,
846
- args,
847
- cmd: this,
848
- literal: this.literalArgs,
849
- };
850
- }
851
- }
852
- return await this.execute(options, args);
853
- }
854
- catch (error) {
855
- this.handleError(error);
856
- }
857
- }
858
- getSubCommand(ctx) {
859
- const subCommand = this.getCommand(ctx.unknown[0], true);
860
- if (subCommand) {
861
- ctx.unknown.shift();
862
- }
863
- return subCommand;
864
- }
865
- async parseGlobalOptionsAndEnvVars(ctx) {
866
- const isHelpOption = this.getHelpOption()?.flags.includes(ctx.unknown[0]);
867
- // Parse global env vars.
868
- const envVars = [
869
- ...this.envVars.filter((envVar) => envVar.global),
870
- ...this.getGlobalEnvVars(true),
871
- ];
872
- await this.parseEnvVars(ctx, envVars, !isHelpOption);
873
- // Parse global options.
874
- const options = [
875
- ...this.options.filter((option) => option.global),
876
- ...this.getGlobalOptions(true),
877
- ];
878
- this.parseOptions(ctx, options, {
879
- stopEarly: true,
880
- stopOnUnknown: true,
881
- dotted: false,
882
- });
883
- }
884
- async parseOptionsAndEnvVars(ctx, preParseGlobals) {
885
- const helpOption = this.getHelpOption();
886
- const isVersionOption = this._versionOption?.flags.includes(ctx.unknown[0]);
887
- const isHelpOption = helpOption && ctx.flags?.[helpOption.name] === true;
888
- // Parse env vars.
889
- const envVars = preParseGlobals
890
- ? this.envVars.filter((envVar) => !envVar.global)
891
- : this.getEnvVars(true);
892
- await this.parseEnvVars(ctx, envVars, !isHelpOption && !isVersionOption);
893
- // Parse options.
894
- const options = this.getOptions(true);
895
- this.parseOptions(ctx, options);
896
- }
897
- /** Register default options like `--version` and `--help`. */
898
- registerDefaults() {
899
- if (this.hasDefaults || this.getParent()) {
900
- return this;
901
- }
902
- this.hasDefaults = true;
903
- this.reset();
904
- !this.types.has("string") &&
905
- this.type("string", new StringType(), { global: true });
906
- !this.types.has("number") &&
907
- this.type("number", new NumberType(), { global: true });
908
- !this.types.has("integer") &&
909
- this.type("integer", new IntegerType(), { global: true });
910
- !this.types.has("boolean") &&
911
- this.type("boolean", new BooleanType(), { global: true });
912
- !this.types.has("file") &&
913
- this.type("file", new FileType(), { global: true });
914
- if (!this._help) {
915
- this.help({});
916
- }
917
- if (this._versionOptions !== false && (this._versionOptions || this.ver)) {
918
- this.option(this._versionOptions?.flags || "-V, --version", this._versionOptions?.desc ||
919
- "Show the version number for this program.", {
920
- standalone: true,
921
- prepend: true,
922
- action: async function () {
923
- const long = this.getRawArgs().includes(`--${this._versionOption?.name}`);
924
- if (long) {
925
- await checkVersion(this);
926
- this.showLongVersion();
927
- }
928
- else {
929
- this.showVersion();
930
- }
931
- this.exit();
932
- },
933
- ...(this._versionOptions?.opts ?? {}),
934
- });
935
- this._versionOption = this.options[0];
936
- }
937
- if (this._helpOptions !== false) {
938
- this.option(this._helpOptions?.flags || "-h, --help", this._helpOptions?.desc || "Show this help.", {
939
- standalone: true,
940
- global: true,
941
- prepend: true,
942
- action: async function () {
943
- const long = this.getRawArgs().includes(`--${this.getHelpOption()?.name}`);
944
- await checkVersion(this);
945
- this.showHelp({ long });
946
- this.exit();
947
- },
948
- ...(this._helpOptions?.opts ?? {}),
949
- });
950
- this._helpOption = this.options[0];
951
- }
952
- return this;
953
- }
954
- /**
955
- * Execute command.
956
- * @param options A map of options.
957
- * @param args Command arguments.
958
- */
959
- async execute(options, args) {
960
- if (this.defaultCommand) {
961
- const cmd = this.getCommand(this.defaultCommand, true);
962
- if (!cmd) {
963
- throw new DefaultCommandNotFoundError(this.defaultCommand, this.getCommands());
964
- }
965
- cmd._globalParent = this;
966
- return cmd.execute(options, args);
967
- }
968
- await this.executeGlobalAction(options, args);
969
- if (this.actionHandler) {
970
- await this.actionHandler(options, ...args);
971
- }
972
- return {
973
- options,
974
- args,
975
- cmd: this,
976
- literal: this.literalArgs,
977
- };
978
- }
979
- async executeGlobalAction(options, args) {
980
- if (!this._noGlobals) {
981
- await this._parent?.executeGlobalAction(options, args);
982
- }
983
- await this.globalActionHandler?.(options, ...args);
984
- }
985
- /** Parse raw command line arguments. */
986
- parseOptions(ctx, options, { stopEarly = this._stopEarly, stopOnUnknown = false, dotted = true, } = {}) {
987
- parseFlags(ctx, {
988
- stopEarly,
989
- stopOnUnknown,
990
- dotted,
991
- allowEmpty: this._allowEmpty,
992
- flags: options,
993
- ignoreDefaults: ctx.env,
994
- parse: (type) => this.parseType(type),
995
- option: (option) => {
996
- if (option.action) {
997
- ctx.actions.push(option.action);
998
- }
999
- },
1000
- });
1001
- }
1002
- /** Parse argument type. */
1003
- parseType(type) {
1004
- const typeSettings = this.getType(type.type);
1005
- if (!typeSettings) {
1006
- throw new UnknownTypeError(type.type, this.getTypes().map((type) => type.name));
1007
- }
1008
- return typeSettings.handler instanceof Type
1009
- ? typeSettings.handler.parse(type)
1010
- : typeSettings.handler(type);
1011
- }
1012
- /**
1013
- * Read and validate environment variables.
1014
- * @param ctx Parse context.
1015
- * @param envVars env vars defined by the command.
1016
- * @param validate when true, throws an error if a required env var is missing.
1017
- */
1018
- async parseEnvVars(ctx, envVars, validate = true) {
1019
- for (const envVar of envVars) {
1020
- const env = await this.findEnvVar(envVar.names);
1021
- if (env) {
1022
- const parseType = (value) => {
1023
- return this.parseType({
1024
- label: "Environment variable",
1025
- type: envVar.type,
1026
- name: env.name,
1027
- value,
1028
- });
1029
- };
1030
- const propertyName = underscoreToCamelCase(envVar.prefix
1031
- ? envVar.names[0].replace(new RegExp(`^${envVar.prefix}`), "")
1032
- : envVar.names[0]);
1033
- if (envVar.details.list) {
1034
- ctx.env[propertyName] = env.value
1035
- .split(envVar.details.separator ?? ",")
1036
- .map(parseType);
1037
- }
1038
- else {
1039
- ctx.env[propertyName] = parseType(env.value);
1040
- }
1041
- if (envVar.value && typeof ctx.env[propertyName] !== "undefined") {
1042
- ctx.env[propertyName] = envVar.value(ctx.env[propertyName]);
1043
- }
1044
- }
1045
- else if (envVar.required && validate) {
1046
- throw new MissingRequiredEnvVarError(envVar);
1047
- }
1048
- }
1049
- }
1050
- async findEnvVar(names) {
1051
- for (const name of names) {
1052
- const status = await dntShim.dntGlobalThis.Deno?.permissions.query({
1053
- name: "env",
1054
- variable: name,
1055
- });
1056
- if (!status || status.state === "granted") {
1057
- const value = getEnv(name);
1058
- if (value) {
1059
- return { name, value };
1060
- }
1061
- }
1062
- }
1063
- return undefined;
1064
- }
1065
- /**
1066
- * Parse command-line arguments.
1067
- * @param ctx Parse context.
1068
- * @param options Parsed command line options.
1069
- */
1070
- parseArguments(ctx, options) {
1071
- const params = [];
1072
- const args = ctx.unknown.slice();
1073
- if (!this.hasArguments()) {
1074
- if (args.length) {
1075
- if (this.hasCommands(true)) {
1076
- if (this.hasCommand(args[0], true)) {
1077
- // e.g: command --global-foo --foo sub-command
1078
- throw new TooManyArgumentsError(args);
1079
- }
1080
- else {
1081
- throw new UnknownCommandError(args[0], this.getCommands());
1082
- }
1083
- }
1084
- else {
1085
- throw new NoArgumentsAllowedError(this.getPath());
1086
- }
1087
- }
1088
- }
1089
- else {
1090
- if (!args.length) {
1091
- const required = this.getArguments()
1092
- .filter((expectedArg) => !expectedArg.optional)
1093
- .map((expectedArg) => expectedArg.name);
1094
- if (required.length) {
1095
- const optionNames = Object.keys(options);
1096
- const hasStandaloneOption = !!optionNames.find((name) => this.getOption(name, true)?.standalone);
1097
- if (!hasStandaloneOption) {
1098
- throw new MissingArgumentsError(required);
1099
- }
1100
- }
1101
- }
1102
- else {
1103
- for (const expectedArg of this.getArguments()) {
1104
- if (!args.length) {
1105
- if (expectedArg.optional) {
1106
- break;
1107
- }
1108
- throw new MissingArgumentError(expectedArg.name);
1109
- }
1110
- let arg;
1111
- const parseArgValue = (value) => {
1112
- return expectedArg.list
1113
- ? value.split(",").map((value) => parseArgType(value))
1114
- : parseArgType(value);
1115
- };
1116
- const parseArgType = (value) => {
1117
- return this.parseType({
1118
- label: "Argument",
1119
- type: expectedArg.type,
1120
- name: expectedArg.name,
1121
- value,
1122
- });
1123
- };
1124
- if (expectedArg.variadic) {
1125
- arg = args.splice(0, args.length).map((value) => parseArgValue(value));
1126
- }
1127
- else {
1128
- arg = parseArgValue(args.shift());
1129
- }
1130
- if (expectedArg.variadic && Array.isArray(arg)) {
1131
- params.push(...arg);
1132
- }
1133
- else if (typeof arg !== "undefined") {
1134
- params.push(arg);
1135
- }
1136
- }
1137
- if (args.length) {
1138
- throw new TooManyArgumentsError(args);
1139
- }
1140
- }
1141
- }
1142
- return params;
1143
- }
1144
- handleError(error) {
1145
- this.throw(error instanceof FlagsValidationError
1146
- ? new ValidationError(error.message)
1147
- : error instanceof Error
1148
- ? error
1149
- : new Error(`[non-error-thrown] ${error}`));
1150
- }
1151
- /**
1152
- * Handle error. If `throwErrors` is enabled the error will be thrown,
1153
- * otherwise a formatted error message will be printed and `exit(1)`
1154
- * will be called. This will also trigger registered error handlers.
1155
- *
1156
- * @param error The error to handle.
1157
- */
1158
- throw(error) {
1159
- if (error instanceof ValidationError) {
1160
- error.cmd = this;
1161
- }
1162
- this.getErrorHandler()?.(error, this);
1163
- if (this.shouldThrowErrors() || !(error instanceof ValidationError)) {
1164
- throw error;
1165
- }
1166
- this.showHelp();
1167
- console.error(red(` ${bold("error")}: ${error.message}\n`));
1168
- exit(error instanceof ValidationError ? error.exitCode : 1);
1169
- }
1170
- /*****************************************************************************
1171
- **** GETTER *****************************************************************
1172
- *****************************************************************************/
1173
- /** Get command name. */
1174
- getName() {
1175
- return this._name;
1176
- }
1177
- /** Get parent command. */
1178
- getParent() {
1179
- return this._parent;
1180
- }
1181
- /**
1182
- * Get parent command from global executed command.
1183
- * Be sure, to call this method only inside an action handler. Unless this or any child command was executed,
1184
- * this method returns always undefined.
1185
- */
1186
- getGlobalParent() {
1187
- return this._globalParent;
1188
- }
1189
- /** Get main command. */
1190
- getMainCommand() {
1191
- return this._parent?.getMainCommand() ?? this;
1192
- }
1193
- /** Get command name aliases. */
1194
- getAliases() {
1195
- return this.aliases;
1196
- }
1197
- /**
1198
- * Get full command path.
1199
- *
1200
- * @param name Override the main command name.
1201
- */
1202
- getPath(name) {
1203
- return this._parent
1204
- ? this._parent.getPath(name) + " " + this._name
1205
- : name || this._name;
1206
- }
1207
- /** Get arguments definition. E.g: <input-file:string> <output-file:string> */
1208
- getArgsDefinition() {
1209
- return this.argsDefinition;
1210
- }
1211
- /**
1212
- * Get argument by name.
1213
- *
1214
- * @param name Name of the argument.
1215
- */
1216
- getArgument(name) {
1217
- return this.getArguments().find((arg) => arg.name === name);
1218
- }
1219
- /** Get arguments. */
1220
- getArguments() {
1221
- if (!this.args.length && this.argsDefinition) {
1222
- this.args = parseArgumentsDefinition(this.argsDefinition);
1223
- }
1224
- return this.args;
1225
- }
1226
- /** Check if command has arguments. */
1227
- hasArguments() {
1228
- return !!this.argsDefinition;
1229
- }
1230
- /** Get command version. */
1231
- getVersion() {
1232
- return this.getVersionHandler()?.call(this, this);
1233
- }
1234
- /** Get help handler method. */
1235
- getVersionHandler() {
1236
- return this.ver ?? this._parent?.getVersionHandler();
1237
- }
1238
- /** Get command description. */
1239
- getDescription() {
1240
- // call description method only once
1241
- return typeof this.desc === "function"
1242
- ? this.desc = this.desc()
1243
- : this.desc;
1244
- }
1245
- /** Get auto generated command usage. */
1246
- getUsage() {
1247
- return this._usage ??
1248
- [this.getArgsDefinition(), this.getRequiredOptionsDefinition()]
1249
- .join(" ")
1250
- .trim();
1251
- }
1252
- getRequiredOptionsDefinition() {
1253
- return this.getOptions()
1254
- .filter((option) => option.required)
1255
- .map((option) => [findFlag(option.flags), option.typeDefinition].filter((v) => v)
1256
- .join(" ")
1257
- .trim())
1258
- .join(" ");
1259
- }
1260
- /** Get short command description. This is the first line of the description. */
1261
- getShortDescription() {
1262
- return getDescription(this.getDescription(), true);
1263
- }
1264
- /** Get original command-line arguments. */
1265
- getRawArgs() {
1266
- return this.rawArgs;
1267
- }
1268
- /** Get all arguments defined after the double dash. */
1269
- getLiteralArgs() {
1270
- return this.literalArgs;
1271
- }
1272
- /** Output generated help without exiting. */
1273
- showVersion() {
1274
- console.log(this.getVersion());
1275
- }
1276
- /** Returns command name, version and meta data. */
1277
- getLongVersion() {
1278
- return `${bold(this.getMainCommand().getName())} ${brightBlue(this.getVersion() ?? "")}` +
1279
- Object.entries(this.getMeta()).map(([k, v]) => `\n${bold(k)} ${brightBlue(v)}`).join("");
1280
- }
1281
- /** Outputs command name, version and meta data. */
1282
- showLongVersion() {
1283
- console.log(this.getLongVersion());
1284
- }
1285
- /** Output generated help without exiting. */
1286
- showHelp(options) {
1287
- console.log(this.getHelp(options));
1288
- }
1289
- /** Get generated help. */
1290
- getHelp(options) {
1291
- this.registerDefaults();
1292
- return this.getHelpHandler().call(this, this, options ?? {});
1293
- }
1294
- /** Get help handler method. */
1295
- getHelpHandler() {
1296
- return this._help ?? this._parent?.getHelpHandler();
1297
- }
1298
- exit(code = 0) {
1299
- if (this.shouldExit()) {
1300
- exit(code);
1301
- }
1302
- }
1303
- /*****************************************************************************
1304
- **** Options GETTER *********************************************************
1305
- *****************************************************************************/
1306
- /**
1307
- * Checks whether the command has options or not.
1308
- *
1309
- * @param hidden Include hidden options.
1310
- */
1311
- hasOptions(hidden) {
1312
- return this.getOptions(hidden).length > 0;
1313
- }
1314
- /**
1315
- * Get options.
1316
- *
1317
- * @param hidden Include hidden options.
1318
- */
1319
- getOptions(hidden) {
1320
- return this.getGlobalOptions(hidden).concat(this.getBaseOptions(hidden));
1321
- }
1322
- /**
1323
- * Get base options.
1324
- *
1325
- * @param hidden Include hidden options.
1326
- */
1327
- getBaseOptions(hidden) {
1328
- if (!this.options.length) {
1329
- return [];
1330
- }
1331
- return hidden
1332
- ? this.options.slice(0)
1333
- : this.options.filter((opt) => !opt.hidden);
1334
- }
1335
- /**
1336
- * Get global options.
1337
- *
1338
- * @param hidden Include hidden options.
1339
- */
1340
- getGlobalOptions(hidden) {
1341
- const helpOption = this.getHelpOption();
1342
- const getGlobals = (cmd, noGlobals, options = [], names = []) => {
1343
- if (cmd.options.length) {
1344
- for (const option of cmd.options) {
1345
- if (option.global &&
1346
- !this.options.find((opt) => opt.name === option.name) &&
1347
- names.indexOf(option.name) === -1 &&
1348
- (hidden || !option.hidden)) {
1349
- if (noGlobals && option !== helpOption) {
1350
- continue;
1351
- }
1352
- names.push(option.name);
1353
- options.push(option);
1354
- }
1355
- }
1356
- }
1357
- return cmd._parent
1358
- ? getGlobals(cmd._parent, noGlobals || cmd._noGlobals, options, names)
1359
- : options;
1360
- };
1361
- return this._parent ? getGlobals(this._parent, this._noGlobals) : [];
1362
- }
1363
- /**
1364
- * Checks whether the command has an option with given name or not.
1365
- *
1366
- * @param name Name of the option. Must be in param-case.
1367
- * @param hidden Include hidden options.
1368
- */
1369
- hasOption(name, hidden) {
1370
- return !!this.getOption(name, hidden);
1371
- }
1372
- /**
1373
- * Get option by name.
1374
- *
1375
- * @param name Name of the option. Must be in param-case.
1376
- * @param hidden Include hidden options.
1377
- */
1378
- getOption(name, hidden) {
1379
- return this.getBaseOption(name, hidden) ??
1380
- this.getGlobalOption(name, hidden);
1381
- }
1382
- /**
1383
- * Get base option by name.
1384
- *
1385
- * @param name Name of the option. Must be in param-case.
1386
- * @param hidden Include hidden options.
1387
- */
1388
- getBaseOption(name, hidden) {
1389
- const option = this.options.find((option) => option.name === name || option.aliases?.includes(name));
1390
- return option && (hidden || !option.hidden) ? option : undefined;
1391
- }
1392
- /**
1393
- * Get global option from parent commands by name.
1394
- *
1395
- * @param name Name of the option. Must be in param-case.
1396
- * @param hidden Include hidden options.
1397
- */
1398
- getGlobalOption(name, hidden) {
1399
- const helpOption = this.getHelpOption();
1400
- const getGlobalOption = (parent, noGlobals) => {
1401
- const option = parent.getBaseOption(name, hidden);
1402
- if (!option?.global) {
1403
- return parent._parent && getGlobalOption(parent._parent, noGlobals || parent._noGlobals);
1404
- }
1405
- if (noGlobals && option !== helpOption) {
1406
- return;
1407
- }
1408
- return option;
1409
- };
1410
- return this._parent && getGlobalOption(this._parent, this._noGlobals);
1411
- }
1412
- /**
1413
- * Remove option by name.
1414
- *
1415
- * @param name Name of the option. Must be in param-case.
1416
- */
1417
- removeOption(name) {
1418
- const index = this.options.findIndex((option) => option.name === name);
1419
- if (index === -1) {
1420
- return;
1421
- }
1422
- return this.options.splice(index, 1)[0];
1423
- }
1424
- /**
1425
- * Checks whether the command has sub-commands or not.
1426
- *
1427
- * @param hidden Include hidden commands.
1428
- */
1429
- hasCommands(hidden) {
1430
- return this.getCommands(hidden).length > 0;
1431
- }
1432
- /**
1433
- * Get commands.
1434
- *
1435
- * @param hidden Include hidden commands.
1436
- */
1437
- getCommands(hidden) {
1438
- return this.getGlobalCommands(hidden).concat(this.getBaseCommands(hidden));
1439
- }
1440
- /**
1441
- * Get base commands.
1442
- *
1443
- * @param hidden Include hidden commands.
1444
- */
1445
- getBaseCommands(hidden) {
1446
- const commands = Array.from(this.commands.values());
1447
- return hidden ? commands : commands.filter((cmd) => !cmd.isHidden);
1448
- }
1449
- /**
1450
- * Get global commands.
1451
- *
1452
- * @param hidden Include hidden commands.
1453
- */
1454
- getGlobalCommands(hidden) {
1455
- const getCommands = (command, noGlobals, commands = [], names = []) => {
1456
- if (command.commands.size) {
1457
- for (const [_, cmd] of command.commands) {
1458
- if (cmd.isGlobal &&
1459
- this !== cmd &&
1460
- !this.commands.has(cmd._name) &&
1461
- names.indexOf(cmd._name) === -1 &&
1462
- (hidden || !cmd.isHidden)) {
1463
- if (noGlobals && cmd?.getName() !== "help") {
1464
- continue;
1465
- }
1466
- names.push(cmd._name);
1467
- commands.push(cmd);
1468
- }
1469
- }
1470
- }
1471
- return command._parent
1472
- ? getCommands(command._parent, noGlobals || command._noGlobals, commands, names)
1473
- : commands;
1474
- };
1475
- return this._parent ? getCommands(this._parent, this._noGlobals) : [];
1476
- }
1477
- /**
1478
- * Checks whether a child command exists by given name or alias.
1479
- *
1480
- * @param name Name or alias of the command.
1481
- * @param hidden Include hidden commands.
1482
- */
1483
- hasCommand(name, hidden) {
1484
- return !!this.getCommand(name, hidden);
1485
- }
1486
- /**
1487
- * Get command by name or alias.
1488
- *
1489
- * @param name Name or alias of the command.
1490
- * @param hidden Include hidden commands.
1491
- */
1492
- getCommand(name, hidden) {
1493
- return this.getBaseCommand(name, hidden) ??
1494
- this.getGlobalCommand(name, hidden);
1495
- }
1496
- /**
1497
- * Get base command by name or alias.
1498
- *
1499
- * @param name Name or alias of the command.
1500
- * @param hidden Include hidden commands.
1501
- */
1502
- getBaseCommand(name, hidden) {
1503
- for (const cmd of this.commands.values()) {
1504
- if (cmd._name === name || cmd.aliases.includes(name)) {
1505
- return (cmd && (hidden || !cmd.isHidden) ? cmd : undefined);
1506
- }
1507
- }
1508
- }
1509
- /**
1510
- * Get global command by name or alias.
1511
- *
1512
- * @param name Name or alias of the command.
1513
- * @param hidden Include hidden commands.
1514
- */
1515
- getGlobalCommand(name, hidden) {
1516
- const getGlobalCommand = (parent, noGlobals) => {
1517
- const cmd = parent.getBaseCommand(name, hidden);
1518
- if (!cmd?.isGlobal) {
1519
- return parent._parent &&
1520
- getGlobalCommand(parent._parent, noGlobals || parent._noGlobals);
1521
- }
1522
- if (noGlobals && cmd.getName() !== "help") {
1523
- return;
1524
- }
1525
- return cmd;
1526
- };
1527
- return this._parent &&
1528
- getGlobalCommand(this._parent, this._noGlobals);
1529
- }
1530
- /**
1531
- * Remove sub-command by name or alias.
1532
- *
1533
- * @param name Name or alias of the command.
1534
- */
1535
- removeCommand(name) {
1536
- const command = this.getBaseCommand(name, true);
1537
- if (command) {
1538
- this.commands.delete(command._name);
1539
- }
1540
- return command;
1541
- }
1542
- /** Get types. */
1543
- getTypes() {
1544
- return this.getGlobalTypes().concat(this.getBaseTypes());
1545
- }
1546
- /** Get base types. */
1547
- getBaseTypes() {
1548
- return Array.from(this.types.values());
1549
- }
1550
- /** Get global types. */
1551
- getGlobalTypes() {
1552
- const getTypes = (cmd, types = [], names = []) => {
1553
- if (cmd) {
1554
- if (cmd.types.size) {
1555
- cmd.types.forEach((type) => {
1556
- if (type.global &&
1557
- !this.types.has(type.name) &&
1558
- names.indexOf(type.name) === -1) {
1559
- names.push(type.name);
1560
- types.push(type);
1561
- }
1562
- });
1563
- }
1564
- return getTypes(cmd._parent, types, names);
1565
- }
1566
- return types;
1567
- };
1568
- return getTypes(this._parent);
1569
- }
1570
- /**
1571
- * Get type by name.
1572
- *
1573
- * @param name Name of the type.
1574
- */
1575
- getType(name) {
1576
- return this.getBaseType(name) ?? this.getGlobalType(name);
1577
- }
1578
- /**
1579
- * Get base type by name.
1580
- *
1581
- * @param name Name of the type.
1582
- */
1583
- getBaseType(name) {
1584
- return this.types.get(name);
1585
- }
1586
- /**
1587
- * Get global type by name.
1588
- *
1589
- * @param name Name of the type.
1590
- */
1591
- getGlobalType(name) {
1592
- if (!this._parent) {
1593
- return;
1594
- }
1595
- const cmd = this._parent.getBaseType(name);
1596
- if (!cmd?.global) {
1597
- return this._parent.getGlobalType(name);
1598
- }
1599
- return cmd;
1600
- }
1601
- /** Get completions. */
1602
- getCompletions() {
1603
- return this.getGlobalCompletions().concat(this.getBaseCompletions());
1604
- }
1605
- /** Get base completions. */
1606
- getBaseCompletions() {
1607
- return Array.from(this.completions.values());
1608
- }
1609
- /** Get global completions. */
1610
- getGlobalCompletions() {
1611
- const getCompletions = (cmd, completions = [], names = []) => {
1612
- if (cmd) {
1613
- if (cmd.completions.size) {
1614
- cmd.completions.forEach((completion) => {
1615
- if (completion.global &&
1616
- !this.completions.has(completion.name) &&
1617
- names.indexOf(completion.name) === -1) {
1618
- names.push(completion.name);
1619
- completions.push(completion);
1620
- }
1621
- });
1622
- }
1623
- return getCompletions(cmd._parent, completions, names);
1624
- }
1625
- return completions;
1626
- };
1627
- return getCompletions(this._parent);
1628
- }
1629
- /**
1630
- * Get completion by name.
1631
- *
1632
- * @param name Name of the completion.
1633
- */
1634
- getCompletion(name) {
1635
- return this.getBaseCompletion(name) ?? this.getGlobalCompletion(name);
1636
- }
1637
- /**
1638
- * Get base completion by name.
1639
- *
1640
- * @param name Name of the completion.
1641
- */
1642
- getBaseCompletion(name) {
1643
- return this.completions.get(name);
1644
- }
1645
- /**
1646
- * Get global completions by name.
1647
- *
1648
- * @param name Name of the completion.
1649
- */
1650
- getGlobalCompletion(name) {
1651
- if (!this._parent) {
1652
- return;
1653
- }
1654
- const completion = this._parent.getBaseCompletion(name);
1655
- if (!completion?.global) {
1656
- return this._parent.getGlobalCompletion(name);
1657
- }
1658
- return completion;
1659
- }
1660
- /**
1661
- * Checks whether the command has environment variables or not.
1662
- *
1663
- * @param hidden Include hidden environment variable.
1664
- */
1665
- hasEnvVars(hidden) {
1666
- return this.getEnvVars(hidden).length > 0;
1667
- }
1668
- /**
1669
- * Get environment variables.
1670
- *
1671
- * @param hidden Include hidden environment variable.
1672
- */
1673
- getEnvVars(hidden) {
1674
- return this.getGlobalEnvVars(hidden).concat(this.getBaseEnvVars(hidden));
1675
- }
1676
- /**
1677
- * Get base environment variables.
1678
- *
1679
- * @param hidden Include hidden environment variable.
1680
- */
1681
- getBaseEnvVars(hidden) {
1682
- if (!this.envVars.length) {
1683
- return [];
1684
- }
1685
- return hidden
1686
- ? this.envVars.slice(0)
1687
- : this.envVars.filter((env) => !env.hidden);
1688
- }
1689
- /**
1690
- * Get global environment variables.
1691
- *
1692
- * @param hidden Include hidden environment variable.
1693
- */
1694
- getGlobalEnvVars(hidden) {
1695
- if (this._noGlobals) {
1696
- return [];
1697
- }
1698
- const getEnvVars = (cmd, envVars = [], names = []) => {
1699
- if (cmd) {
1700
- if (cmd.envVars.length) {
1701
- cmd.envVars.forEach((envVar) => {
1702
- if (envVar.global &&
1703
- !this.envVars.find((env) => env.names[0] === envVar.names[0]) &&
1704
- names.indexOf(envVar.names[0]) === -1 &&
1705
- (hidden || !envVar.hidden)) {
1706
- names.push(envVar.names[0]);
1707
- envVars.push(envVar);
1708
- }
1709
- });
1710
- }
1711
- return getEnvVars(cmd._parent, envVars, names);
1712
- }
1713
- return envVars;
1714
- };
1715
- return getEnvVars(this._parent);
1716
- }
1717
- /**
1718
- * Checks whether the command has an environment variable with given name or not.
1719
- *
1720
- * @param name Name of the environment variable.
1721
- * @param hidden Include hidden environment variable.
1722
- */
1723
- hasEnvVar(name, hidden) {
1724
- return !!this.getEnvVar(name, hidden);
1725
- }
1726
- /**
1727
- * Get environment variable by name.
1728
- *
1729
- * @param name Name of the environment variable.
1730
- * @param hidden Include hidden environment variable.
1731
- */
1732
- getEnvVar(name, hidden) {
1733
- return this.getBaseEnvVar(name, hidden) ??
1734
- this.getGlobalEnvVar(name, hidden);
1735
- }
1736
- /**
1737
- * Get base environment variable by name.
1738
- *
1739
- * @param name Name of the environment variable.
1740
- * @param hidden Include hidden environment variable.
1741
- */
1742
- getBaseEnvVar(name, hidden) {
1743
- const envVar = this.envVars.find((env) => env.names.indexOf(name) !== -1);
1744
- return envVar && (hidden || !envVar.hidden) ? envVar : undefined;
1745
- }
1746
- /**
1747
- * Get global environment variable by name.
1748
- *
1749
- * @param name Name of the environment variable.
1750
- * @param hidden Include hidden environment variable.
1751
- */
1752
- getGlobalEnvVar(name, hidden) {
1753
- if (!this._parent || this._noGlobals) {
1754
- return;
1755
- }
1756
- const envVar = this._parent.getBaseEnvVar(name, hidden);
1757
- if (!envVar?.global) {
1758
- return this._parent.getGlobalEnvVar(name, hidden);
1759
- }
1760
- return envVar;
1761
- }
1762
- /** Checks whether the command has examples or not. */
1763
- hasExamples() {
1764
- return this.examples.length > 0;
1765
- }
1766
- /** Get all examples. */
1767
- getExamples() {
1768
- return this.examples;
1769
- }
1770
- /** Checks whether the command has an example with given name or not. */
1771
- hasExample(name) {
1772
- return !!this.getExample(name);
1773
- }
1774
- /** Get example with given name. */
1775
- getExample(name) {
1776
- return this.examples.find((example) => example.name === name);
1777
- }
1778
- getHelpOption() {
1779
- return this._helpOption ?? this._parent?.getHelpOption();
1780
- }
1781
- }
1782
- function findFlag(flags) {
1783
- for (const flag of flags) {
1784
- if (flag.startsWith("--")) {
1785
- return flag;
1786
- }
1787
- }
1788
- return flags[0];
1789
- }