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

feat: add config command #44

Merged
merged 6 commits into from
May 22, 2024
Merged

feat: add config command #44

merged 6 commits into from
May 22, 2024

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Feb 11, 2024

This PR adds a config command, which does the following:

  • config summarizes all configuration known to the application with default provided values to stdout
  • config --load summarizes the configuration after loading it (with sensitive information redacted), and displays any validation errors that occurred
  • config locations subcommand lists all the locations that will be searched to find a configuration file

@kzantow kzantow force-pushed the feat/config-command branch from eef00e9 to 5e9adbb Compare February 23, 2024 02:10
Signed-off-by: Keith Zantow <[email protected]>
@kzantow kzantow force-pushed the feat/config-command branch from 5e9adbb to 6247f15 Compare February 23, 2024 02:14
@kzantow kzantow marked this pull request as ready for review February 23, 2024 02:15
config_command.go Outdated Show resolved Hide resolved
Copy link
Contributor

@wagoodman wagoodman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@kzantow kzantow merged commit d81e109 into main May 22, 2024
4 checks passed
@kzantow kzantow deleted the feat/config-command branch May 22, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants