Add a command-line interface.
Support custom Mock configuration path.
Add a write_mockcfg function.
Generate custom Mock configuration for each run.