Releases: aricart/cobra.js
Releases · aricart/cobra.js
v0.0.9
- Minor help for error reporting on wrong flags.
- Exposed ability to execute the root command passing arguments.
v0.0.8
Changed behavior to return an empty array if extracting value for a flag as multiple values when the flag was not specified, previously it defaulted to the default value for the flag, but this is non-sensical in multiple value contexts.
v0.0.7
- [FEAT] when
--help
flag is specified, the long
help is printed, otherwise, the use
is printed.
- [FEAT] When a flag has a conflict on
name
or short
, it now will print the first match of the conflict to help fix the conflict.
v0.0.6
- [FIX] fixed formatting for long messages
- [FIX] added util function
Flags.checkRequired()
which throws an error if the command has a required flag with a default value.
- [FEAT] added
Command.showHelp
property. If set to true by a command during execution and the command throws an error, the error will be displayed followed by the help for the command.
- [FIX] Error messages that were intended to be generated from a template
- [TEST] added tests
v0.0.5
[feat] added easy access to stdout/stderr
[doc] improved documentation
v0.0.4
made flags easier to consume on the client code
v0.0.3
enabled root command to have a run function
v0.0.2
removed extraneous ide artifacts