Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
args => beemo.scaffold(args, args.generator, args.action, args.name),
);
app.command('*', false, {}, () => {
console.error(chalk.red(beemo.msg('errors:cliNoCommand')));
});
// Run application
// eslint-disable-next-line no-unused-expressions
app
.usage(`${binName} [args..]`)
.epilogue(
// prettier-ignore
chalk.gray([
beemo.msg('app:cliEpilogue', { manualURL }),
beemo.msg('app:poweredBy', { version: corePackage.version })
].join('\n')),
)
.demandCommand(1, chalk.red(beemo.msg('errors:cliNoCommand')))
.showHelpOnFail(true)
.help().argv;