@seyuna/cli 1.0.0-canary.23 → 1.0.0-canary.25
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.
- package/esm/_dnt.polyfills.d.ts +25 -0
- package/esm/_dnt.polyfills.d.ts.map +1 -1
- package/esm/_dnt.polyfills.js +120 -0
- package/esm/deno.d.ts +0 -1
- package/esm/deno.js +10 -11
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/ansi_escapes.d.ts +135 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/ansi_escapes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/ansi_escapes.js +218 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/chain.d.ts +137 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/chain.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/chain.js +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/cursor_position.d.ts +28 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/cursor_position.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/cursor_position.js +31 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/tty.d.ts +37 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/tty.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.8/tty.js +61 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_argument_types.d.ts +157 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_argument_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_argument_types.js +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_errors.d.ts +77 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_errors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_errors.js +155 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_spread.d.ts +16 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_spread.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_spread.js +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_type_utils.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_type_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_type_utils.js +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_utils.d.ts +37 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/_utils.js +125 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/command.d.ts +815 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/command.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/command.js +1789 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/deprecated.d.ts +46 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/deprecated.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/deprecated.js +2 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/help/_help_generator.d.ts +28 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/help/_help_generator.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/help/_help_generator.js +317 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/mod.d.ts +15 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/mod.js +13 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/type.d.ts +45 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/type.js +27 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/action_list.d.ts +10 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/action_list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/action_list.js +20 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/boolean.d.ts +10 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/boolean.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/boolean.js +13 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/child_command.d.ts +10 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/child_command.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/child_command.js +27 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/command.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/command.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/command.js +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/enum.d.ts +11 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/enum.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/enum.js +29 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/file.d.ts +6 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/file.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/file.js +12 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/integer.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/integer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/integer.js +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/number.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/number.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/number.js +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/string.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types/string.js +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types.d.ts +119 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/types.js +2 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/upgrade/_check_version.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/upgrade/_check_version.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.8/upgrade/_check_version.js +21 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/_errors.d.ts +61 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/_errors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/_errors.js +117 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/_utils.d.ts +17 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/_utils.js +89 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/_validate_flags.d.ts +11 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/_validate_flags.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/_validate_flags.js +155 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/deprecated.d.ts +25 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/deprecated.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/deprecated.js +9 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/flags.d.ts +35 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/flags.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/flags.js +401 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/mod.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/mod.js +7 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/boolean.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/boolean.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/boolean.js +11 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/integer.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/integer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/integer.js +9 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/number.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/number.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/number.js +9 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/string.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types/string.js +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types.d.ts +137 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.8/types.js +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/exit.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/exit.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/exit.js +16 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_args.d.ts +7 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_args.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_args.js +11 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_columns.d.ts +7 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_columns.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_columns.js +23 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_env.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_env.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_env.js +18 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_os.d.ts +7 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/get_os.js +19 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/inspect.d.ts +7 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/inspect.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/inspect.js +11 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/is_directory.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/is_directory.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/is_directory.js +16 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/is_terminal.d.ts +7 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/is_terminal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/is_terminal.js +19 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/read.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/read.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/read.js +45 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/read_dir.d.ts +10 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/read_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/read_dir.js +23 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/read_sync.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/read_sync.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/read_sync.js +28 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/runtime_name.d.ts +3 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/runtime_name.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/runtime_name.js +14 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/set_raw.d.ts +11 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/set_raw.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/set_raw.js +21 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/stat.d.ts +10 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/stat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/stat.js +21 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/write_sync.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/write_sync.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.8/runtime/write_sync.js +21 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.8/_key_codes.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.8/_key_codes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.8/_key_codes.js +103 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.8/key_code.d.ts +37 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.8/key_code.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.8/key_code.js +235 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.8/mod.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.8/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.8/mod.js +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_figures.d.ts +34 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_figures.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_figures.js +63 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_input.d.ts +49 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_input.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_input.js +112 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_list.d.ts +190 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_list.js +523 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_prompt.d.ts +142 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_prompt.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_prompt.js +283 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_suggestions.d.ts +115 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_suggestions.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_generic_suggestions.js +435 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_utils.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/_utils.js +5 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/checkbox.d.ts +204 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/checkbox.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/checkbox.js +349 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/confirm.d.ts +66 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/confirm.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/confirm.js +117 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/input.d.ts +64 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/input.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/input.js +90 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/list.d.ts +83 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/list.js +161 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/mod.d.ts +13 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/mod.js +9 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/number.d.ts +93 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/number.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/number.js +199 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/prompt.d.ts +223 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/prompt.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/prompt.js +252 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/secret.d.ts +74 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/secret.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/secret.js +96 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/select.d.ts +142 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/select.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/select.js +184 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/toggle.d.ts +74 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/toggle.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.8/toggle.js +130 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/_layout.d.ts +104 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/_layout.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/_layout.js +546 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/_utils.d.ts +29 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/_utils.js +72 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/border.d.ts +23 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/border.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/border.js +18 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/cell.d.ts +157 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/cell.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/cell.js +199 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/column.d.ts +62 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/column.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/column.js +85 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/consume_words.d.ts +30 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/consume_words.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/consume_words.js +64 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/mod.d.ts +7 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/mod.js +6 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/row.d.ts +71 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/row.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/row.js +90 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/table.d.ts +192 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/table.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/table.js +304 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/unicode_width.d.ts +40 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/unicode_width.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.8/unicode_width.js +95 -0
- package/esm/deps/jsr.io/@std/assert/1.0.16/equal.d.ts +17 -0
- package/esm/deps/jsr.io/@std/assert/1.0.16/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.16/equal.js +186 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/_util.js +6 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/abortable.d.ts +107 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/abortable.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/abortable.js +46 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/deadline.d.ts +37 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/deadline.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/deadline.js +41 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/debounce.d.ts +44 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/debounce.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/debounce.js +57 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/delay.d.ts +43 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/delay.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/delay.js +78 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/mod.d.ts +22 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/mod.js +23 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/mux_async_iterator.d.ts +111 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/mux_async_iterator.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/mux_async_iterator.js +170 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/pool.d.ts +33 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/pool.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/pool.js +99 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/retry.d.ts +110 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/retry.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/retry.js +107 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/tee.d.ts +43 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/tee.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/tee.js +102 -0
- package/esm/deps/jsr.io/@std/cli/1.0.25/unstable_spinner.d.ts +176 -0
- package/esm/deps/jsr.io/@std/cli/1.0.25/unstable_spinner.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.25/unstable_spinner.js +202 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts +35 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.js +113 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +4 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +13 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts +9 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.js +2 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts +40 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.js +82 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts +700 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.js +903 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_create_walk_entry.d.ts +14 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_create_walk_entry.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_create_walk_entry.js +34 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_get_file_info_type.d.ts +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_get_file_info_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_get_file_info_type.js +18 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_is_same_path.d.ts +10 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_is_same_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_is_same_path.js +17 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_is_subdir.d.ts +12 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_is_subdir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_is_subdir.js +25 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_to_path_string.d.ts +9 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_to_path_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/_to_path_string.js +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/copy.d.ts +117 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/copy.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/copy.js +313 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/empty_dir.d.ts +48 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/empty_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/empty_dir.js +87 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_dir.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_dir.js +102 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_file.d.ts +47 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_file.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_file.js +90 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_link.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_link.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_link.js +61 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_symlink.d.ts +70 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_symlink.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/ensure_symlink.js +156 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/eol.d.ts +52 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/eol.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/eol.js +67 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/exists.d.ts +218 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/exists.js +271 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/expand_glob.d.ts +267 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/expand_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/expand_glob.js +442 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/mod.d.ts +29 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/mod.js +29 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/move.d.ts +86 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/move.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/move.js +142 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/walk.d.ts +777 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/walk.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.21/walk.js +846 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +12 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +5 -0
- package/esm/deps/jsr.io/@std/io/0.224.9/types.d.ts +146 -0
- package/esm/deps/jsr.io/@std/io/0.224.9/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.224.9/types.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/assert_path.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/basename.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/common.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/constants.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/dirname.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/format.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/from_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/glob_to_reg_exp.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/glob_to_reg_exp.js +234 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/normalize.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/normalize_string.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/relative.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/strip_trailing_separators.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/to_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_os.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/_os.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/basename.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/basename.js +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/common.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/common.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/constants.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/constants.js +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/dirname.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/dirname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/extname.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/extname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/format.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/format.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/from_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/from_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/glob_to_regexp.d.ts +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/is_absolute.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/is_glob.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/is_glob.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/join.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/join_globs.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/join_globs.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/mod.d.ts +213 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/mod.js +216 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/normalize.d.ts +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/normalize.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/normalize_glob.d.ts +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/normalize_glob.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/parse.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/parse.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/basename.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/basename.js +49 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/dirname.d.ts +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/dirname.js +62 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/extname.d.ts +37 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/extname.js +89 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/from_file_url.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/glob_to_regexp.d.ts +72 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/is_absolute.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/join.d.ts +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/join.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/join_globs.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/normalize.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/normalize.js +57 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/parse.js +115 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/relative.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/relative.js +106 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/resolve.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/to_file_url.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/to_namespaced_path.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/to_namespaced_path.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/relative.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/relative.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/resolve.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/resolve.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/to_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/to_namespaced_path.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/to_namespaced_path.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/types.d.ts +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/_util.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/basename.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/basename.js +44 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/dirname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/dirname.js +112 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/extname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/extname.js +81 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/from_file_url.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/from_file_url.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/glob_to_regexp.d.ts +71 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/is_absolute.js +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/join.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/join.js +74 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/join_globs.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/join_globs.js +41 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/normalize.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/normalize.js +134 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/parse.js +176 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/relative.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/relative.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/resolve.js +154 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/to_file_url.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/to_namespaced_path.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/to_namespaced_path.js +49 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.js +235 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/basename.d.ts +27 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/basename.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/common.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/common.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/constants.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/constants.js +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/dirname.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/dirname.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/extname.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/extname.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/format.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/format.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/from_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts +77 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/is_glob.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join_globs.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/mod.d.ts +213 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/mod.js +216 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize.d.ts +26 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts +29 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize_glob.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/parse.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/parse.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts +39 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.js +52 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts +30 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/dirname.js +64 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts +37 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.js +93 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts +72 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts +31 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.js +45 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts +37 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.js +58 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/parse.js +115 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/relative.js +106 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/resolve.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/relative.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/relative.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/resolve.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/resolve.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/types.d.ts +38 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.js +47 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/dirname.js +113 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts +71 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.js +38 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join_globs.js +41 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts +19 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.js +135 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/parse.js +176 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/relative.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/resolve.js +154 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.js +49 -0
- package/esm/deps/jsr.io/@std/text/1.0.16/closest_string.d.ts +42 -0
- package/esm/deps/jsr.io/@std/text/1.0.16/closest_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/1.0.16/closest_string.js +46 -0
- package/esm/deps/jsr.io/@std/text/1.0.16/levenshtein_distance.d.ts +23 -0
- package/esm/deps/jsr.io/@std/text/1.0.16/levenshtein_distance.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/1.0.16/levenshtein_distance.js +127 -0
- package/esm/src/config/init.js +2 -2
- package/esm/src/helpers/cli.js +1 -1
- package/esm/src/helpers/fs.js +2 -2
- package/esm/src/helpers/styles.js +1 -1
- package/esm/src/main.js +2 -3
- package/esm/src/ui/compile.js +1 -1
- package/package.json +1 -8
|
@@ -0,0 +1,815 @@
|
|
|
1
|
+
import { type ParseFlagsContext } from "../../flags/1.0.0-rc.8/mod.js";
|
|
2
|
+
import type { MapTypes, MapValue, MergeOptions, TypedArguments, TypedCommandArguments, TypedEnv, TypedOption, TypedType } from "./_argument_types.js";
|
|
3
|
+
import type { Merge, OneOf, ValueOf } from "./_type_utils.js";
|
|
4
|
+
import { type HelpOptions } from "./help/_help_generator.js";
|
|
5
|
+
import type { ActionHandler, Argument, ArgumentValue, CommandResult, CompleteHandler, CompleteOptions, Completion, DefaultValue, Description, EnvVar, EnvVarOptions, EnvVarValueHandler, ErrorHandler, Example, GlobalEnvVarOptions, GlobalOptionOptions, HelpHandler, Option, OptionOptions, OptionValueHandler, TypeDef, TypeOptions, TypeOrTypeHandler, VersionHandler } from "./types.js";
|
|
6
|
+
/**
|
|
7
|
+
* Chainable command factory class.
|
|
8
|
+
*
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { Command } from "./mod.ts";
|
|
11
|
+
*
|
|
12
|
+
* export const cli = new Command()
|
|
13
|
+
* .name("todo")
|
|
14
|
+
* .description("Example command description")
|
|
15
|
+
* .globalOption("--verbose", "Enable verbose output.")
|
|
16
|
+
* .globalEnv("VERBOSE=<value>", "Enable verbose output.")
|
|
17
|
+
* .command("add <todo>", "Add todo.")
|
|
18
|
+
* .action(({ verbose }, todo: string) => {
|
|
19
|
+
* if (verbose) {
|
|
20
|
+
* console.log("Add todo '%s'.", todo);
|
|
21
|
+
* }
|
|
22
|
+
* })
|
|
23
|
+
* .command("delete <id>", "Delete todo.")
|
|
24
|
+
* .action(({ verbose }, id: string) => {
|
|
25
|
+
* if (verbose) {
|
|
26
|
+
* console.log("Delete todo with id '%s'.", id);
|
|
27
|
+
* }
|
|
28
|
+
* });
|
|
29
|
+
*
|
|
30
|
+
* if (import.meta.main) {
|
|
31
|
+
* await cli.parse();
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare class Command<TParentCommandGlobals extends Record<string, unknown> | void = void, TParentCommandTypes extends Record<string, unknown> | void = TParentCommandGlobals extends number ? any : void, TCommandOptions extends Record<string, unknown> | void = TParentCommandGlobals extends number ? any : void, TCommandArguments extends Array<unknown> = TParentCommandGlobals extends number ? any : [], TCommandGlobals extends Record<string, unknown> | void = TParentCommandGlobals extends number ? any : void, TCommandTypes extends Record<string, unknown> | void = TParentCommandGlobals extends number ? any : {
|
|
36
|
+
number: number;
|
|
37
|
+
integer: number;
|
|
38
|
+
string: string;
|
|
39
|
+
boolean: boolean;
|
|
40
|
+
file: string;
|
|
41
|
+
}, TCommandGlobalTypes extends Record<string, unknown> | void = TParentCommandGlobals extends number ? any : void, TParentCommand extends Command<any> | undefined = TParentCommandGlobals extends number ? any : undefined> {
|
|
42
|
+
private types;
|
|
43
|
+
private rawArgs;
|
|
44
|
+
private literalArgs;
|
|
45
|
+
private _name;
|
|
46
|
+
private _parent?;
|
|
47
|
+
private _globalParent?;
|
|
48
|
+
private ver?;
|
|
49
|
+
private desc;
|
|
50
|
+
private _usage?;
|
|
51
|
+
private actionHandler?;
|
|
52
|
+
private globalActionHandler?;
|
|
53
|
+
private options;
|
|
54
|
+
private commands;
|
|
55
|
+
private examples;
|
|
56
|
+
private envVars;
|
|
57
|
+
private aliases;
|
|
58
|
+
private completions;
|
|
59
|
+
private cmd;
|
|
60
|
+
private argsDefinition?;
|
|
61
|
+
private throwOnError;
|
|
62
|
+
private _allowEmpty;
|
|
63
|
+
private _stopEarly;
|
|
64
|
+
private defaultCommand?;
|
|
65
|
+
private _useRawArgs;
|
|
66
|
+
private args;
|
|
67
|
+
private isHidden;
|
|
68
|
+
private isGlobal;
|
|
69
|
+
private hasDefaults;
|
|
70
|
+
private _versionOptions?;
|
|
71
|
+
private _helpOptions?;
|
|
72
|
+
private _versionOption?;
|
|
73
|
+
private _helpOption?;
|
|
74
|
+
private _help?;
|
|
75
|
+
private _shouldExit?;
|
|
76
|
+
private _meta;
|
|
77
|
+
private _groupName;
|
|
78
|
+
private _noGlobals;
|
|
79
|
+
private errorHandler?;
|
|
80
|
+
/** Disable version option. */
|
|
81
|
+
versionOption(enable: false): this;
|
|
82
|
+
/**
|
|
83
|
+
* Set global version option.
|
|
84
|
+
*
|
|
85
|
+
* @param flags The flags of the version option.
|
|
86
|
+
* @param desc The description of the version option.
|
|
87
|
+
* @param opts Version option options.
|
|
88
|
+
*/
|
|
89
|
+
versionOption(flags: string, desc?: string, opts?: OptionOptions<Partial<TCommandOptions>, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand> & {
|
|
90
|
+
global: true;
|
|
91
|
+
}): this;
|
|
92
|
+
/**
|
|
93
|
+
* Set version option.
|
|
94
|
+
*
|
|
95
|
+
* @param flags The flags of the version option.
|
|
96
|
+
* @param desc The description of the version option.
|
|
97
|
+
* @param opts Version option options.
|
|
98
|
+
*/
|
|
99
|
+
versionOption(flags: string, desc?: string, opts?: OptionOptions<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>): this;
|
|
100
|
+
/**
|
|
101
|
+
* Set version option.
|
|
102
|
+
*
|
|
103
|
+
* @param flags The flags of the version option.
|
|
104
|
+
* @param desc The description of the version option.
|
|
105
|
+
* @param opts The action of the version option.
|
|
106
|
+
*/
|
|
107
|
+
versionOption(flags: string, desc?: string, opts?: ActionHandler<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>): this;
|
|
108
|
+
/** Disable help option. */
|
|
109
|
+
helpOption(enable: false): this;
|
|
110
|
+
/**
|
|
111
|
+
* Set global help option.
|
|
112
|
+
*
|
|
113
|
+
* @param flags The flags of the help option.
|
|
114
|
+
* @param desc The description of the help option.
|
|
115
|
+
* @param opts Help option options.
|
|
116
|
+
*/
|
|
117
|
+
helpOption(flags: string, desc?: string, opts?: OptionOptions<Partial<TCommandOptions>, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand> & {
|
|
118
|
+
global: true;
|
|
119
|
+
}): this;
|
|
120
|
+
/**
|
|
121
|
+
* Set help option.
|
|
122
|
+
*
|
|
123
|
+
* @param flags The flags of the help option.
|
|
124
|
+
* @param desc The description of the help option.
|
|
125
|
+
* @param opts Help option options.
|
|
126
|
+
*/
|
|
127
|
+
helpOption(flags: string, desc?: string, opts?: OptionOptions<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>): this;
|
|
128
|
+
/**
|
|
129
|
+
* Set help option.
|
|
130
|
+
*
|
|
131
|
+
* @param flags The flags of the help option.
|
|
132
|
+
* @param desc The description of the help option.
|
|
133
|
+
* @param opts The action of the help option.
|
|
134
|
+
*/
|
|
135
|
+
helpOption(flags: string, desc?: string, opts?: ActionHandler<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>): this;
|
|
136
|
+
/**
|
|
137
|
+
* Add new sub-command.
|
|
138
|
+
*
|
|
139
|
+
* @param name Command definition. E.g: `my-command <input-file:string> <output-file:string>`
|
|
140
|
+
* @param cmd The new child command to register.
|
|
141
|
+
* @param override Override existing child command.
|
|
142
|
+
*/
|
|
143
|
+
command<TCommand extends Command<(TGlobalOptions & Record<string, unknown>) | void | undefined, TGlobalTypes | void | undefined, Record<string, unknown> | void, Array<unknown>, Record<string, unknown> | void, Record<string, unknown> | void, Record<string, unknown> | void, Command<TGlobalOptions | void | undefined, TGlobalTypes | void | undefined, Record<string, unknown> | void, Array<unknown>, Record<string, unknown> | void, Record<string, unknown> | void, Record<string, unknown> | void, undefined>>, TGlobalOptions extends (TParentCommand extends Command<any> ? TParentCommandGlobals : Merge<TParentCommandGlobals, TCommandGlobals>), TGlobalTypes extends (TParentCommand extends Command<any> ? TParentCommandTypes : Merge<TParentCommandTypes, TCommandTypes>)>(name: string, cmd: TCommand, override?: boolean): ReturnType<TCommand["reset"]> extends Command<Record<string, unknown> | void, Record<string, unknown> | void, infer Options, infer Arguments, infer GlobalOptions, infer Types, infer GlobalTypes, undefined> ? Command<TGlobalOptions, TGlobalTypes, Options, Arguments, GlobalOptions, Types, GlobalTypes, OneOf<TParentCommand, this>> : never;
|
|
144
|
+
/**
|
|
145
|
+
* Add new sub-command.
|
|
146
|
+
*
|
|
147
|
+
* @param name Command definition. E.g: `my-command <input-file:string> <output-file:string>`
|
|
148
|
+
* @param cmd The new child command to register.
|
|
149
|
+
* @param override Override existing child command.
|
|
150
|
+
*/
|
|
151
|
+
command<TCommand extends Command<TGlobalOptions | void | undefined, TGlobalTypes | void | undefined, Record<string, unknown> | void, Array<unknown>, Record<string, unknown> | void, Record<string, unknown> | void, Record<string, unknown> | void, OneOf<TParentCommand, this> | undefined>, TGlobalOptions extends (TParentCommand extends Command<any> ? TParentCommandGlobals : Merge<TParentCommandGlobals, TCommandGlobals>), TGlobalTypes extends (TParentCommand extends Command<any> ? TParentCommandTypes : Merge<TParentCommandTypes, TCommandTypes>)>(name: string, cmd: TCommand, override?: boolean): TCommand extends Command<Record<string, unknown> | void, Record<string, unknown> | void, infer Options, infer Arguments, infer GlobalOptions, infer Types, infer GlobalTypes, OneOf<TParentCommand, this> | undefined> ? Command<TGlobalOptions, TGlobalTypes, Options, Arguments, GlobalOptions, Types, GlobalTypes, OneOf<TParentCommand, this>> : never;
|
|
152
|
+
/**
|
|
153
|
+
* Add new sub-command.
|
|
154
|
+
*
|
|
155
|
+
* @param nameAndArguments Command definition. E.g: `my-command <input-file:string> <output-file:string>`
|
|
156
|
+
* @param desc The description of the new child command.
|
|
157
|
+
* @param override Override existing child command.
|
|
158
|
+
*/
|
|
159
|
+
command<TNameAndArguments extends string, TArguments extends TypedCommandArguments<TNameAndArguments, TParentCommand extends Command<any> ? TParentCommandTypes : Merge<TParentCommandTypes, TCommandGlobalTypes>>>(nameAndArguments: TNameAndArguments, desc?: string, override?: boolean): TParentCommandGlobals extends number ? Command<any> : Command<TParentCommand extends Command<any> ? TParentCommandGlobals : Merge<TParentCommandGlobals, TCommandGlobals>, TParentCommand extends Command<any> ? TParentCommandTypes : Merge<TParentCommandTypes, TCommandGlobalTypes>, void, TArguments, void, void, void, OneOf<TParentCommand, this>>;
|
|
160
|
+
/**
|
|
161
|
+
* Add new command alias.
|
|
162
|
+
*
|
|
163
|
+
* @param alias Tha name of the alias.
|
|
164
|
+
*/
|
|
165
|
+
alias(alias: string): this;
|
|
166
|
+
/** Reset internal command reference to main command. */
|
|
167
|
+
reset(): OneOf<TParentCommand, this>;
|
|
168
|
+
/**
|
|
169
|
+
* Set internal command pointer to child command with given name.
|
|
170
|
+
* @param name The name of the command to select.
|
|
171
|
+
*/
|
|
172
|
+
select<TOptions extends Record<string, unknown> | void = any, TArguments extends Array<unknown> = any, TGlobalOptions extends Record<string, unknown> | void = any>(name: string): Command<TParentCommandGlobals, TParentCommandTypes, TOptions, TArguments, TGlobalOptions, TCommandTypes, TCommandGlobalTypes, TParentCommand>;
|
|
173
|
+
/*****************************************************************************
|
|
174
|
+
**** SUB HANDLER ************************************************************
|
|
175
|
+
*****************************************************************************/
|
|
176
|
+
/** Set command name. Used in auto generated help and shell completions */
|
|
177
|
+
name(name: string): this;
|
|
178
|
+
/**
|
|
179
|
+
* Set command version.
|
|
180
|
+
*
|
|
181
|
+
* @param version Semantic version string string or method that returns the version string.
|
|
182
|
+
*/
|
|
183
|
+
version(version: string | VersionHandler<Partial<TCommandOptions>, Partial<TCommandArguments>, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>): this;
|
|
184
|
+
/**
|
|
185
|
+
* Add meta data. Will be displayed in the auto generated help and in the
|
|
186
|
+
* output of the long version.
|
|
187
|
+
*
|
|
188
|
+
* @param name The name/label of the metadata.
|
|
189
|
+
* @param value The value of the metadata.
|
|
190
|
+
*/
|
|
191
|
+
meta(name: string, value: string): this;
|
|
192
|
+
/** Returns an object of metadata. */
|
|
193
|
+
getMeta(): Record<string, string>;
|
|
194
|
+
/** Get metadata value by name. */
|
|
195
|
+
getMeta(name: string): string;
|
|
196
|
+
/**
|
|
197
|
+
* Set command help.
|
|
198
|
+
*
|
|
199
|
+
* @param help Help string, method, or config for generator that returns the help string.
|
|
200
|
+
*/
|
|
201
|
+
help(help: string | HelpHandler<Partial<TCommandOptions>, Partial<TCommandArguments>, TCommandGlobals, TParentCommandGlobals> | HelpOptions): this;
|
|
202
|
+
/**
|
|
203
|
+
* Set the long command description.
|
|
204
|
+
*
|
|
205
|
+
* @param description The command description.
|
|
206
|
+
*/
|
|
207
|
+
description(description: Description<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>): this;
|
|
208
|
+
/**
|
|
209
|
+
* Set the command usage. Defaults to arguments.
|
|
210
|
+
*
|
|
211
|
+
* @param usage The command usage.
|
|
212
|
+
*/
|
|
213
|
+
usage(usage: string): this;
|
|
214
|
+
/** Hide command from help, completions, etc. */
|
|
215
|
+
hidden(): this;
|
|
216
|
+
/** Make command globally available. */
|
|
217
|
+
global(): this;
|
|
218
|
+
/**
|
|
219
|
+
* Set command arguments.
|
|
220
|
+
*
|
|
221
|
+
* Syntax: `<requiredArg:string> [optionalArg: number] [...restArgs:string]`
|
|
222
|
+
*/
|
|
223
|
+
arguments<TArguments extends TypedArguments<TArgs, Merge<TParentCommandTypes, Merge<TCommandGlobalTypes, TCommandTypes>>>, TArgs extends string = string>(args: TArgs): Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TArguments, TCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommand>;
|
|
224
|
+
/**
|
|
225
|
+
* Set command callback method.
|
|
226
|
+
*
|
|
227
|
+
* @param fn Command action handler.
|
|
228
|
+
*/
|
|
229
|
+
action(fn: ActionHandler<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>): this;
|
|
230
|
+
/**
|
|
231
|
+
* Set command callback method.
|
|
232
|
+
*
|
|
233
|
+
* @param fn Command action handler.
|
|
234
|
+
*/
|
|
235
|
+
globalAction(fn: ActionHandler<Partial<TCommandOptions>, Array<unknown>, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>): this;
|
|
236
|
+
/**
|
|
237
|
+
* Don't throw an error if the command was called without arguments.
|
|
238
|
+
*
|
|
239
|
+
* @param allowEmpty Enable/disable allow empty.
|
|
240
|
+
*/
|
|
241
|
+
allowEmpty<TAllowEmpty extends boolean | undefined = undefined>(allowEmpty?: TAllowEmpty): false extends TAllowEmpty ? this : Command<Partial<TParentCommandGlobals>, TParentCommandTypes, Partial<TCommandOptions>, TCommandArguments, TCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommand>;
|
|
242
|
+
/**
|
|
243
|
+
* Enable stop early. If enabled, all arguments starting from the first non
|
|
244
|
+
* option argument will be passed as arguments with type string to the command
|
|
245
|
+
* action handler.
|
|
246
|
+
*
|
|
247
|
+
* For example:
|
|
248
|
+
* `command --debug-level warning server --port 80`
|
|
249
|
+
*
|
|
250
|
+
* Will result in:
|
|
251
|
+
* - options: `{ debugLevel: 'warning' }`
|
|
252
|
+
* - args: `['server', '--port', '80']`
|
|
253
|
+
*
|
|
254
|
+
* @param stopEarly Enable/disable stop early.
|
|
255
|
+
*/
|
|
256
|
+
stopEarly(stopEarly?: boolean): this;
|
|
257
|
+
/**
|
|
258
|
+
* Disable parsing arguments. If enabled the raw arguments will be passed to
|
|
259
|
+
* the action handler. This has no effect for parent or child commands. Only
|
|
260
|
+
* for the command on which this method was called.
|
|
261
|
+
*
|
|
262
|
+
* @param useRawArgs Enable/disable raw arguments.
|
|
263
|
+
*/
|
|
264
|
+
useRawArgs(useRawArgs?: boolean): Command<void, void, void, Array<string>, void, void, void, TParentCommand>;
|
|
265
|
+
/**
|
|
266
|
+
* Set default command. The default command is executed when the program
|
|
267
|
+
* was called without any argument and if no action handler is registered.
|
|
268
|
+
*
|
|
269
|
+
* @param name Name of the default command.
|
|
270
|
+
*/
|
|
271
|
+
default(name: string): this;
|
|
272
|
+
globalType<THandler extends TypeOrTypeHandler<unknown>, TName extends string = string>(name: TName, handler: THandler, options?: Omit<TypeOptions, "global">): Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TCommandArguments, TCommandGlobals, TCommandTypes, Merge<TCommandGlobalTypes, TypedType<TName, THandler>>, TParentCommand>;
|
|
273
|
+
/**
|
|
274
|
+
* Register custom type.
|
|
275
|
+
*
|
|
276
|
+
* @param name The name of the type.
|
|
277
|
+
* @param handler The callback method to parse the type.
|
|
278
|
+
* @param options Type options.
|
|
279
|
+
*/
|
|
280
|
+
type<THandler extends TypeOrTypeHandler<unknown>, TName extends string = string>(name: TName, handler: THandler, options?: TypeOptions): Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TCommandArguments, TCommandGlobals, Merge<TCommandTypes, TypedType<TName, THandler>>, TCommandGlobalTypes, TParentCommand>;
|
|
281
|
+
/**
|
|
282
|
+
* Register global complete handler.
|
|
283
|
+
*
|
|
284
|
+
* @param name The name of the completion.
|
|
285
|
+
* @param complete The callback method to complete the type.
|
|
286
|
+
* @param options Complete options.
|
|
287
|
+
*/
|
|
288
|
+
globalComplete(name: string, complete: CompleteHandler, options?: Omit<CompleteOptions, "global">): this;
|
|
289
|
+
/**
|
|
290
|
+
* Register global complete handler.
|
|
291
|
+
*
|
|
292
|
+
* @param name The name of the completion.
|
|
293
|
+
* @param complete The callback method to complete the type.
|
|
294
|
+
* @param options Complete options.
|
|
295
|
+
*/
|
|
296
|
+
complete(name: string, complete: CompleteHandler<Partial<TCommandOptions>, Partial<TCommandArguments>, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, any>, options: CompleteOptions & {
|
|
297
|
+
global: boolean;
|
|
298
|
+
}): this;
|
|
299
|
+
/**
|
|
300
|
+
* Register complete handler.
|
|
301
|
+
*
|
|
302
|
+
* @param name The name of the completion.
|
|
303
|
+
* @param complete The callback method to complete the type.
|
|
304
|
+
* @param options Complete options.
|
|
305
|
+
*/
|
|
306
|
+
complete(name: string, complete: CompleteHandler<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>, options?: CompleteOptions): this;
|
|
307
|
+
/**
|
|
308
|
+
* Throw validation errors instead of calling `exit()` to handle
|
|
309
|
+
* validation errors manually.
|
|
310
|
+
*
|
|
311
|
+
* A validation error is thrown when the command is wrongly used by the user.
|
|
312
|
+
* For example: If the user passes some invalid options or arguments to the
|
|
313
|
+
* command.
|
|
314
|
+
*
|
|
315
|
+
* This has no effect for parent commands. Only for the command on which this
|
|
316
|
+
* method was called and all child commands.
|
|
317
|
+
*
|
|
318
|
+
* **Example:**
|
|
319
|
+
*
|
|
320
|
+
* ```ts
|
|
321
|
+
* import { Command, ValidationError } from "./mod.ts";
|
|
322
|
+
*
|
|
323
|
+
* const cmd = new Command();
|
|
324
|
+
* // ...
|
|
325
|
+
*
|
|
326
|
+
* try {
|
|
327
|
+
* cmd.parse();
|
|
328
|
+
* } catch(error) {
|
|
329
|
+
* if (error instanceof ValidationError) {
|
|
330
|
+
* cmd.showHelp();
|
|
331
|
+
* Deno.exit(1);
|
|
332
|
+
* }
|
|
333
|
+
* throw error;
|
|
334
|
+
* }
|
|
335
|
+
* ```
|
|
336
|
+
*
|
|
337
|
+
* @see ValidationError
|
|
338
|
+
*/
|
|
339
|
+
throwErrors(): this;
|
|
340
|
+
/**
|
|
341
|
+
* Set custom error handler.
|
|
342
|
+
*
|
|
343
|
+
* @param handler Error handler callback function.
|
|
344
|
+
*/
|
|
345
|
+
error(handler: ErrorHandler): this;
|
|
346
|
+
/** Get error handler callback function. */
|
|
347
|
+
private getErrorHandler;
|
|
348
|
+
/**
|
|
349
|
+
* Same as `.throwErrors()` but also prevents calling `exit()` after
|
|
350
|
+
* printing help or version with the --help and --version option.
|
|
351
|
+
*/
|
|
352
|
+
noExit(): this;
|
|
353
|
+
/**
|
|
354
|
+
* Disable inheriting global commands, options and environment variables from
|
|
355
|
+
* parent commands.
|
|
356
|
+
*/
|
|
357
|
+
noGlobals(): this;
|
|
358
|
+
/** Check whether the command should throw errors or exit. */
|
|
359
|
+
protected shouldThrowErrors(): boolean;
|
|
360
|
+
/** Check whether the command should exit after printing help or version. */
|
|
361
|
+
protected shouldExit(): boolean;
|
|
362
|
+
/**
|
|
363
|
+
* Enable grouping of options and set the name of the group.
|
|
364
|
+
* All option which are added after calling the `.group()` method will be
|
|
365
|
+
* grouped in the help output. If the `.group()` method can be use multiple
|
|
366
|
+
* times to create more groups.
|
|
367
|
+
*
|
|
368
|
+
* @param name The name of the option group.
|
|
369
|
+
*/
|
|
370
|
+
group(name: string | null): this;
|
|
371
|
+
/**
|
|
372
|
+
* Register a global option.
|
|
373
|
+
*
|
|
374
|
+
* @param flags Flags string e.g: -h, --help, --manual <requiredArg:string> [optionalArg:number] [...restArgs:string]
|
|
375
|
+
* @param desc Flag description.
|
|
376
|
+
* @param opts Flag options or custom handler for processing flag value.
|
|
377
|
+
*/
|
|
378
|
+
globalOption<TFlags extends string, TGlobalOptions extends TypedOption<TFlags, TCommandOptions, Merge<TParentCommandTypes, Merge<TCommandGlobalTypes, TCommandTypes>>, undefined extends TConflicts ? TRequired : false, TDefaultValue>, TMappedGlobalOptions extends MapValue<TGlobalOptions, TMappedValue, TCollect>, TRequired extends OptionOptions["required"] = undefined, TCollect extends OptionOptions["collect"] = undefined, TConflicts extends OptionOptions["conflicts"] = undefined, const TDefaultValue = undefined, TMappedValue = undefined>(flags: TFlags, desc: string, opts?: Omit<GlobalOptionOptions<Partial<TCommandOptions>, TCommandArguments, MergeOptions<TFlags, TCommandGlobals, TGlobalOptions>, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>, "value"> & {
|
|
379
|
+
default?: DefaultValue<TDefaultValue>;
|
|
380
|
+
required?: TRequired;
|
|
381
|
+
collect?: TCollect;
|
|
382
|
+
value?: OptionValueHandler<MapTypes<ValueOf<TGlobalOptions>>, TMappedValue>;
|
|
383
|
+
} | OptionValueHandler<MapTypes<ValueOf<TGlobalOptions>>, TMappedValue>): Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TCommandArguments, MergeOptions<TFlags, TCommandGlobals, TMappedGlobalOptions>, TCommandTypes, TCommandGlobalTypes, TParentCommand>;
|
|
384
|
+
/**
|
|
385
|
+
* Add a global option.
|
|
386
|
+
*
|
|
387
|
+
* @param flags Flags string e.g: -h, --help, --manual <requiredArg:string> [optionalArg:number] [...restArgs:string]
|
|
388
|
+
* @param desc Flag description.
|
|
389
|
+
* @param opts Flag options or custom handler for processing flag value.
|
|
390
|
+
*/
|
|
391
|
+
option<TFlags extends string, TGlobalOptions extends TypedOption<TFlags, TCommandOptions, Merge<TParentCommandTypes, Merge<TCommandGlobalTypes, TCommandTypes>>, undefined extends TConflicts ? TRequired : false, TDefaultValue>, TMappedGlobalOptions extends MapValue<TGlobalOptions, TMappedValue, TCollect>, TRequired extends OptionOptions["required"] = undefined, TCollect extends OptionOptions["collect"] = undefined, TConflicts extends OptionOptions["conflicts"] = undefined, const TDefaultValue = undefined, TMappedValue = undefined>(flags: TFlags, desc: string, opts: Omit<OptionOptions<Partial<TCommandOptions>, TCommandArguments, MergeOptions<TFlags, TCommandGlobals, TGlobalOptions>, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>, "value"> & {
|
|
392
|
+
global: true;
|
|
393
|
+
default?: DefaultValue<TDefaultValue>;
|
|
394
|
+
required?: TRequired;
|
|
395
|
+
collect?: TCollect;
|
|
396
|
+
value?: OptionValueHandler<MapTypes<ValueOf<TGlobalOptions>>, TMappedValue>;
|
|
397
|
+
} | OptionValueHandler<MapTypes<ValueOf<TGlobalOptions>>, TMappedValue>): Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TCommandArguments, MergeOptions<TFlags, TCommandGlobals, TMappedGlobalOptions>, TCommandTypes, TCommandGlobalTypes, TParentCommand>;
|
|
398
|
+
/**
|
|
399
|
+
* Register an option.
|
|
400
|
+
*
|
|
401
|
+
* @param flags Flags string e.g: -h, --help, --manual <requiredArg:string> [optionalArg:number] [...restArgs:string]
|
|
402
|
+
* @param desc Flag description.
|
|
403
|
+
* @param opts Flag options or custom handler for processing flag value.
|
|
404
|
+
*/
|
|
405
|
+
option<TFlags extends string, TOptions extends TypedOption<TFlags, TCommandOptions, Merge<TParentCommandTypes, Merge<TCommandGlobalTypes, TCommandTypes>>, undefined extends TConflicts ? TRequired : false, TDefaultValue>, TMappedOptions extends MapValue<TOptions, TMappedValue, TCollect>, TRequired extends OptionOptions["required"] = undefined, TCollect extends OptionOptions["collect"] = undefined, TConflicts extends OptionOptions["conflicts"] = undefined, const TDefaultValue = undefined, TMappedValue = undefined>(flags: TFlags, desc: string, opts?: Omit<OptionOptions<MergeOptions<TFlags, TCommandOptions, TMappedOptions>, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>, "value"> & {
|
|
406
|
+
default?: DefaultValue<TDefaultValue>;
|
|
407
|
+
required?: TRequired;
|
|
408
|
+
collect?: TCollect;
|
|
409
|
+
conflicts?: TConflicts;
|
|
410
|
+
value?: OptionValueHandler<MapTypes<ValueOf<TOptions>>, TMappedValue>;
|
|
411
|
+
} | OptionValueHandler<MapTypes<ValueOf<TOptions>>, TMappedValue>): Command<TParentCommandGlobals, TParentCommandTypes, MergeOptions<TFlags, TCommandOptions, TMappedOptions>, TCommandArguments, TCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommand>;
|
|
412
|
+
/**
|
|
413
|
+
* Register command example.
|
|
414
|
+
*
|
|
415
|
+
* @param name Name of the example.
|
|
416
|
+
* @param description The content of the example.
|
|
417
|
+
*/
|
|
418
|
+
example(name: string, description: string): this;
|
|
419
|
+
/**
|
|
420
|
+
* @param flags Flags string e.g: -h, --help, --manual <requiredArg:string> [optionalArg:number] [...restArgs:string]
|
|
421
|
+
* @param desc Flag description.
|
|
422
|
+
* @param opts Flag options or custom handler for processing flag value.
|
|
423
|
+
*/
|
|
424
|
+
/**
|
|
425
|
+
* Register a global environment variable.
|
|
426
|
+
*
|
|
427
|
+
* @param name Name of the environment variable.
|
|
428
|
+
* @param description The description of the environment variable.
|
|
429
|
+
* @param options Environment variable options.
|
|
430
|
+
*/
|
|
431
|
+
globalEnv<TNameAndValue extends string, TGlobalEnvVars extends TypedEnv<TNameAndValue, TPrefix, TCommandOptions, Merge<TParentCommandTypes, Merge<TCommandGlobalTypes, TCommandTypes>>, TRequired>, TMappedGlobalEnvVars extends MapValue<TGlobalEnvVars, TMappedValue>, TRequired extends EnvVarOptions["required"] = undefined, TPrefix extends EnvVarOptions["prefix"] = undefined, TMappedValue = undefined>(name: TNameAndValue, description: string, options?: Omit<GlobalEnvVarOptions, "value"> & {
|
|
432
|
+
required?: TRequired;
|
|
433
|
+
prefix?: TPrefix;
|
|
434
|
+
value?: EnvVarValueHandler<MapTypes<ValueOf<TGlobalEnvVars>>, TMappedValue>;
|
|
435
|
+
}): Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TCommandArguments, Merge<TCommandGlobals, TMappedGlobalEnvVars>, TCommandTypes, TCommandGlobalTypes, TParentCommand>;
|
|
436
|
+
/**
|
|
437
|
+
* Register a global environment variable.
|
|
438
|
+
*
|
|
439
|
+
* @param name Name of the environment variable.
|
|
440
|
+
* @param description The description of the environment variable.
|
|
441
|
+
* @param options Environment variable options.
|
|
442
|
+
*/
|
|
443
|
+
env<N extends string, G extends TypedEnv<N, P, TCommandOptions, Merge<TParentCommandTypes, Merge<TCommandGlobalTypes, TCommandTypes>>, R>, MG extends MapValue<G, V>, R extends EnvVarOptions["required"] = undefined, P extends EnvVarOptions["prefix"] = undefined, V = undefined>(name: N, description: string, options: Omit<EnvVarOptions, "value"> & {
|
|
444
|
+
global: true;
|
|
445
|
+
required?: R;
|
|
446
|
+
prefix?: P;
|
|
447
|
+
value?: EnvVarValueHandler<MapTypes<ValueOf<G>>, V>;
|
|
448
|
+
}): Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TCommandArguments, Merge<TCommandGlobals, MG>, TCommandTypes, TCommandGlobalTypes, TParentCommand>;
|
|
449
|
+
/**
|
|
450
|
+
* Register an environment variable.
|
|
451
|
+
*
|
|
452
|
+
* @param name Name of the environment variable.
|
|
453
|
+
* @param description The description of the environment variable.
|
|
454
|
+
* @param options Environment variable options.
|
|
455
|
+
*/
|
|
456
|
+
env<TNameAndValue extends string, TEnvVar extends TypedEnv<TNameAndValue, TPrefix, TCommandOptions, Merge<TParentCommandTypes, Merge<TCommandGlobalTypes, TCommandTypes>>, TRequired>, TMappedEnvVar extends MapValue<TEnvVar, TMappedValue>, TRequired extends EnvVarOptions["required"] = undefined, TPrefix extends EnvVarOptions["prefix"] = undefined, TMappedValue = undefined>(name: TNameAndValue, description: string, options?: Omit<EnvVarOptions, "value"> & {
|
|
457
|
+
required?: TRequired;
|
|
458
|
+
prefix?: TPrefix;
|
|
459
|
+
value?: EnvVarValueHandler<MapTypes<ValueOf<TEnvVar>>, TMappedValue>;
|
|
460
|
+
}): Command<TParentCommandGlobals, TParentCommandTypes, Merge<TCommandOptions, TMappedEnvVar>, TCommandArguments, TCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommand>;
|
|
461
|
+
/*****************************************************************************
|
|
462
|
+
**** MAIN HANDLER ***********************************************************
|
|
463
|
+
*****************************************************************************/
|
|
464
|
+
/**
|
|
465
|
+
* Parse command line arguments and execute matched command.
|
|
466
|
+
*
|
|
467
|
+
* @param args Command line args to parse. Ex: `cmd.parse( Deno.args )`
|
|
468
|
+
*/
|
|
469
|
+
parse(args?: string[]): Promise<TParentCommand extends Command<any> ? CommandResult<Record<string, unknown>, Array<unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, undefined> : CommandResult<MapTypes<TCommandOptions>, MapTypes<TCommandArguments>, MapTypes<TCommandGlobals>, MapTypes<TParentCommandGlobals>, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>>;
|
|
470
|
+
private parseCommand;
|
|
471
|
+
private getSubCommand;
|
|
472
|
+
private parseGlobalOptionsAndEnvVars;
|
|
473
|
+
private parseOptionsAndEnvVars;
|
|
474
|
+
/** Register default options like `--version` and `--help`. */
|
|
475
|
+
private registerDefaults;
|
|
476
|
+
/**
|
|
477
|
+
* Execute command.
|
|
478
|
+
* @param options A map of options.
|
|
479
|
+
* @param args Command arguments.
|
|
480
|
+
*/
|
|
481
|
+
private execute;
|
|
482
|
+
private executeGlobalAction;
|
|
483
|
+
/** Parse raw command line arguments. */
|
|
484
|
+
protected parseOptions(ctx: ParseContext, options: Option[], { stopEarly, stopOnUnknown, dotted, }?: ParseOptionsOptions): void;
|
|
485
|
+
/** Parse argument type. */
|
|
486
|
+
protected parseType(type: ArgumentValue): unknown;
|
|
487
|
+
/**
|
|
488
|
+
* Read and validate environment variables.
|
|
489
|
+
* @param ctx Parse context.
|
|
490
|
+
* @param envVars env vars defined by the command.
|
|
491
|
+
* @param validate when true, throws an error if a required env var is missing.
|
|
492
|
+
*/
|
|
493
|
+
protected parseEnvVars(ctx: ParseContext, envVars: Array<EnvVar>, validate?: boolean): Promise<void>;
|
|
494
|
+
protected findEnvVar(names: readonly string[]): Promise<{
|
|
495
|
+
name: string;
|
|
496
|
+
value: string;
|
|
497
|
+
} | undefined>;
|
|
498
|
+
/**
|
|
499
|
+
* Parse command-line arguments.
|
|
500
|
+
* @param ctx Parse context.
|
|
501
|
+
* @param options Parsed command line options.
|
|
502
|
+
*/
|
|
503
|
+
protected parseArguments(ctx: ParseContext, options: Record<string, unknown>): TCommandArguments;
|
|
504
|
+
private handleError;
|
|
505
|
+
/**
|
|
506
|
+
* Handle error. If `throwErrors` is enabled the error will be thrown,
|
|
507
|
+
* otherwise a formatted error message will be printed and `exit(1)`
|
|
508
|
+
* will be called. This will also trigger registered error handlers.
|
|
509
|
+
*
|
|
510
|
+
* @param error The error to handle.
|
|
511
|
+
*/
|
|
512
|
+
throw(error: Error): never;
|
|
513
|
+
/*****************************************************************************
|
|
514
|
+
**** GETTER *****************************************************************
|
|
515
|
+
*****************************************************************************/
|
|
516
|
+
/** Get command name. */
|
|
517
|
+
getName(): string;
|
|
518
|
+
/** Get parent command. */
|
|
519
|
+
getParent(): TParentCommand;
|
|
520
|
+
/**
|
|
521
|
+
* Get parent command from global executed command.
|
|
522
|
+
* Be sure, to call this method only inside an action handler. Unless this or any child command was executed,
|
|
523
|
+
* this method returns always undefined.
|
|
524
|
+
*/
|
|
525
|
+
getGlobalParent(): Command<any> | undefined;
|
|
526
|
+
/** Get main command. */
|
|
527
|
+
getMainCommand(): Command<any>;
|
|
528
|
+
/** Get command name aliases. */
|
|
529
|
+
getAliases(): string[];
|
|
530
|
+
/**
|
|
531
|
+
* Get full command path.
|
|
532
|
+
*
|
|
533
|
+
* @param name Override the main command name.
|
|
534
|
+
*/
|
|
535
|
+
getPath(name?: string): string;
|
|
536
|
+
/** Get arguments definition. E.g: <input-file:string> <output-file:string> */
|
|
537
|
+
getArgsDefinition(): string | undefined;
|
|
538
|
+
/**
|
|
539
|
+
* Get argument by name.
|
|
540
|
+
*
|
|
541
|
+
* @param name Name of the argument.
|
|
542
|
+
*/
|
|
543
|
+
getArgument(name: string): Argument | undefined;
|
|
544
|
+
/** Get arguments. */
|
|
545
|
+
getArguments(): Argument[];
|
|
546
|
+
/** Check if command has arguments. */
|
|
547
|
+
hasArguments(): boolean;
|
|
548
|
+
/** Get command version. */
|
|
549
|
+
getVersion(): string | undefined;
|
|
550
|
+
/** Get help handler method. */
|
|
551
|
+
private getVersionHandler;
|
|
552
|
+
/** Get command description. */
|
|
553
|
+
getDescription(): string;
|
|
554
|
+
/** Get auto generated command usage. */
|
|
555
|
+
getUsage(): string;
|
|
556
|
+
private getRequiredOptionsDefinition;
|
|
557
|
+
/** Get short command description. This is the first line of the description. */
|
|
558
|
+
getShortDescription(): string;
|
|
559
|
+
/** Get original command-line arguments. */
|
|
560
|
+
getRawArgs(): string[];
|
|
561
|
+
/** Get all arguments defined after the double dash. */
|
|
562
|
+
getLiteralArgs(): string[];
|
|
563
|
+
/** Output generated help without exiting. */
|
|
564
|
+
showVersion(): void;
|
|
565
|
+
/** Returns command name, version and meta data. */
|
|
566
|
+
getLongVersion(): string;
|
|
567
|
+
/** Outputs command name, version and meta data. */
|
|
568
|
+
showLongVersion(): void;
|
|
569
|
+
/** Output generated help without exiting. */
|
|
570
|
+
showHelp(options?: HelpOptions): void;
|
|
571
|
+
/** Get generated help. */
|
|
572
|
+
getHelp(options?: HelpOptions): string;
|
|
573
|
+
/** Get help handler method. */
|
|
574
|
+
private getHelpHandler;
|
|
575
|
+
private exit;
|
|
576
|
+
/*****************************************************************************
|
|
577
|
+
**** Options GETTER *********************************************************
|
|
578
|
+
*****************************************************************************/
|
|
579
|
+
/**
|
|
580
|
+
* Checks whether the command has options or not.
|
|
581
|
+
*
|
|
582
|
+
* @param hidden Include hidden options.
|
|
583
|
+
*/
|
|
584
|
+
hasOptions(hidden?: boolean): boolean;
|
|
585
|
+
/**
|
|
586
|
+
* Get options.
|
|
587
|
+
*
|
|
588
|
+
* @param hidden Include hidden options.
|
|
589
|
+
*/
|
|
590
|
+
getOptions(hidden?: boolean): Option[];
|
|
591
|
+
/**
|
|
592
|
+
* Get base options.
|
|
593
|
+
*
|
|
594
|
+
* @param hidden Include hidden options.
|
|
595
|
+
*/
|
|
596
|
+
getBaseOptions(hidden?: boolean): Option[];
|
|
597
|
+
/**
|
|
598
|
+
* Get global options.
|
|
599
|
+
*
|
|
600
|
+
* @param hidden Include hidden options.
|
|
601
|
+
*/
|
|
602
|
+
getGlobalOptions(hidden?: boolean): Option[];
|
|
603
|
+
/**
|
|
604
|
+
* Checks whether the command has an option with given name or not.
|
|
605
|
+
*
|
|
606
|
+
* @param name Name of the option. Must be in param-case.
|
|
607
|
+
* @param hidden Include hidden options.
|
|
608
|
+
*/
|
|
609
|
+
hasOption(name: string, hidden?: boolean): boolean;
|
|
610
|
+
/**
|
|
611
|
+
* Get option by name.
|
|
612
|
+
*
|
|
613
|
+
* @param name Name of the option. Must be in param-case.
|
|
614
|
+
* @param hidden Include hidden options.
|
|
615
|
+
*/
|
|
616
|
+
getOption(name: string, hidden?: boolean): Option | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* Get base option by name.
|
|
619
|
+
*
|
|
620
|
+
* @param name Name of the option. Must be in param-case.
|
|
621
|
+
* @param hidden Include hidden options.
|
|
622
|
+
*/
|
|
623
|
+
getBaseOption(name: string, hidden?: boolean): Option | undefined;
|
|
624
|
+
/**
|
|
625
|
+
* Get global option from parent commands by name.
|
|
626
|
+
*
|
|
627
|
+
* @param name Name of the option. Must be in param-case.
|
|
628
|
+
* @param hidden Include hidden options.
|
|
629
|
+
*/
|
|
630
|
+
getGlobalOption(name: string, hidden?: boolean): Option | undefined;
|
|
631
|
+
/**
|
|
632
|
+
* Remove option by name.
|
|
633
|
+
*
|
|
634
|
+
* @param name Name of the option. Must be in param-case.
|
|
635
|
+
*/
|
|
636
|
+
removeOption(name: string): Option | undefined;
|
|
637
|
+
/**
|
|
638
|
+
* Checks whether the command has sub-commands or not.
|
|
639
|
+
*
|
|
640
|
+
* @param hidden Include hidden commands.
|
|
641
|
+
*/
|
|
642
|
+
hasCommands(hidden?: boolean): boolean;
|
|
643
|
+
/**
|
|
644
|
+
* Get commands.
|
|
645
|
+
*
|
|
646
|
+
* @param hidden Include hidden commands.
|
|
647
|
+
*/
|
|
648
|
+
getCommands(hidden?: boolean): Array<Command<any>>;
|
|
649
|
+
/**
|
|
650
|
+
* Get base commands.
|
|
651
|
+
*
|
|
652
|
+
* @param hidden Include hidden commands.
|
|
653
|
+
*/
|
|
654
|
+
getBaseCommands(hidden?: boolean): Array<Command<any>>;
|
|
655
|
+
/**
|
|
656
|
+
* Get global commands.
|
|
657
|
+
*
|
|
658
|
+
* @param hidden Include hidden commands.
|
|
659
|
+
*/
|
|
660
|
+
getGlobalCommands(hidden?: boolean): Array<Command<any>>;
|
|
661
|
+
/**
|
|
662
|
+
* Checks whether a child command exists by given name or alias.
|
|
663
|
+
*
|
|
664
|
+
* @param name Name or alias of the command.
|
|
665
|
+
* @param hidden Include hidden commands.
|
|
666
|
+
*/
|
|
667
|
+
hasCommand(name: string, hidden?: boolean): boolean;
|
|
668
|
+
/**
|
|
669
|
+
* Get command by name or alias.
|
|
670
|
+
*
|
|
671
|
+
* @param name Name or alias of the command.
|
|
672
|
+
* @param hidden Include hidden commands.
|
|
673
|
+
*/
|
|
674
|
+
getCommand<TCommand extends Command<any>>(name: string, hidden?: boolean): TCommand | undefined;
|
|
675
|
+
/**
|
|
676
|
+
* Get base command by name or alias.
|
|
677
|
+
*
|
|
678
|
+
* @param name Name or alias of the command.
|
|
679
|
+
* @param hidden Include hidden commands.
|
|
680
|
+
*/
|
|
681
|
+
getBaseCommand<TCommand extends Command<any>>(name: string, hidden?: boolean): TCommand | undefined;
|
|
682
|
+
/**
|
|
683
|
+
* Get global command by name or alias.
|
|
684
|
+
*
|
|
685
|
+
* @param name Name or alias of the command.
|
|
686
|
+
* @param hidden Include hidden commands.
|
|
687
|
+
*/
|
|
688
|
+
getGlobalCommand<TCommand extends Command<any>>(name: string, hidden?: boolean): TCommand | undefined;
|
|
689
|
+
/**
|
|
690
|
+
* Remove sub-command by name or alias.
|
|
691
|
+
*
|
|
692
|
+
* @param name Name or alias of the command.
|
|
693
|
+
*/
|
|
694
|
+
removeCommand(name: string): Command<any> | undefined;
|
|
695
|
+
/** Get types. */
|
|
696
|
+
getTypes(): Array<TypeDef>;
|
|
697
|
+
/** Get base types. */
|
|
698
|
+
getBaseTypes(): Array<TypeDef>;
|
|
699
|
+
/** Get global types. */
|
|
700
|
+
getGlobalTypes(): Array<TypeDef>;
|
|
701
|
+
/**
|
|
702
|
+
* Get type by name.
|
|
703
|
+
*
|
|
704
|
+
* @param name Name of the type.
|
|
705
|
+
*/
|
|
706
|
+
getType(name: string): TypeDef | undefined;
|
|
707
|
+
/**
|
|
708
|
+
* Get base type by name.
|
|
709
|
+
*
|
|
710
|
+
* @param name Name of the type.
|
|
711
|
+
*/
|
|
712
|
+
getBaseType(name: string): TypeDef | undefined;
|
|
713
|
+
/**
|
|
714
|
+
* Get global type by name.
|
|
715
|
+
*
|
|
716
|
+
* @param name Name of the type.
|
|
717
|
+
*/
|
|
718
|
+
getGlobalType(name: string): TypeDef | undefined;
|
|
719
|
+
/** Get completions. */
|
|
720
|
+
getCompletions(): Completion<any, any, any, any, any, any, any, any>[];
|
|
721
|
+
/** Get base completions. */
|
|
722
|
+
getBaseCompletions(): Completion[];
|
|
723
|
+
/** Get global completions. */
|
|
724
|
+
getGlobalCompletions(): Completion[];
|
|
725
|
+
/**
|
|
726
|
+
* Get completion by name.
|
|
727
|
+
*
|
|
728
|
+
* @param name Name of the completion.
|
|
729
|
+
*/
|
|
730
|
+
getCompletion(name: string): Completion | undefined;
|
|
731
|
+
/**
|
|
732
|
+
* Get base completion by name.
|
|
733
|
+
*
|
|
734
|
+
* @param name Name of the completion.
|
|
735
|
+
*/
|
|
736
|
+
getBaseCompletion(name: string): Completion | undefined;
|
|
737
|
+
/**
|
|
738
|
+
* Get global completions by name.
|
|
739
|
+
*
|
|
740
|
+
* @param name Name of the completion.
|
|
741
|
+
*/
|
|
742
|
+
getGlobalCompletion(name: string): Completion | undefined;
|
|
743
|
+
/**
|
|
744
|
+
* Checks whether the command has environment variables or not.
|
|
745
|
+
*
|
|
746
|
+
* @param hidden Include hidden environment variable.
|
|
747
|
+
*/
|
|
748
|
+
hasEnvVars(hidden?: boolean): boolean;
|
|
749
|
+
/**
|
|
750
|
+
* Get environment variables.
|
|
751
|
+
*
|
|
752
|
+
* @param hidden Include hidden environment variable.
|
|
753
|
+
*/
|
|
754
|
+
getEnvVars(hidden?: boolean): EnvVar[];
|
|
755
|
+
/**
|
|
756
|
+
* Get base environment variables.
|
|
757
|
+
*
|
|
758
|
+
* @param hidden Include hidden environment variable.
|
|
759
|
+
*/
|
|
760
|
+
getBaseEnvVars(hidden?: boolean): EnvVar[];
|
|
761
|
+
/**
|
|
762
|
+
* Get global environment variables.
|
|
763
|
+
*
|
|
764
|
+
* @param hidden Include hidden environment variable.
|
|
765
|
+
*/
|
|
766
|
+
getGlobalEnvVars(hidden?: boolean): EnvVar[];
|
|
767
|
+
/**
|
|
768
|
+
* Checks whether the command has an environment variable with given name or not.
|
|
769
|
+
*
|
|
770
|
+
* @param name Name of the environment variable.
|
|
771
|
+
* @param hidden Include hidden environment variable.
|
|
772
|
+
*/
|
|
773
|
+
hasEnvVar(name: string, hidden?: boolean): boolean;
|
|
774
|
+
/**
|
|
775
|
+
* Get environment variable by name.
|
|
776
|
+
*
|
|
777
|
+
* @param name Name of the environment variable.
|
|
778
|
+
* @param hidden Include hidden environment variable.
|
|
779
|
+
*/
|
|
780
|
+
getEnvVar(name: string, hidden?: boolean): EnvVar | undefined;
|
|
781
|
+
/**
|
|
782
|
+
* Get base environment variable by name.
|
|
783
|
+
*
|
|
784
|
+
* @param name Name of the environment variable.
|
|
785
|
+
* @param hidden Include hidden environment variable.
|
|
786
|
+
*/
|
|
787
|
+
getBaseEnvVar(name: string, hidden?: boolean): EnvVar | undefined;
|
|
788
|
+
/**
|
|
789
|
+
* Get global environment variable by name.
|
|
790
|
+
*
|
|
791
|
+
* @param name Name of the environment variable.
|
|
792
|
+
* @param hidden Include hidden environment variable.
|
|
793
|
+
*/
|
|
794
|
+
getGlobalEnvVar(name: string, hidden?: boolean): EnvVar | undefined;
|
|
795
|
+
/** Checks whether the command has examples or not. */
|
|
796
|
+
hasExamples(): boolean;
|
|
797
|
+
/** Get all examples. */
|
|
798
|
+
getExamples(): Example[];
|
|
799
|
+
/** Checks whether the command has an example with given name or not. */
|
|
800
|
+
hasExample(name: string): boolean;
|
|
801
|
+
/** Get example with given name. */
|
|
802
|
+
getExample(name: string): Example | undefined;
|
|
803
|
+
private getHelpOption;
|
|
804
|
+
}
|
|
805
|
+
interface ParseContext extends ParseFlagsContext<Record<string, unknown>> {
|
|
806
|
+
actions: Array<ActionHandler>;
|
|
807
|
+
env: Record<string, unknown>;
|
|
808
|
+
}
|
|
809
|
+
interface ParseOptionsOptions {
|
|
810
|
+
stopEarly?: boolean;
|
|
811
|
+
stopOnUnknown?: boolean;
|
|
812
|
+
dotted?: boolean;
|
|
813
|
+
}
|
|
814
|
+
export {};
|
|
815
|
+
//# sourceMappingURL=command.d.ts.map
|