import CommanderCommand from '../CommanderCommand'; import ExerciseCreateCommand from './subcommands/ExerciseCreateCommand'; import ExerciseRunCommand from './subcommands/ExerciseRunCommand'; class ExerciseCommand extends CommanderCommand { protected commandName: string = 'exercise'; protected defineCommand() { this.command .description('manage an exercise'); } protected defineSubCommands() { ExerciseCreateCommand.registerOnCommand(this.command); ExerciseRunCommand.registerOnCommand(this.command); } protected async commandAction(): Promise<void> { } } export default new ExerciseCommand();