Commander.js v8.2.0 Release Notes

Release Date: 2021-09-10 // about 1 month ago
  • โž• Added

    • .showSuggestionAfterError() to show suggestions after unknown command or unknown option ([#1590])
    • โž• add Option support for values from environment variables using .env() ([#1587])

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ show error for unknown global option before subcommand (rather than just help) ([#1590])

    โœ‚ Removed

    • TypeScript declaration of unimplemented Option method argumentRejected

Previous changes from v8.1.0

  • โž• Added

    • .copyInheritedSettings() ([#1557])
    • ๐Ÿ“š update Chinese translations of documentation for Commander v8 ([#1570])
    • Argument methods for .argRequired() and .argOptional() ([#1567])