Adding cli config option. Mostly copied from Lineman.

Fixes #23.