@anycli/example-multi-js
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -0,1 +1,9 @@ | ||
<a name="0.5.0"></a> | ||
# [0.5.0](https://github.com/anycli/example-multi-js/compare/b33783efcad167b5dba4c16eb17ca794a4c68f06...v0.5.0) (2018-02-01) | ||
### Features | ||
* anycli v0.29.0 ([dddd9ba](https://github.com/anycli/example-multi-js/commit/dddd9ba)) | ||
<a name="0.4.0"></a> | ||
@@ -2,0 +10,0 @@ # [0.4.0](https://github.com/anycli/example-multi-js/compare/75ada793d05e086b8b6f91ce0d93d8f8a2067c79...v0.4.0) (2018-01-31) |
{ | ||
"name": "@anycli/example-multi-js", | ||
"description": "example multi-command CLI built with javascript", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -14,14 +14,14 @@ "anycli": { | ||
"dependencies": { | ||
"@anycli/command": "^0.2.9", | ||
"@anycli/config": "^0.2.1", | ||
"@anycli/engine": "^0.1.29", | ||
"@anycli/help": "^0.3.0", | ||
"@anycli/not-found": "^0.1.5", | ||
"@anycli/version": "^0.1.15", | ||
"cli-ux": "^3.3.9" | ||
"@anycli/command": "^0.2.24", | ||
"@anycli/config": "^0.2.8", | ||
"@anycli/engine": "^0.1.38", | ||
"@anycli/help": "^0.3.3", | ||
"@anycli/not-found": "^0.1.9", | ||
"@anycli/version": "^0.1.19", | ||
"cli-ux": "^3.3.12" | ||
}, | ||
"devDependencies": { | ||
"@anycli/test": "^0.10.0", | ||
"@commitlint/cli": "^6.0.2", | ||
"@commitlint/config-conventional": "^6.0.2", | ||
"@anycli/test": "^0.10.1", | ||
"@commitlint/cli": "^6.0.5", | ||
"@commitlint/config-conventional": "^6.0.4", | ||
"chai": "^4.1.2", | ||
@@ -28,0 +28,0 @@ "eslint": "^4.16.0", |
@@ -1,2 +0,2 @@ | ||
const {Command, flags} = require('@anycli/command') | ||
const {Command, flags, parse} = require('@anycli/command') | ||
const {cli} = require('cli-ux') | ||
@@ -6,3 +6,4 @@ | ||
async run() { | ||
const name = this.flags.name || 'world' | ||
const options = parse(this.argv, HelloCommand) | ||
const name = options.flags.name || 'world' | ||
cli.log(`hello ${name} from hello!`) | ||
@@ -9,0 +10,0 @@ } |
10554
14
Updated@anycli/command@^0.2.24
Updated@anycli/config@^0.2.8
Updated@anycli/engine@^0.1.38
Updated@anycli/help@^0.3.3
Updated@anycli/not-found@^0.1.9
Updated@anycli/version@^0.1.19
Updatedcli-ux@^3.3.12