@backstage/cli
Version:
CLI for developing Backstage plugins and apps
29 lines (22 loc) • 810 B
JavaScript
Object.defineProperty(exports, '__esModule', { value: true });
var yargs = require('yargs');
var factory = require('../../wiring/factory.cjs.js');
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
var yargs__default = /*#__PURE__*/_interopDefaultCompat(yargs);
var index = factory.createCliPlugin({
pluginId: "info",
init: async (reg) => {
reg.addCommand({
path: ["info"],
description: "Show helpful information for debugging and reporting bugs",
execute: async ({ args }) => {
yargs__default.default().parse(args);
const { default: command } = require("./commands/info");
await command();
}
});
}
});
exports.default = index;
//# sourceMappingURL=index.cjs.js.map
;