Skip to content

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

@bwplotka

Description

@bwplotka

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions