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

```ts // don't use well known ports const isPort = isOneOf( [isLiteral(0), cascade(isNumber(), isInteger(), isPositive(), isInInclusiveRange(1024, 65535))], { exclusive: true }, ) export class App extends Command { readonly port...

for example on https://mael.dev/clipanion/docs/paths what is the command I would run? the reason I want this is I've been trying to figure out how to do --port, but from these...

``` metadata = Option.Boolean('--metadata', true, { description: 'keep metadata', }) ``` I have a Boolean option, and defaults to `true`, in case we want to turn off default true, when...

Reproduction: https://replit.com/@AndrewBradley/clipanion-repro (clicking "run" is not wired up, but the code is in "index.ts" and the shell can be used to run `node ./dist/index.js`) When a subcommand `foo` has a...

Fixes #105 This is maybe a breaking change but you could also argue it's a bugfix that prevents undefined behavior.

This PR implements support for shell completions of all argument types. It's still a WIP, but I'm getting really really really close to having the first iteration ready for review....

See https://github.com/microsoft/TypeScript/issues/46770#issuecomment-966612103 for detail, in `nodenext` module resolution it requires a full filename including extension

# Context Consider this code: ```ts const { Command } = require('clipanion'); class TypecheckCommand extends Command { static paths = [['typecheck']]; ... } class TypecheckStopCommand extends Command { static paths...

Tracked this down to clipanion and typanion. Leaving workspaces in 'package.json' causes yarn to whine, even though they're in `node_modules`, which I figured it'd ignore, but noooooooo > ➜ root...