- 14 Nov, 2014 40 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
Attention @maybebtc @mappum I cleaned up + simplified the main flow. Now, all printing is contained inside main itself! (:cheer:). I do this with the help of a cmdInvocation struct that has both a Parse and Run. The only major clunkiness left is that the "CallCommand" is still its own function. But *shrug*. Please test it works as we would expect. i changed much of the flow, so likely that i missed a complicated edge case. main roadmap: - parse the commandline to get a cmdInvocation - if user requests, help, print it and exit. - run the command invocation - output the response - if anything fails, print error, maybe with help
-
Matt Bell authored
-
Matt Bell authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Matt Bell authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Matt Bell authored
-
Juan Batiz-Benet authored
-
Matt Bell authored
-
Matt Bell authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
@mappum, could you CR this and let me know if I've interpreted the desired behavior correctly?
-
Brian Tiger Chow authored
NB: return variables are provided for clarity. Otherwise, it's not entirely clear that the bool is for _found_.
-
Brian Tiger Chow authored
TODO add tests for remaning, untested methods.
-
Brian Tiger Chow authored
@mappum this optionvalue is a really great abstraction. It makes maintenance super simple! @jbenet @whyrusleeping
-
Brian Tiger Chow authored
we've gotta allow the code to speak for itself. I wouldn't have been able to safely modify this code without having my hand held. I am but a lowly programmer with a simple mind. cc @jbenet @whyrusleeping @mappum
-
Brian Tiger Chow authored
-
Matt Bell authored
-
Juan Batiz-Benet authored
-
Matt Bell authored
-
Matt Bell authored
-
Brian Tiger Chow authored
-
Matt Bell authored
-
Matt Bell authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-