set/get config functionality in command line tool