Added option to save the command line config.

The -s option will export the command line options as a
YAML file. This can then be used by a future command
line option to read in options via file.