twobraids/configman — Issue #44: rework how configuration files work
Author: twobraids
Created: 2011-11-21 14:31:33+00:00
State: open

the combination of --config_path=some_path and --write=ini|json|conf is confusing and error prone. Replace it with switches that work like this:

--config_file=complete_pathname --write

the "config_file' switch, if appearing without the 'write' switch means: load the values in from file specified by the complete_pathname.

the 'config_file' switch, if appearing with the 'write' switch means: take the current configuration and write it out to the config file specified by the complete_pathname. The format of the output file should be determined from the file extension on complete_path