Releases: unjs/citty
Releases · unjs/citty
v0.2.0
Note
🌟 citty is now zero dependency reducing install size from 267kB to 22.8kB
🚀 Enhancements
- Support
hiddenmeta to hide command (#111) - Support
enumarg type (#83) - Support
negativeDescriptionfor args (#40) ⚠️ Parsed optionals and enum type safety (#174)
🩹 Fixes
⚠️ Conditionally print negative boolean argument usage (#177)- types: Value type of NumberArgDef should be number (#183)
- Show cli error message (#186)
- Allow
numberarg to be optional (#194)
💅 Refactors
- Show error once (#167)
- More strict types (f597897)
⚠️ Usenode:util.parseArgsfor arg parsing (#218)- Use simple console formatting (#219)
📦 Build
⚠️ ESM-only dist (42b57b0)
🏡 Chore
- Fix typos (#143)
✅ Tests
- Add unit tests for internal utils (#77)
- Add test for args (#160)
- Add test for runMain (#162)
- Add test for usage (#161)
- Add test for parser (#192)
- Add test for subcommand (#191)
❤️ Contributors
- Pooya Parsa (@pi0)
- Kricsleo (@kricsleo)
- Kanon (@ysknsid25)
- Bobbie Goede (@BobbieGoede)
- Estéban (@Barbapapazes)
- IWANABETHATGUY (@IWANABETHATGUY)
- Kentaro Suzuki (@sushichan044)
- Xjccc (@xjccc)
- Zuixinwang (@zuixinwang)
- K-Sato
- Lsh (@peterroe)
v0.1.6
v0.1.5
v0.1.4
🚀 Enhancements
🩹 Fixes
- Do not throw an error when no subcommand is specified but the main has
run(#58)
❤️ Contributors
- 三咲智子 Kevin Deng [email protected]
- Estéban (@Barbapapazes)
- Pooya Parsa (@pi0)
v0.1.3
🩹 Fixes
- Allow string[] in arg signature (#56)
🏡 Chore
🤖 CI
- Use conventional commit for autofix action (#50)
❤️ Contributors
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Muhammad Mahmoud (@MuhammadM1998)
v0.1.2
🚀 Enhancements
- usage: Resolve sub commands for meta description (#32)
- Use consola for output formatting (bf5de7f)
- runCommand: Allow passing custom
data(4abc848)
🩹 Fixes
🏡 Chore
- Lint code (5e56aa9)
- Update dependencies (7724079)
- Update dependencies (59aeecd)
- Add autofix ci (2cfd134)
- Fix typo in error code (4f2c7ca)
❤️ Contributors
v0.1.1
v0.1.0
v0.0.2
🚀 Enhancements
setuphook (#9)- Allow accessing args with camelCase or kebabCase (#17)
- Basic type inference for args (#1)
🩹 Fixes
🏡 Chore
❤️ Contributors
- Pooya Parsa (@pi0)
- Sebastiaan Van Arkens [email protected]