iniparse-cli is a cli-wrapper tool for the python-library iniparse
All the credit of handling ini files is due to the creators of iniparser.
iniparse-cli.py config.ini
returns list of sectionsiniparse-cli.py config.ini SECTION
returns list of items in SECTIONiniparse-cli.py config.ini SECTION OPTION
returns value of OPTION in SECTIONiniparse-cli.py config.ini SECTION OPTION VALUE
sets VALUE of OPTION in SECTIONiniparse-cli.py -d config.ini SECTION
deletes SECTIONiniparse-cli.py -d config.ini SECTION OPTION
deletes OPTION in SECTIONiniparse-cli.py -d config.ini SECTION OPTION VALUE
deletes OPTION in SECTION when VALUE matches
Copyright © 2013 - 2014 Marek Jacob
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License only.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.