1 2 3 4 5 6 7 8 9 10 11 12 13 14 15import { CommanderStatic } from 'commander'; import { AbstractCommand } from './abstract.command'; export class InfoCommand extends AbstractCommand { public load(program: CommanderStatic) { program .command('info') .alias('i') .description('Display Nest project details.') .action(async () => { await this.action.handle(); }); } }