Allow for defaults that are not just boolean. Default peassignment only occurs for --no-*, optional, and required arguments. Please see included tests for how this functionality is intended to work.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Jim Isaacs · committed by Tj Holowaychuk · parent 3fb7ab0 · Browse files · 3 files+64 added−9 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
Diff stats
3 files+64 added−9 removed
- tests:+46 added−0 removed
- other:+18 added−9 removed