Open AdamCoulterOz opened 1 year ago
Thanks for this request! It appears to be a duplicate of https://github.com/hashicorp/terraform/issues/23708. If you agree, I will close this issue. Please let me know! Thanks.
@crw - yes for no-color
, but for a different reason, but #23708 doesn't include a global json
option.
Terraform Version
Use Cases
Working with the cli programmatically, some commands accept these options, others don't, and it seems somewhat arbitrary.
Attempted Solutions
Mapping to every command individually, but have to maintain if each command supports it or not.
Proposal
Make the terraform cli options 'json' and 'no-color' global options (i.e. before the subcommand).
References
No response