cli-engine-command
Advanced tools
Comparing version 9.0.0-ts.13 to 9.0.0-ts.14
@@ -6,3 +6,3 @@ import { InputArgs, InputFlags, OutputArgs, OutputFlags } from 'cli-flags'; | ||
export declare class Command implements ICommand { | ||
__config: { | ||
static __config: { | ||
_version: string; | ||
@@ -12,2 +12,3 @@ id?: string; | ||
}; | ||
readonly __config: typeof Command.__config; | ||
options: { | ||
@@ -14,0 +15,0 @@ argv?: string[]; |
@@ -8,3 +8,2 @@ "use strict"; | ||
constructor(config) { | ||
this.__config = { _version: pjson.version }; | ||
this.options = {}; | ||
@@ -30,2 +29,5 @@ this.config = deps_1.deps.Config.buildConfig(config); | ||
} | ||
get __config() { | ||
return this.constructor.__config; | ||
} | ||
static async mock(...argv) { | ||
@@ -80,2 +82,3 @@ const cmd = new this({ argv: ['argv0', 'argv1'].concat(argv), mock: true }); | ||
} | ||
Command.__config = { _version: pjson.version }; | ||
exports.Command = Command; |
{ | ||
"name": "cli-engine-command", | ||
"description": "base CLI command for cli-engine", | ||
"version": "9.0.0-ts.13", | ||
"version": "9.0.0-ts.14", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/cli-engine-command/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
12359
303