cmd-ts
cmd-ts copied to clipboard
💻 A type-driven command line argument parser
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@changesets/cli](https://redirect.github.com/changesets/changesets/tree/main#readme) ([source](https://redirect.github.com/changesets/changesets)) | [`2.23.2` ->...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [node-fetch](https://togithub.com/node-fetch/node-fetch) | [`2.6.7` -> `3.3.2`](https://renovatebot.com/diffs/npm/node-fetch/2.6.7/3.3.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. > [!WARNING] These dependencies are deprecated: | Datasource | Name | Replacement PR? |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.23.8` -> `0.23.14`](https://renovatebot.com/diffs/npm/typedoc/0.23.8/0.23.14) |...
## Example ```ts import * as cmd from "cmd-ts"; cmd.command({ name: 'regression', args: { target: cmd.option({ type: cmd.oneOf(['stable', 'canary']), long: 'target', defaultValue() { return 'stable'; // Error } }), });...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chalk](https://togithub.com/chalk/chalk) | [`^4.0.0` -> `^5.0.0`](https://renovatebot.com/diffs/npm/chalk/4.1.2/5.2.0) | [](https://docs.renovatebot.com/merge-confidence/)...
As a convenience factor on binaries that contain many subcommands, I find it very helpful to print out help if someone calls the command with zero arguments. Would be really...
Something like: 1. dynamic command implementations will allow to lazily load the dependency tree instead of forcing cmd-ts apps to be imported sync ```ts subcommands({ cmds: { hello: async ()...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [strip-ansi](https://togithub.com/chalk/strip-ansi) | [`^6.0.0` -> `^7.0.0`](https://renovatebot.com/diffs/npm/strip-ansi/6.0.1/7.0.1) | [](https://docs.renovatebot.com/merge-confidence/)...
Awesome library. I'm currently using `cmd-ts` within a [Deno](https://github.com/denoland/deno) application. Everything behaves beautifully with one exception: at the end of every run is an error related to (what appears to...