- 18 Nov, 2014 2 commits
- 17 Nov, 2014 6 commits
-
-
Juan Batiz-Benet authored
Improve help messages
-
Christian Couder authored
It takes some space and it looks like it applies to the description too. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
- 15 Nov, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 14 Nov, 2014 31 commits
-
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Brian Tiger Chow authored
I didn't know there were dragons here. When casting errors we've gotta be careful. Apparently both values and pointers satisfy the error interface. Type checking for one doesn't catch the other. cc @whyrusleeping @mappum @jbenet License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
feat(commands) add ClientError(msg) helper and use it to return a fancy error to the client in the tour @jbenet this exists now License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Matt Bell authored
-
Juan Batiz-Benet authored
Also: - map[cmds.EncodingType]cmds.Marshaller -> MarshalMap cc @mappum @maybebtc
-
Matt Bell authored
-
Juan Batiz-Benet authored
-
Matt Bell authored
-
Brian Tiger Chow authored
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
@mappum License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Matt Bell authored
-
Brian Tiger Chow authored
boilerplate I know you'll love this one @mappum License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
nil function cc @jbenet @mappum License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Matt Bell authored
-
Juan Batiz-Benet authored
-
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
-