@leanup/cli-angularjs
Version:
This package contains the AngularJS framework extension for the @leanup/cli.
25 lines • 994 B
JavaScript
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "path", "@leanup/cli/lib/leanup-cli"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AngularJSCLI = void 0;
const path = require("path");
const leanup_cli_1 = require("@leanup/cli/lib/leanup-cli");
class AngularJSCLI extends leanup_cli_1.LeanupCLI {
constructor(name, version) {
super(name, version);
this.addActionToCommand('create', (options) => {
this.copyAndPrint(path.join(__dirname, '../', 'template'), '', options);
});
}
}
exports.AngularJSCLI = AngularJSCLI;
});
//# sourceMappingURL=angularjs-cli.js.map