Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
load a config file and move default options (to become more DRY) #5
I moved the logic that sets the default ports up to the option parser block to remove some duplication.
Then I added a bit of code to load settings from a file. The arguments passed on the command line will always override the ones specified in the config file. It will try to find a configuration file in the user dir (