[Bug]: --json flag isn't working as expected.
eliyabar opened this issue · comments
What happened?
Using the --json
flag within the up/down commands, resulting an error
Nonexistent flag: --json
this is contrary to the documented [--json] flag in the up and down cli help and the global flag documentation.
Add screenshots
Error: Nonexistent flag: --json
See more help with --help
at validateArgs (/Users/eliyabaron/Dev/preevy/node_modules/@oclif/core/lib/parser/validate.js:10:19)
at validate (/Users/eliyabaron/Dev/preevy/node_modules/@oclif/core/lib/parser/validate.js:173:5)
at Object.parse (/Users/eliyabaron/Dev/preevy/node_modules/@oclif/core/lib/parser/index.js:19:35)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Up.parse (/Users/eliyabaron/Dev/preevy/node_modules/@oclif/core/lib/command.js:246:25)
at async Up.init (/Users/eliyabaron/Dev/preevy/packages/cli-common/src/commands/base-command.ts:79:29)
at async Up.init (/Users/eliyabaron/Dev/preevy/packages/cli/src/profile-command.ts:40:9)
at async Up.init (/Users/eliyabaron/Dev/preevy/packages/cli/src/driver-command.ts:18:9)
at async Up._run (/Users/eliyabaron/Dev/preevy/node_modules/@oclif/core/lib/command.js:303:13)
at async Config.runCommand (/Users/eliyabaron/Dev/preevy/node_modules/@oclif/core/lib/config/config.js:415:25)
Steps to reproduce the behavior
preevy up --profile
--show-preevy-service-urls --driver lightsail --lightsail-availability-zone us-east-1a --json
Expected behavior
Expect the command to execute
What OS are you seeing the problem on?
No response
Additional context
No response
Record
- I agree to follow this project's Code of Conduct