Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: set helpValue
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 1, 2018
1 parent 327e4ed commit 43478c8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -5,14 +5,14 @@
"author": "Jeff Dickey @jdxcode",
"bugs": "https://github.com/anycli/command/issues",
"dependencies": {
"@anycli/parser": "^3.0.1",
"@anycli/parser": "^3.0.2",
"cli-ux": "^3.3.10",
"debug": "^3.1.0",
"lodash": "^4.17.4",
"tslib": "^1.9.0"
},
"devDependencies": {
"@anycli/config": "^0.2.4",
"@anycli/config": "^0.2.6",
"@anycli/tslint": "^0.2.1",
"@commitlint/cli": "^6.0.5",
"@commitlint/config-conventional": "^6.0.4",
Expand Down
1 change: 1 addition & 0 deletions src/cache.ts
Expand Up @@ -35,6 +35,7 @@ export function convertToCached(c: Config.ICommand, opts: ConvertToCachedOptions
description: flag.description,
hidden: flag.hidden,
required: flag.required,
helpValue: flag.helpValue,
}
}),
args: c.args.map(a => ({
Expand Down
1 change: 1 addition & 0 deletions test/command.test.ts
Expand Up @@ -101,6 +101,7 @@ describe('command', () => {
hidden: true,
required: false,
type: 'option',
helpValue: undefined,
}
},
args: [
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Expand Up @@ -2,9 +2,9 @@
# yarn lockfile v1


"@anycli/config@^0.2.4":
version "0.2.4"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-0.2.4.tgz#957e4f174cadd397d9bdd81d3552544a8214273e"
"@anycli/config@^0.2.6":
version "0.2.6"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-0.2.6.tgz#d40709a61704907d4d6e7dcab6bbf124ab74e9ad"
dependencies:
cli-ux "^3.3.10"
debug "^3.1.0"
Expand All @@ -13,9 +13,9 @@
lodash "^4.17.4"
read-pkg "^3.0.0"

"@anycli/parser@^3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.0.1.tgz#24a2bca4abe1e1ffb91b0210b709b3ec15ee4ea4"
"@anycli/parser@^3.0.2":
version "3.0.2"
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.0.2.tgz#69af00b6b6f0cc6da4405cf44dc29b2d14d30c6e"
dependencies:
"@anycli/screen" "^0.0.3"
chalk "^2.3.0"
Expand Down

0 comments on commit 43478c8

Please sign in to comment.