cli-engine-command
Advanced tools
Comparing version 5.1.14 to 5.1.15
@@ -35,3 +35,5 @@ 'use strict'; | ||
static get id() { | ||
return this.command ? `${this.topic}:${this.command}` : this.topic; | ||
let cmd = this.command ? `${this.topic}:${this.command}` : this.topic; | ||
if (this.namespace) cmd = `${this.namespace}:${cmd}`; | ||
return cmd; | ||
} | ||
@@ -38,0 +40,0 @@ |
@@ -46,3 +46,3 @@ 'use strict'; | ||
if (command.usage) return command.usage.trim(); | ||
let cmd = command.command ? `${command.topic}:${command.command}` : command.topic; | ||
let cmd = command.id; | ||
if (!command.args) return cmd.trim(); | ||
@@ -49,0 +49,0 @@ let args = command.args.map(renderArg); |
@@ -12,4 +12,7 @@ 'use strict'; | ||
static get id() { | ||
return this.namespace ? `${this.namespace}:${this.topic}` : this.topic; | ||
} | ||
} | ||
exports.default = Topic; | ||
Topic.hidden = false; |
{ | ||
"name": "cli-engine-command", | ||
"description": "base CLI command for cli-engine", | ||
"version": "5.1.14", | ||
"version": "5.1.15", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/cli-engine-command/issues", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
147548
2102