Skip to content

v1.1.0

Choose a tag to compare

@lukeed lukeed released this 20 Dec 08:28
· 66 commits to master since this release

Minor Changes

  • No longer sets 1st command definition as the default command: da418cd, 8fe618a
  • Change prog.parse() arity; adds opts param: e51a7c4, 0d61d48
  • Reprioritize non-specific command handling: cab109c
    1. Error & exit early if invalid command
    2. Apply default command if nothing else
    3. Allow help & version output to run if still barren
    4. Error & exit if still no command object, before exec

Patches

  • Only show "Available Commands" section if valued: 6416091
  • Don’t throw Error if assuming default command with flags: da418cd
  • Add prettier/formatted ERROR output via utils.error: cab109c