cmd-ts
cmd-ts copied to clipboard
💻 A type-driven command line argument parser
I'm porting a program that has a flag with only a short key but not a long key. `flag` requires the long key, so I can't port this program without...
This repo lists https://cmd-ts.now.sh/ as its URL, which redirects to https://cmd-ts.vercel.app/ https://cmd-ts.vercel.app/parsers/flags.html includes this example, which causes inscrutable type-checking errors: ``` import { command, boolean, flag } from 'cmd-ts'; const...
1. Create a program that takes a string as a positional argument (e.g. the one below). 2. Run `command -- --` Expected: The program receives `--` as the string for...
Similar to `clap`: https://docs.rs/clap/latest/clap/struct.Command.html#method.group As a motivating example, I'm working on a program that takes a positional string and I want to support streaming standard input. I don't want to...
It is common for programs to print either full help or at least an abbreviated help if no arguments are provided. (For example, `clap does this.) If there are any...
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [typedoc](https://typedoc.org) ([source](https://redirect.github.com/TypeStrong/TypeDoc)) | [`0.28.5` -> `0.28.15`](https://renovatebot.com/diffs/npm/typedoc/0.28.5/0.28.15) |  |  | --- ###...
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [strip-ansi](https://redirect.github.com/chalk/strip-ansi) | [`7.1.0` -> `7.1.2`](https://renovatebot.com/diffs/npm/strip-ansi/7.1.0/7.1.2) |  |  | --- ### Release...
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [fs-extra](https://redirect.github.com/jprichardson/node-fs-extra) | [`11.3.0` -> `11.3.2`](https://renovatebot.com/diffs/npm/fs-extra/11.3.0/11.3.2) |  |  | --- ### Release...
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [debug](https://redirect.github.com/debug-js/debug) | [`4.4.1` -> `4.4.3`](https://renovatebot.com/diffs/npm/debug/4.4.1/4.4.3) |  |  | --- ### Release...
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@types/request](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/request) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/request)) | [`2.48.12` -> `2.48.13`](https://renovatebot.com/diffs/npm/@types%2frequest/2.48.12/2.48.13) |  |  | --- ###...