feat(cli): support blocking bots

This commit is contained in:
Cory Dransfeldt 2025-06-08 17:59:14 -07:00
parent 1589c4c6fd
commit c600e6ec62
No known key found for this signature in database

View file

@ -13,7 +13,7 @@ import { runTasksMenu } from '../lib/tasks/index.js';
process.on('unhandledRejection', (err) => handleExitError(err, 'Unhandled rejection')); process.on('unhandledRejection', (err) => handleExitError(err, 'Unhandled rejection'));
process.on('uncaughtException', (err) => handleExitError(err, 'Uncaught exception')); process.on('uncaughtException', (err) => handleExitError(err, 'Uncaught exception'));
program.name('coryd').description('🪄 Run commands, jobs, download things and have fun.').version('3.0.0'); program.name('coryd').description('🪄 Handle tasks, run commands or jobs, download things and have fun.').version('3.0.0');
program.command('init').description('Initialize CLI and populate required config.').action(initConfig); 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('run [script]').description('Run site scripts and commands.').action(runRootScript);
program.command('tasks').description('Handle repeated tasks.').action(runTasksMenu); program.command('tasks').description('Handle repeated tasks.').action(runTasksMenu);