We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem: paths are split by . for the get and unset commands
.
get
unset
toml-cli/toml_cli/__init__.py
Line 73 in d8b2c9c
It's however possible for keys to have . within themselves, for example
[section."https://github.com/octokit"]
In those cases there's no way to get to the desired path due to the . splitting.
Solution: Accept a sequence of paths parts rather than a single string. Thus instead of
$ toml get --toml-path Cargo.toml 'section["https://github.com/octokit"]'
One would do
$ toml get --toml-path Cargo.toml section https://github.com/octokit
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Problem: paths are split by
.
for theget
andunset
commandstoml-cli/toml_cli/__init__.py
Line 73 in d8b2c9c
It's however possible for keys to have
.
within themselves, for exampleIn those cases there's no way to get to the desired path due to the
.
splitting.Solution: Accept a sequence of paths parts rather than a single string. Thus instead of
One would do
The text was updated successfully, but these errors were encountered: