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: read and write YAML config files #56

Merged
merged 5 commits into from
Jun 11, 2024
Merged

feat: read and write YAML config files #56

merged 5 commits into from
Jun 11, 2024

Conversation

kentquirk
Copy link
Collaborator

Which problem is this PR solving?

  • The command-line configuration is getting a little out of hand, so we're adding the ability to read config files.

Short description of the changes

  • Add a Global section to config
  • Add --writecfg flag to allow writing the actual configuration to a YAML file
  • Add --config to allow reading config out of a YAML file
  • Add all the decorations needed to process this properly, including identifying parameters that should not be loaded from (or written to) a config file.
  • Make it so that additional fields also work to be specified in the config file
  • Various changes to make it all work (like parsing the fields)
  • Update docs

@kentquirk kentquirk requested a review from a team as a code owner June 10, 2024 17:57
@kentquirk kentquirk self-assigned this Jun 10, 2024
@kentquirk
Copy link
Collaborator Author

This is the first step to solving #54

@kentquirk kentquirk merged commit 4c0952f into main Jun 11, 2024
3 checks passed
@kentquirk kentquirk deleted the kent.yaml_config branch June 11, 2024 14:02
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