type-flag icon indicating copy to clipboard operation
type-flag copied to clipboard

⛳️ Typed command-line arguments parser for Node.js

Results 4 type-flag issues
Sort by recently updated
recently updated
newest added

TypeScript 5 added `const` Type Parameters, which I think can help with simplifying the inference logic: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#const-type-parameters

### Problem Using the output of the latest `develop` branch with cleye breaks its types. Screenshot below: I used `git bisect` to find what change broke it (In case you...

bug

Closes #26 Changes: - removed the check against 1-character `flagName`s - added a check against 1-character flags with an alias defined Tests: - removed the test making sure 1-character flags...

### Feature request It would be good to be able to define a flag that's only one character. ### Motivations I came across it while implementing [trpc-cli](https://github.com/mmkal/trpc-cli), which uses `cleye`...

enhancement
pr welcome