Commander.js v9.4.0 Release Notes

Release Date: 2022-07-15 // 3 months ago
  • โž• Added

    • preSubcommand hook called before direct subcommands ([#1763])

    ๐Ÿ›  Fixed

    • export InvalidOptionArgumentError in esm ([#1756])

    ๐Ÿ”„ Changed

    • โšก๏ธ update dependencies ([#1767])

Previous changes from v9.3.0

  • โž• Added

    • .summary() for a short summary to use instead of description when listing subcommands in help ([#1726])
    • Option.implies() to set other option values when the option is specified ([#1724])
    • โšก๏ธ updated Chinese README with 9.x changes ([#1727])

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ TypeScript: add string[] to .options() default value parameter type for use with variadic options ([#1721])

    ๐Ÿ—„ Deprecated

    • multi-character short option flag (e.g. -ws) ([#1718])