davetron5000/methadone — Issue #32: Allow to set defaults in .<app-name>rc file
Author: halfdan
Created: 2012-02-20 14:22:03+00:00
State: open

Most CLI applications come with a configuration file that allows to set some user specific configuration. I'd like to request that feature for methadone:

* Automatically search for a .rc file and load the values into the options hash or **alternatively** provide an additional interface to those values.

Use Case: I'm writing a CLI interface to a Java application and need to know where a specific library is saved. I don't want the user to always provide me with that information when my app is executed (e.g. myapp --library=/home/foo/bar/long/path/to.jar), I'd much rather store that information inside a config file where it gets automatically loaded.