diff --git a/src/commands/help.ts b/src/commands/help.ts index af7e97a7..8ee2fdf2 100644 --- a/src/commands/help.ts +++ b/src/commands/help.ts @@ -1,4 +1,4 @@ -import {Args, Command, Flags, Help} from '@oclif/core' +import {Args, Command, Flags, loadHelpClass} from '@oclif/core' export default class HelpCommand extends Command { static args = { @@ -18,6 +18,7 @@ export default class HelpCommand extends Command { async run(): Promise { const {argv, flags} = await this.parse(HelpCommand) + const Help = await loadHelpClass(this.config); const help = new Help(this.config, {all: flags['nested-commands']}) await help.showHelp(argv as string[]) }