Skip to content

v11.1.0

Compare
Choose a tag to compare
@shadowspawn shadowspawn released this 15 Oct 01:14
· 22 commits to main since this release

Added

  • Option properties: envVar, presetArg (#48)
  • Argument properties: argChoices, defaultValue, defaultValueDescription (#48)
  • Command properties: options, registeredArguments (#50)

Changed

  • commands property of Command is now readonly (#48)
  • update peerDependencies to commander@11.1.x (#48)

Fixed

  • remove unused Option.optionFlags property (#48)
  • add that Command.version() can also be used as getter (#48)
  • add null return type to Commands.executableDir(), for when not configured (#48)
  • preserve option typings when adding arguments to Command (#49)