@anycli/command
Advanced tools
Comparing version 0.2.12 to 0.2.13
@@ -0,1 +1,9 @@ | ||
<a name="0.2.13"></a> | ||
## [0.2.13](https://github.com/anycli/command/compare/fd7103504d590f9eaa39728a22d100ed4c95e587...v0.2.13) (2018-01-31) | ||
### Bug Fixes | ||
* allow passing this into parser ([f8fd99b](https://github.com/anycli/command/commit/f8fd99b)) | ||
<a name="0.2.12"></a> | ||
@@ -2,0 +10,0 @@ ## [0.2.12](https://github.com/anycli/command/compare/1db83e93450be1e08e9cda672e41fd3466c69836...v0.2.12) (2018-01-31) |
@@ -20,3 +20,3 @@ import * as Config from '@anycli/config'; | ||
static aliases: string[]; | ||
static variableArgs: boolean; | ||
static strict: boolean; | ||
static flags: flags.Input<any>; | ||
@@ -41,3 +41,3 @@ static args: args.IArg[]; | ||
title: null; | ||
variableArgs: null; | ||
strict: null; | ||
examples: null; | ||
@@ -44,0 +44,0 @@ protected debug: (...args: any[]) => void; |
@@ -33,3 +33,3 @@ "use strict"; | ||
flags: this.ctor.flags || {}, | ||
strict: !this.ctor.variableArgs, | ||
strict: this.ctor.strict || this.ctor.variableArgs, | ||
}); | ||
@@ -66,3 +66,3 @@ this.flags = parse.flags; | ||
Command.aliases = []; | ||
Command.variableArgs = false; | ||
Command.strict = false; | ||
Command.args = []; | ||
@@ -69,0 +69,0 @@ Command.parse = true; |
{ | ||
"name": "@anycli/command", | ||
"description": "anycli base command", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/anycli/command/issues", |
22787