npm commander 8.0.0-2

Added

  • .showHelpAfterError() to display full help or a custom message after an error (#1534)
  • custom argument processing function also called without action handler (only with action handler in v8.0.0-0) (#1529)

Changed

  • remove help suggestion from "unknown command" error message (see .showHelpAfteError()) (#1534)
  • Command property .arg initialised to empty array (was previously undefined) (#1529)
latest releases: 8.3.0, 8.2.0, 8.1.0...
4 months ago