-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
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
How do I get the values, for multiline options ? #10
Comments
Unfortunately crudini doesn't support that at present. The interface is there now to support it through the --list option, though it will require updating the iniparse project to support that. It's a pity that openstack went with this non standard format rather than for example:
|
Ok, for now I am managing with |
Is there any chance we can use the |
BTW the standard list format mentioned in my reply above can be written with For getting and setting the openstack format, it would need a selector in the interface, as currently the last item=val is read/updated, which may be depended on. I suppose this could be done with something like Hmm, perhaps we might avoid oslo.config and with REPEAT preprocess input to transform repeated items to/from the more standard list format shown in my first reply. |
I see that php supports a similar "array" format like:
I suppose that could be supported also with something like --list-sep=PHP |
Unreal Engine's INI files also use this stupid non-standard format. E.g.
|
qalculate-gtk.cfg also has repeated keyboard_shortcut= params, that should be treated as a set |
Re the unreal engine format, The leading |
As in this example:
i.e, there can be multiple
service_provider
params under the section, I want to get them all, from mysh
script, and be able to modify either of them.I tried a
crudini --get <file> service_providers service_provider
and I got only the last param set!Am I missing any option here, or this is not supported?
The text was updated successfully, but these errors were encountered: