zents-cli
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
11 lines (10 loc) • 449 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const AbstractGenerator_1 = tslib_1.__importDefault(require("../classes/AbstractGenerator"));
class Controller extends AbstractGenerator_1.default {
writing() {
this.fs.copyTpl(this.templatePath('Controller.ts'), this.destinationPath(this.options.controllerPath, this.options.filename));
}
}
exports.default = Controller;