Type Flag

Use when working with type-flag or building CLIs on top of it (e.g. cleye). Strongly-typed Node.js argv parser: schema syntax (String/Number/Boolean, arrays, custom parser functions, Standard Schema validators like Zod/Valibot/ArkType, aliases, defaults, single-char names), return shape (flags/unknownFlags/positional args), flag forms (long/short/grouping, =/:/. delimiters, kebab/camelCase), boolean negation via `--no-`, and the `ignore` callback for multi-command dispatch.

privatenumber 8c1973b 6.8 KB Updated

File contents

privatenumber/type-flag/tree/main/skills/type-flag commit 8c1973b7f7

Frequently asked questions

npx skillmds@latest add privatenumber/type-flag