edornd / argdantic

Typed command line interfaces with argparse and pydantic
MIT License
38 stars 4 forks source link

✨ Add config stores (#29) #32

Closed edornd closed 1 year ago

edornd commented 1 year ago

Add configuration stores, that mirror the source functionality by storing the full inputs to a file. Similarly, stores support JSON, YAML, and TOML.

codecov[bot] commented 1 year ago

Codecov Report

Merging #32 (d9de7ae) into main (d569e67) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #32   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        20    +5     
  Lines          511       572   +61     
=========================================
+ Hits           511       572   +61     
Impacted Files Coverage Δ
argdantic/__init__.py 100.00% <100.00%> (ø)
argdantic/core.py 100.00% <100.00%> (ø)
argdantic/stores/__init__.py 100.00% <100.00%> (ø)
argdantic/stores/base.py 100.00% <100.00%> (ø)
argdantic/stores/json.py 100.00% <100.00%> (ø)
argdantic/stores/toml.py 100.00% <100.00%> (ø)
argdantic/stores/yaml.py 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more