-
Notifications
You must be signed in to change notification settings - Fork 313
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
Change set display doesn't follow --output flag #1180
Labels
Comments
could you please propose your patch as a PR @dboitnot? |
Added PR #1183 |
dboitnot
added a commit
to dboitnot/sceptre
that referenced
this issue
Dec 9, 2021
This seems related to #1173 |
This is no longer an issue in the current version of Sceptre. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change set display doesn't follow --output flag
Despite being referenced in update.py, it appears that the ChangeSet display does not use the setting from the
--output
flag.Your environment
Steps to reproduce
Expected behaviour
ChangeSet should be displayed in YAML format.
Actual behaviour
ChangeSet is displayed in JSON format.
Notes
The
output
flag is clearly being parsed, because if a malformed value is provided we get an error:Further, since this is an interactive process, we don't expect this output to be machine-parsed. I'd therefore think that YAML, being vastly more readable, would be a better default.
Possibly, I'm misunderstanding the purpose of the
--output
flag, because if I force the value toyaml
inupdate.py
I still get JSON output:For what it's worth, I made the following patch:
I think the output is an improvement:
The text was updated successfully, but these errors were encountered: