๐Ÿ“ฆ nestjs / nest-cli

๐Ÿ“„ abstract.command.ts ยท 9 lines
1
2
3
4
5
6
7
8
9import { CommanderStatic } from 'commander';
import { AbstractAction } from '../actions/abstract.action';

export abstract class AbstractCommand {
  constructor(protected action: AbstractAction) {}

  public abstract load(program: CommanderStatic): void;
}