Added options to generate and base command to set config values from the command line.