Describe the bug
A TypeError is thrown when using Flags.version
TypeError: Parsing --version
this.jsonEnabled is not a function
See more help with --help
To Reproduce
Steps to reproduce the behavior:
- Create a CLI using
oclif generate version-bug --yes
- Add a version flag to one of the commands
- Run the command with
--version
Expected behavior
The version printed to the console