@boykaframework/boyka-cli
Version:
🧑🏻💻 Command line assistant for Boyka Framework
12 lines (11 loc) • 473 B
JavaScript
import { epiLogMessage, handleCommand } from '../utils/constants.js';
import { handleDoctor } from '../handler/doctor-handler.js';
export const doctorCommand = {
command: 'doctor',
aliases: ['doctor', 'doc', 'dc'],
describe: 'Boyka-Framework doctor to check Setup on your machine',
builder: (yargs) => yargs.strict().help('help').showHelpOnFail(false).epilog(epiLogMessage),
handler: async () => {
await handleCommand(handleDoctor());
},
};