npm / command-line-usage
command-line-usage
What changed in command-line-usage 6 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
2 breaking1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcommand-line-usage 72 changes
Breaking changes 1
Support for Node versions less than v12.20 was dropped.
Fixes and other changes 1
The package now works in Deno after chalk was updated.
command-line-usage 63 changes
Breaking changes 1
Support for Node versions below v8 was removed; applications must use Node v8 or above.
Behavior and default changes 1
typeLabel now defaults to a string.
Fixes and other changes 1
typeLabel now indicates an array for lazyMultiple options.