clipanion
clipanion copied to clipboard
Type-safe CLI library / framework with no runtime dependencies
When an error is thrown the `cause` property is not included in the output ```js import { runExit, Command } from 'clipanion'; runExit( class extends Command { async execute() {...
Hi! I'm getting this in Chrome when attempting to visit your documentation site:  ``` This site can’t provide a secure connectionmael.dev uses an unsupported protocol. ERR_SSL_VERSION_OR_CIPHER_MISMATCH Unsupported protocol The...
I would expect TS compiler to warn me when defining e.g.: ```ts choice = Option.String("--choice", "d", { description: "Choice option", validator: t.isEnum(["a", "b", "c"] as const), }); ``` that `"d"`...
 fixing 'ERR_INVALID_ARG_TYPE'
```ts export class FooCommand extends Command { static paths = [['foo']] idList = Option.Rest({ name: 'id list', }) extraArgs = Option.Proxy() async execute() { } } ``` when exec `cli...
applyCascade is deprecated in typanion. Updating documentation here with suggested method cascade instead of applyCascade
Apply the suggestion from https://github.com/arcanis/clipanion/issues/141, also fixes https://github.com/arcanis/clipanion/issues/145.