@oclif/plugin-help
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,1 +0,1 @@ | ||
{"version":"1.2.0","commands":{"commands":{"id":"commands","pluginName":"@oclif/plugin-help","pluginType":"core","hidden":true,"aliases":[],"flags":{},"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.2.1","commands":{"commands":{"id":"commands","pluginName":"@oclif/plugin-help","pluginType":"core","hidden":true,"aliases":[],"flags":{},"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.2.1"></a> | ||
## [1.2.1](https://github.com/oclif/plugin-help/compare/v1.2.0...v1.2.1) (2018-03-24) | ||
### Bug Fixes | ||
* move help into its own section ([8099431](https://github.com/oclif/plugin-help/commit/8099431)) | ||
<a name="1.2.0"></a> | ||
@@ -2,0 +10,0 @@ # [1.2.0](https://github.com/oclif/plugin-help/compare/v1.1.8...v1.2.0) (2018-03-24) |
@@ -11,2 +11,3 @@ import * as Config from '@oclif/config'; | ||
protected description(): string | undefined; | ||
protected version(): string; | ||
} |
@@ -19,5 +19,5 @@ "use strict"; | ||
description = description.split('\n')[0]; | ||
description = `${this.config.userAgent}\n${description}`; | ||
let output = util_1.compact([ | ||
description, | ||
this.version(), | ||
this.usage(), | ||
@@ -47,3 +47,9 @@ this.description(), | ||
} | ||
version() { | ||
return [ | ||
bold('VERSION'), | ||
indent(wrap(this.config.userAgent, this.opts.maxWidth - 2, { trim: false, hard: true }), 2), | ||
].join('\n'); | ||
} | ||
} | ||
exports.default = RootHelp; |
{ | ||
"name": "@oclif/plugin-help", | ||
"description": "standard help for oclif", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/plugin-help/issues", |
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
38107
571