Skip to content

Commit

Permalink
fix(cli): Resolved typing error with cli package
Browse files Browse the repository at this point in the history
  • Loading branch information
sullivanpj committed Dec 11, 2023
1 parent c74416f commit d67cb8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cli/src/program/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ export const createCLIProgram = async (cliConfig: CLIConfig): Promise<void> => {
.showHelpAfterError()
.showSuggestionAfterError();

createCLICommand(program);
cliConfig.commands.forEach(command => {
program.addCommand(createCLICommand(command));
});

program
.addHelpCommand("help [cmd]", "display help for [cmd]")
Expand Down

0 comments on commit d67cb8a

Please sign in to comment.