Skip to content

Releases: unjs/citty

v0.1.6

14 Feb 13:09
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • usage: Render valueHint for positional args (dbd1d92)

❤️ Contributors

  • Pooya Parsa (@pi0)

v0.1.5

20 Nov 15:31
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • command: Return result of run command (#101)
  • runMain: Support custom showUsage option (#74)

❤️ Contributors

v0.1.4

09 Sep 12:39
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Support cleanup hook (#64)
  • Add createMain utility (#65)
  • Support --version (#67)

🩹 Fixes

  • Do not throw an error when no subcommand is specified but the main has run (#58)

❤️ Contributors

v0.1.3

24 Aug 17:35
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Allow string[] in arg signature (#56)

🏡 Chore

  • Typo in readme (#45)
  • Update dependencies (f863f9d)

🤖 CI

  • Use conventional commit for autofix action (#50)

❤️ Contributors

v0.1.2

05 Jul 23:29
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • usage: Resolve sub commands for meta description (#32)
  • Use consola for output formatting (bf5de7f)
  • runCommand: Allow passing custom data (4abc848)

🩹 Fixes

  • Fix generic type issues (#38)
  • Handle required: false for positional arguments (ab0401b)

🏡 Chore

❤️ Contributors

v0.1.1

03 Apr 10:18
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Remove sub-command name when resolving nested (47398f1)
  • Type untyped args as string|boolean
  • Move deps to devDependencies (#20)
  • Fix unspecified arg types (d1d769b)

❤️ Contributors

v0.1.0

31 Mar 15:13
@pi0 pi0
761f235
Compare
Choose a tag to compare

compare changes

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v0.0.2

28 Mar 18:12
@pi0 pi0
Compare
Choose a tag to compare

🚀 Enhancements

  • setup hook (#9)
  • Allow accessing args with camelCase or kebabCase (#17)
  • Basic type inference for args (#1)

🩹 Fixes

  • Correctly parse positional arguments (#16)
  • Allow any args type for SubCommandsDef (60d218d)

🏡 Chore

❤️ Contributors