chore(cli): improve missing values, skipping prompts and overwriting files

This commit is contained in:
Cory Dransfeldt 2025-06-07 11:26:08 -07:00
parent 56e53e2a33
commit 75df36acc3
No known key found for this signature in database
4 changed files with 105 additions and 54 deletions

View file

@ -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);