15 lines
454 B
TypeScript
15 lines
454 B
TypeScript
import * as chalk from 'chalk';
|
|
|
|
export const yargsDecorator = {
|
|
'Options:': `${chalk.green`Options`}:`,
|
|
'Examples:': `${chalk.green`Examples`}:`,
|
|
boolean: `${chalk.blue`boolean`}`,
|
|
count: `${chalk.blue`count`}`,
|
|
string: `${chalk.blue`string`}`,
|
|
array: `${chalk.blue`array`}`,
|
|
required: `${chalk.blue`required`}`,
|
|
'default:': `${chalk.blue`default`}:`,
|
|
'choices:': `${chalk.blue`choices`}:`,
|
|
'aliases:': `${chalk.blue`aliases`}:`,
|
|
};
|