ueno-cli
Version:
Ueno Command-Line Utility
23 lines • 665 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.command = 'component [name]';
exports.desc = 'initialize react component';
exports.builder = (yargs) => yargs
.option('style', {
describe: 'Create and import styles from file',
choices: ['scss', 'stylus', 'less', 'css'],
})
.option('ext', {
describe: 'Component file extension (tsx for TypeScript)',
default: 'js',
choices: ['js', 'jsx', 'tsx'],
})
.option('pure', {
describe: 'Use PureComponent',
default: false,
type: 'boolean',
});
exports.handler = (args) => {
console.log('TODO', args);
};
//# sourceMappingURL=component.js.map