refactor string flag parsing

Hoist the code for parsing flags out of each individual subcommand and
into a function shared by all the subcommands. This reduces duplication
and potential for error. More importantly it makes the code that
actually implements the subcommand more prominent.
This commit is contained in:
Kurtis Rader 2017-06-11 11:49:59 -07:00
parent d71c4d129c
commit 59a2e1bcbc

File diff suppressed because it is too large Load diff