unjs-citty

Featured

ALWAYS use when writing code importing "citty". Consult for debugging, best practices, or modifying citty.

DevOps & Infrastructure 307 stars 9 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# unjs/citty `citty` **Version:** 0.2.1 (yesterday) **Tags:** latest: 0.2.1 (yesterday) **References:** [package.json](./.skilld/pkg/package.json) • [README](./.skilld/pkg/README.md) • [GitHub Issues](./.skilld/issues/_INDEX.md) • [Releases](./.skilld/releases/_INDEX.md) ## Search Use `npx -y skilld search` instead of grepping `.skilld/` directories — hybrid semantic + keyword search across all indexed docs, issues, and releases. ```bash npx -y skilld search "query" -p citty npx -y skilld search "issues:error handling" -p citty npx -y skilld search "releases:deprecated" -p citty ``` Filters: `docs:`, `issues:`, `releases:` prefix narrows by source type. ## API Changes ⚠️ **ESM-only** — v0.2.0 ships ESM only, `require('citty')` no longer works [source](./releases/v0.2.0.md) ⚠️ **`node:util.parseArgs` internally** — v0.2.0 replaced custom parser with Node.js native `util.parseArgs`, edge cases around arg parsing may differ from v0.1.x [source](./releases/v0.2.0.md) ⚠️ **Optional args type `T | undefined`** — v0.2.0 improved type inference: args without `required: true` or `default` now correctly type as `T | undefined` instead of `T` [source](./releases/v0.2.0.md) ⚠️ **`--no-` negation conditionally printed** — v0.2.0 only shows `--no-<flag>` in usage when `negativeDescription` is set; previously always shown [source](./releases/v0.2.0.md) ✨ `type: "enum"` — new arg type in v0.2.0, requires `options: string[]` array. Typed as union of options values [source](./relea...

Details

Author
skilld-dev
Repository
skilld-dev/skilld
Created
7 months ago
Last Updated
4 days ago
Language
Rust
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category