Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v0.2.0

Latest

Choose a tag to compare

@pi0 pi0 released this 20 Jan 11:51

compare changes

Note

๐ŸŒŸ citty is now zero dependency reducing install size from 267kB to 22.8kB

๐Ÿš€ Enhancements

  • Support hidden meta to hide command (#111)
  • Support enum arg type (#83)
  • Support negativeDescription for 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 number arg to be optional (#194)

๐Ÿ’… Refactors

  • Show error once (#167)
  • More strict types (f597897)
  • โš ๏ธ Use node:util.parseArgs for arg parsing (#218)
  • Use simple console formatting (#219)

๐Ÿ“ฆ Build

  • โš ๏ธ ESM-only dist (42b57b0)

๐Ÿก Chore

โœ… 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