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

Add subcommand that will generate example YAML that will parsable from Go structs #23

Open
bwplotka opened this issue May 12, 2021 · 0 comments · May be fixed by #60
Open

Add subcommand that will generate example YAML that will parsable from Go structs #23

bwplotka opened this issue May 12, 2021 · 0 comments · May be fixed by #60
Labels
help wanted Extra attention is needed

Comments

@bwplotka
Copy link
Owner

Similar to https://github.com/thanos-io/thanos/blob/main/scripts/cfggen/main.go

Acceptance Criteria:

  • User can pass such tool in mdox-exec feature (separate subcommand?)
  • Will generate example YAML (or whatever format is parsed to Go structs)
  • Allows passing example defaults
  • Preserve comments
  • Optional: Tests if generated yaml can be actually parsable and returns err if not?
@bwplotka bwplotka added the help wanted Extra attention is needed label May 12, 2021
@saswatamcode saswatamcode linked a pull request Jul 12, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant