@kosko/cli
Version:
Organize Kubernetes manifests in JavaScript.
19 lines • 629 B
JavaScript
;
/**
* @packageDocumentation
* @module @kosko/cli
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.run = exports.handleError = void 0;
const command_1 = require("./cli/command.js");
const root_1 = require("./commands/root.js");
var error_1 = require("./cli/error.js");
Object.defineProperty(exports, "handleError", { enumerable: true, get: function () { return error_1.handleError; } });
/**
* Runs CLI with the given arguments.
*/
async function run(argv = process.argv.slice(2)) {
await command_1.parse(root_1.rootCmd, argv);
}
exports.run = run;
//# sourceMappingURL=index.js.map