Skip to content

Commit

Permalink
Merge pull request #216 from oclif/mdonnalley/update-base-class
Browse files Browse the repository at this point in the history
fix: pass in enableJsonFlag
  • Loading branch information
mdonnalley authored Oct 27, 2023
2 parents c77d667 + 191bb08 commit 257b362
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 257b362

Please sign in to comment.