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
Accessing specific elements in an array/list does not work.
For example, given the following configuration file:
{ "services": [ {"a": "b"}, {"a": "c"} ] }
Running this command: dictfile configure config get --key services:1 results in an error:
dictfile configure config get --key services:1
Error: list indices must be integers, not unicode
While the expected output is {"a": "c"}
{"a": "c"}
Note that we also need positional offset accessors. That is, the following command should also work:
dictfile configure config put --key services:0:a --value d
The text was updated successfully, but these errors were encountered:
iliapolo
No branches or pull requests
Accessing specific elements in an array/list does not work.
For example, given the following configuration file:
Running this command:
dictfile configure config get --key services:1
results in an error:Error: list indices must be integers, not unicode
While the expected output is
{"a": "c"}
Note that we also need positional offset accessors. That is, the following command should also work:
dictfile configure config put --key services:0:a --value d
The text was updated successfully, but these errors were encountered: