Add support for reading configuration from command line.