Releases: gabrielcsapo/woof
Releases · gabrielcsapo/woof
0.4.1
- use
module.parent.filename
when possible, do not fail in esm
Full Changelog: 0.4.0...0.4.1
0.4.0
- adds list option that will allow you to define a list type
0.3.2
- adds option for default command
- cleans up variable declarations
0.3.1
- can now handle arguments formatted like
{key}={value}
in any form such as:-{shorthand}={value}
--{shorthand}={value}
--{key}={value}
-{key}={value}
{key}={value}
- internal mechanism for dealing with arguments has been switched from a access loop, to a stack based approach to retrieving values
0.3.0
- adds a validate parameter on flags that will let the developer validate content while its being parsed. If there is an error with the parsing it will set the error object on the output.
- adds tests for integer parsing flags
0.2.1
- if the version is set, don't try to print the version in the parent directory
0.2.0
- augments command and flag objects into hashmaps for faster lookup than array traversal
- condenses help and version logic by also making lookup via hashmap
0.1.0
- adds additional tests
- can override version by passing it as
option.version
- help and version are set when they are parsed out (instead of calling process.exit)
0.0.1
- basic functionality working!