Converting files by hand is boring. This tool helps to to migrate from .properties to .yml files and and vice versa.
-
.propertiesto.yml:To convert
.propertiesfile to.ymlfile run:python prop2yml.py <source_file_path.properties> <destination_path.yml>If the destination path is not specified the converted file will be saved in the current working directory with name:
<source_file_name>.yml.If the source path is a directory(e.g.
python prop2yml.py /path/to/prop/) all.propertiesfiles from the subdirectories will be converted recursively.By default all source files will be kept. To remove the source files use the
-rmoptions. -
.ymlto.prop: (COMING SOON) To convert.ymlfile to.propertiesfile run:python yml2prop.py <source_file_path.yml> <destination_path.properties>If the destination path is not specified the converted file will be saved in the current working directory with name:
<source_file_name>.properties.
Use -h or --help option to show a help message and exit.