Comparing version 2.0.0-rc.9 to 2.0.0-rc.10
@@ -16,7 +16,7 @@ /// <reference types="node" /> | ||
private readonly binaryName; | ||
private readonly version; | ||
private readonly binaryVersion; | ||
private readonly registrations; | ||
constructor({ binaryName, version }?: { | ||
constructor({ binaryName, binaryVersion }?: { | ||
binaryName?: string; | ||
version?: string; | ||
binaryVersion?: string; | ||
}); | ||
@@ -23,0 +23,0 @@ register(advancedCommand: CommandClass<Context>): void; |
@@ -24,7 +24,7 @@ "use strict"; | ||
class Cli { | ||
constructor({ binaryName = `...`, version = `no version specified` } = {}) { | ||
constructor({ binaryName = `...`, binaryVersion = `no version specified` } = {}) { | ||
this.coreCli = new core.Cli(); | ||
this.registrations = []; | ||
this.binaryName = binaryName; | ||
this.version = version; | ||
this.binaryVersion = binaryVersion; | ||
this.registerVersion(); | ||
@@ -43,3 +43,3 @@ this.registerDefinitions(); | ||
async execute() { | ||
this.context.stdout.write(`${self.version}\n`); | ||
this.context.stdout.write(`${self.binaryVersion}\n`); | ||
} | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "clipanion", | ||
"version": "2.0.0-rc.9", | ||
"version": "2.0.0-rc.10", | ||
"main": "lib/advanced", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
61041