mahmoud / glom

☄️ Python's nested data operator (and CLI), for all your declarative restructuring needs. Got data? Glom it! ☄️
https://glom.readthedocs.io
Other
1.88k stars 61 forks source link

Add support for TOML files to the CLI. #277

Closed Julian closed 9 months ago

Julian commented 9 months ago

Oh hello there :)

Do you have any interest in TOML support for the CLI? If so, here's a PR -- where I've basically used tomllib on 3.11 and tomli before.

If you have other preferences on the below obviously feel free to lemme know, or to close if it isn't in scope!

codecov[bot] commented 9 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (573cb91) 98.01% compared to head (6bf870c) 97.96%.

Files Patch % Lines
glom/cli.py 81.81% 2 Missing :warning:
glom/test/test_cli.py 92.85% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #277 +/- ## ========================================== - Coverage 98.01% 97.96% -0.06% ========================================== Files 27 27 Lines 4341 4366 +25 Branches 762 765 +3 ========================================== + Hits 4255 4277 +22 - Misses 56 58 +2 - Partials 30 31 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.