chore(cli): improve missing values, skipping prompts and overwriting files
This commit is contained in:
parent
56e53e2a33
commit
75df36acc3
4 changed files with 105 additions and 54 deletions
|
@ -11,7 +11,7 @@ import { handleExitError } from '../lib/handlers.js';
|
|||
process.on('unhandledRejection', (err) => handleExitError(err, 'Unhandled rejection'));
|
||||
process.on('uncaughtException', (err) => handleExitError(err, 'Uncaught exception'));
|
||||
|
||||
program.name('coryd').description('🪄 Run commands, download things and have fun.').version('1.0.0');
|
||||
program.name('coryd').description('🪄 Run commands, download things and have fun.').version('1.1.0');
|
||||
program.command('init').description('Initialize CLI and populate required config.').action(initConfig);
|
||||
program.command('run [script]').description('Run site scripts and commands.').action(runRootScript);
|
||||
program.command('download').description('Download, name and store image assets.').action(downloadAsset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue