toml-cli
toml-cli copied to clipboard
not able to set array
I read:
- #34
- #22
still I can't figure out how to make it work. I run:
toml set dependency-groups.dev [{include-group="test"}] --toml-path pyproject.toml
I expect:
dev = [{include-group="test"}]
I get:
dev = "[{include-group=test}]"
toml set dependency-groups.dev[0] {include-group="test"} --toml-path pyproject.toml
gives
error: non-existent array 'dev'
there seems to be no way to create a new array
Too bad no inline tables are supported yet. I need to think about how we can support that on an easy way. Suggestions are welcome.