Comparing version 2.0.0-rc.12 to 2.0.0-rc.13
@@ -50,2 +50,3 @@ "use strict"; | ||
const command = new commandClass(); | ||
command.path = state.path; | ||
const { transformers } = commandClass.getMeta(commandClass.prototype); | ||
@@ -52,0 +53,0 @@ for (const transformer of transformers) |
@@ -99,2 +99,6 @@ import { CommandBuilder, RunState } from '../core'; | ||
context: Context; | ||
/** | ||
* The path that got used to access the command being executed. | ||
*/ | ||
path: string[]; | ||
} |
@@ -1,2 +0,3 @@ | ||
export * from './Cli'; | ||
export * from './Command'; | ||
export { BaseContext, Cli } from './Cli'; | ||
export { CommandClass, Command, Usage } from './Command'; | ||
export { UsageError } from '../errors'; |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./Cli")); | ||
__export(require("./Command")); | ||
var Cli_1 = require("./Cli"); | ||
exports.Cli = Cli_1.Cli; | ||
var Command_1 = require("./Command"); | ||
exports.Command = Command_1.Command; | ||
var errors_1 = require("../errors"); | ||
exports.UsageError = errors_1.UsageError; |
{ | ||
"name": "clipanion", | ||
"version": "2.0.0-rc.12", | ||
"version": "2.0.0-rc.13", | ||
"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
64431
1569