Skip to content

Releases: aricart/cobra.js

v0.0.9

15 Sep 22:14
Compare
Choose a tag to compare
  • Minor help for error reporting on wrong flags.
  • Exposed ability to execute the root command passing arguments.

v0.0.8

24 Aug 20:08
Compare
Choose a tag to compare

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

18 Jul 21:47
Compare
Choose a tag to compare
  • [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

17 Jul 21:16
Compare
Choose a tag to compare
  • [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

08 Apr 01:52
Compare
Choose a tag to compare

[feat] added easy access to stdout/stderr
[doc] improved documentation

v0.0.4

07 Apr 02:26
Compare
Choose a tag to compare

made flags easier to consume on the client code

v0.0.3

06 Apr 22:08
55f1afa
Compare
Choose a tag to compare

enabled root command to have a run function

v0.0.2

06 Apr 02:26
Compare
Choose a tag to compare

removed extraneous ide artifacts

v0.0.1

06 Apr 02:22
3e94e0b
Compare
Choose a tag to compare

initial proof of concept