UNPKG

cr-react-cli

Version:

Create react files with a single command

19 lines (18 loc) 608 B
var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); // Libs const commander_1 = require("commander"); // Base const base_command_1 = __importDefault(require("./base.command")); class InitCommand extends base_command_1.default { build() { return new commander_1.Command('init') .description('initialize react-cli config') .action(() => { this.action.handle(); }); } } exports.default = InitCommand;