UNPKG

genesis-cli

Version:

It´s a CLI app to Create NodeJS projects like a boss

51 lines (46 loc) 1.29 kB
export const helperText = ` ${bold(`Usage`)} ${green(`npx genesiscli`)} ${yellow(`[options]`)} ${cyan(`<commands>`)} ${bold(`Options`)} ${yellow(`-n , --name Name of new project`)} ${yellow(`-r , --repo URL to repocitory`)} ${yellow(`-m , --model List of models to create`)} ${yellow(`--ad Show ad information`)} ${yellow(`-d, --debug Show debug information `)} ${yellow(`-p, --posts Show last 10 blog POST `)} ${yellow(`-m, --minimal Show minimal information `)} ${dim(`DEFAULT : false`)} ${yellow(`-c, --clear Clear the console information `)} ${yellow(`--no-clear Don´t clear the console information `)} ${dim(`DEFAULT : true`)} ${bold(`Commands`)} ${cyan(`help`)} Print CLI help information ${bold(`Examples`)} ${green(`npx genesiscli`)} ${yellow(`--no-social`)} ${green(`npx genesiscli`)} ${yellow(`--no-ad`)}l`; export const options = { importMeta: import.meta, booleanDefault: undefined, flags: { social: { type: 'boolean', default: true }, ad: { type: 'boolean', default: true }, email: { type: 'boolean', default: true }, debug: { type: 'boolean', default: false, alias: 'd' }, version: { type: 'boolean', default: false, alias: 'v' } } };