bswck / configzen

Manage configuration with pydantic.

Home Page:https://bswck.github.io/configzen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI for config operations

bswck opened this issue · comments

Use case

[config.yml]

foo:  # a comment
  bar: 5
  biz:
    baz: 10
> configzen foo.bar  # automatically detect it's about config.yml`
5
> configzen foo.bar=6  # set foo.bar to 6, preserve comments`
[config.yml] Set foo.bar to 6

Example usage

No response

Additional context

No response