Skip to content
New issue

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

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

Already on GitHub? # to your account

Declare JSON flag explicitly in Flags type #51

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

joshuaauerbachwatson
Copy link
Contributor

Now that the --json flag is global in the CLI, it is needed in the internal Flags type, which is offered by the deployer. While it's true that the deployer itself does not consume this flag, many of the flags in Flags are meaningful to the deployer and there is not otherwise a need for a separate CLI-only flags object. So it is consistent with the overall design to place the --json flag in Flags.

@joshuaauerbachwatson joshuaauerbachwatson merged commit aca2913 into master Jan 18, 2022
@joshuaauerbachwatson joshuaauerbachwatson deleted the explicit-json-flag branch January 18, 2022 12:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant