clipanion icon indicating copy to clipboard operation
clipanion copied to clipboard

Type-safe CLI library / framework with no runtime dependencies

Results 47 clipanion issues
Sort by recently updated
recently updated
newest added

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: ![image](https://github.com/arcanis/clipanion/assets/17498172/5dd08fb0-76e3-42d5-8efc-1a47d01a21de) ``` 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"`...

![image](https://github.com/arcanis/clipanion/assets/20600238/f9c3542e-a56b-4260-85f1-8b66490543ab) 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.