add a cli interface with default config generation