Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set output format at config.yaml Level #672

Closed
njsnx opened this issue Apr 9, 2019 · 2 comments
Closed

Set output format at config.yaml Level #672

njsnx opened this issue Apr 9, 2019 · 2 comments

Comments

@njsnx
Copy link

njsnx commented Apr 9, 2019

Coming from using Sceptre v1 a lot to 2.0 I have noticed the move towards favouring text output as the default output_format rather than JSON as it was before.

It took me a little while to figure out that a lot of my commands looked broken as I was not setting an --ouput flag on my commands to JSON (or YAML) and since getting used to it, It has occurred to me that at a project level and even at a Stack level, it would be really useful to be able to set this once and not have to worry about setting a flag each time.

I would like to be able to set this using something like output or output_format at my config.yaml files and then utilise this as my preferred option over setting --output.

Cascading config should still work and maybe if --ouput is set, it overrides any value in the config.

@njsnx
Copy link
Author

njsnx commented Apr 9, 2019

PR Raised to get this implemented. #673

@ngfgrant ngfgrant added this to the 2.1.3 milestone May 9, 2019
@ngfgrant ngfgrant added this to To do in Sceptre May 9, 2019
@ngfgrant ngfgrant moved this from To do to Needs review in Sceptre May 9, 2019
ngfgrant added a commit that referenced this issue May 14, 2019
ngfgrant added a commit that referenced this issue May 30, 2019
@ngfgrant ngfgrant moved this from Needs review to Done in Sceptre May 30, 2019
@ngfgrant
Copy link
Contributor

ngfgrant commented Jun 3, 2019

relates to #152

@ngfgrant ngfgrant closed this as completed Jun 5, 2019
ngfgrant added a commit that referenced this issue Jun 13, 2019
ngfgrant added a commit that referenced this issue Jun 26, 2019
thawkson pushed a commit to thawkson/sceptre that referenced this issue Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants