new-platform-configs: extend functionality
Created by: craftyguy
This adds parameter handling with getopts, and adds an optional parameter to commit the config addition(s) to git. Having this option allows for thie script to be used in other scripts that may perform other modifications that the user may want to include in a single commit