Commit Graph

321 Commits

Author SHA1 Message Date
Matt Bell
43670971d8 commands: Formatted code 2014-10-20 07:04:52 -07:00
Matt Bell
94ca2642a1 commands: Added test for Response error marshalling 2014-10-20 07:04:51 -07:00
Matt Bell
aa592cec80 commands: Added error marshalling to Response 2014-10-20 07:04:51 -07:00
Matt Bell
01938ac574 commands: Updated Response test to use safer option setting 2014-10-20 07:04:51 -07:00
Matt Bell
308ee5c949 commands: Added Request#SetOption so we can set options with multiple names 2014-10-20 07:04:51 -07:00
Matt Bell
808d9c1912 commands: Wrote tests for Response marshalling 2014-10-20 07:04:51 -07:00
Matt Bell
a3a843759b commands: Added marshalling to Response 2014-10-20 07:04:51 -07:00
Matt Bell
95b0dd29f8 commands: Added an Error struct for creating marshallable errors 2014-10-20 07:04:51 -07:00
Matt Bell
d1595ce34c commands: Added basic methods to Request 2014-10-20 07:04:51 -07:00
Matt Bell
df034c9c0b commands: Updated Command tests for new Response API 2014-10-20 07:04:51 -07:00
Matt Bell
b2ee05a0be commands: Updated Command to use Response for output rather than (interface{}, error) 2014-10-20 07:04:50 -07:00
Matt Bell
f31fd53df9 commands: Added Response 2014-10-20 07:04:50 -07:00
Matt Bell
97ce60f8a4 commands: Added global options list to command tests 2014-10-20 07:04:50 -07:00
Matt Bell
d7e9afc801 commands: Use global options when registering and calling commands 2014-10-20 07:04:50 -07:00
Matt Bell
47ebf174f4 commands: Created a list of global options (for options owned by commands package) 2014-10-20 07:04:50 -07:00
Matt Bell
e593c180fe commands: Added tests for Command.Register 2014-10-20 07:04:50 -07:00
Matt Bell
5b18844c06 commands: Check for option name collisions 2014-10-20 07:04:50 -07:00
Matt Bell
dd682963a2 commands: Wrote tests for command option validation 2014-10-20 07:04:50 -07:00
Matt Bell
15b7388c0e commands: Request struct 2014-10-20 07:04:49 -07:00
Matt Bell
30ea427b7b commands: Created Option struct 2014-10-20 07:04:49 -07:00
Matt Bell
dd2a10509f commands: Implemented Command 2014-10-20 07:04:49 -07:00