Brian Warner
52ef00b46b
CLI: refactor to make testing easier
...
When tests need a Config object, they now call a function which invokes
Click with a mocked-out go() function, and grabs the Config object
before actually doing anything with it.
2016-07-14 22:34:10 -06:00
Brian Warner
4978be6b90
args: fix --no-listen, --tor
...
Also add tests to check that argv is being parsed properly, and to check
the defaults.
fixes #59
2016-06-27 14:40:51 -07:00
Brian Warner
b613ac1b3b
cli.py: add comment
2016-06-22 13:15:07 -07:00
Brian Warner
940aec7570
cli.py: improve parallelism between send+receive
2016-06-22 13:11:43 -07:00
meejah
6b29d62d78
typo
2016-06-22 01:29:13 -06:00
meejah
03594a2d0e
consistent return usage
2016-06-22 01:28:53 -06:00
meejah
e16b53817e
Refactor to use Click
2016-06-22 01:11:07 -06:00