Read the config file before running cli.