UNPKG

templates-mo

Version:

Templates is a scaffolding framework that makes code generation simple, dynamic, and reusable. Generate files, parts of your app, or whole project structures—without the repetitive copy-pasting

15 lines (9 loc) • 327 B
import { CommandModule } from 'yargs'; import { commands } from './new_commands'; export default { command: 'new <command>', description: 'create a new template | package', builder: (yargs) => yargs.command(commands), // eslint-disable-next-line @typescript-eslint/no-empty-function handler() {}, } as CommandModule;