Skip to content

Commit

Permalink
fix: pass in enableJsonFlag
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Oct 27, 2023
1 parent dc36cfb commit 191bb08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/base_class.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
const {args, flags} = await this.parse({
flags: this.ctor.flags,
baseFlags: (super.ctor as typeof BaseCommand).baseFlags,
enableJsonFlag: this.ctor.enableJsonFlag,
args: this.ctor.args,
strict: this.ctor.strict,
})
Expand Down

0 comments on commit 191bb08

Please sign in to comment.