v0.12.0
Added error messages with contextual usage information. Instead of the full help message, initool will show you the arguments you gave and usage for the command you were trying to use. It will display the list of possible commands when it does not recognize the command.
For example, when you issue the command
initool g tests/php.ini PHP engine --v
the error message will be
invalid usage: g tests/php.ini PHP engine --v
usage: g <filename> [<section> [<key> [-v|--value-only]]]
rather than
usage: initool <command> [<arg> ...]
commands:
get <filename> [<section> [<key> [-v|--value-only]]]
exists <filename> <section> [<key>]
set <filename> <section> <key> <value>
delete <filename> <section> [<key>]
help
version
Each command can be abbreviated to its first letter.