@oclif/plugin-help
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,1 +0,1 @@ | ||
{"version":"1.0.1","commands":{"commands":{"id":"commands","pluginName":"@oclif/plugin-help","pluginType":"core","hidden":true,"aliases":[],"flags":{"version":{"name":"version","type":"boolean","description":"show CLI version"},"help":{"name":"help","type":"boolean","description":"show CLI help"}},"args":[]},"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI"}},"args":[{"name":"command","description":"command to show help for","required":false}]}}} | ||
{"version":"1.0.2","commands":{"commands":{"id":"commands","pluginName":"@oclif/plugin-help","pluginType":"core","hidden":true,"aliases":[],"flags":{"version":{"name":"version","type":"boolean","description":"show CLI version"},"help":{"name":"help","type":"boolean","description":"show CLI help"}},"args":[]},"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI"}},"args":[{"name":"command","description":"command to show help for","required":false}]}}} |
@@ -0,1 +1,9 @@ | ||
<a name="1.0.2"></a> | ||
## [1.0.2](https://github.com/oclif/plugin-help/compare/651763997bf220f980aa43b522d8f2d1bdaf1275...v1.0.2) (2018-02-15) | ||
### Bug Fixes | ||
* hide OPTIONS for now ([7e70920](https://github.com/oclif/plugin-help/commit/7e70920)) | ||
<a name="1.0.1"></a> | ||
@@ -2,0 +10,0 @@ ## [1.0.1](https://github.com/oclif/plugin-help/compare/v1.0.0...v1.0.1) (2018-02-13) |
@@ -10,3 +10,3 @@ import * as Config from '@oclif/config'; | ||
protected usage(cmd: Config.Command, flags: Config.Command.Flag[]): string; | ||
protected defaultUsage(command: Config.Command, flags: Config.Command.Flag[]): string; | ||
protected defaultUsage(command: Config.Command, _: Config.Command.Flag[]): string; | ||
protected description(cmd: Config.Command): string | undefined; | ||
@@ -13,0 +13,0 @@ protected aliases(aliases: string[] | undefined): string | undefined; |
@@ -45,7 +45,6 @@ "use strict"; | ||
} | ||
defaultUsage(command, flags) { | ||
defaultUsage(command, _) { | ||
return util_1.compact([ | ||
command.id, | ||
command.args.filter(a => !a.hidden).map(a => this.arg(a)).join(' '), | ||
flags.length && '[OPTIONS]', | ||
]).join(' '); | ||
@@ -52,0 +51,0 @@ } |
{ | ||
"name": "@oclif/plugin-help", | ||
"description": "standard help for oclif", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -17,8 +17,8 @@ "bugs": "https://github.com/oclif/plugin-help/issues", | ||
"devDependencies": { | ||
"@oclif/config": "^1.3.48", | ||
"@oclif/dev-cli": "^1.0.0", | ||
"@oclif/config": "^1.3.52", | ||
"@oclif/dev-cli": "^1.2.4", | ||
"@oclif/errors": "^1.0.1", | ||
"@oclif/plugin-legacy": "^1.0.0", | ||
"@oclif/plugin-legacy": "^1.0.1", | ||
"@oclif/plugin-plugins": "^1.0.0", | ||
"@oclif/test": "^1.0.0", | ||
"@oclif/test": "^1.0.1", | ||
"@oclif/tslint": "^1.0.1", | ||
@@ -29,3 +29,3 @@ "@types/chai": "^4.1.2", | ||
"@types/mocha": "^2.2.48", | ||
"@types/node": "^9.4.5", | ||
"@types/node": "^9.4.6", | ||
"@types/strip-ansi": "^3.0.0", | ||
@@ -36,3 +36,3 @@ "@types/wrap-ansi": "^2.0.14", | ||
"globby": "^8.0.0", | ||
"mocha": "^5.0.0", | ||
"mocha": "^5.0.1", | ||
"strip-ansi": "^4.0.0", | ||
@@ -39,0 +39,0 @@ "ts-node": "^4.1.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32817
555