Matt Bell
|
c80a7941d1
|
commands/cli: Fixed file path formatting on Windows
|
2014-12-05 20:56:27 -08:00 |
|
Matt Bell
|
5cb39235cc
|
commands/http: Fixed bug with client arg querystring
|
2014-12-05 20:56:27 -08:00 |
|
Matt Bell
|
4c7a694409
|
commands/http: Fixed client panic when sending a Request with nil 'Files'
|
2014-12-05 20:56:27 -08:00 |
|
Matt Bell
|
aaab7d0898
|
commands/http: Allow API requests from whitelisted origins
|
2014-11-25 06:12:35 -08:00 |
|
Peter Borzov
|
a76bac0dcc
|
Hotfix: return parsed options if argument parsing failed
|
2014-11-23 05:56:29 -05:00 |
|
Matt Bell
|
922f84878c
|
commands/cli: Added argument parse tests
|
2014-11-19 18:30:06 -08:00 |
|
Matt Bell
|
a69ddbb965
|
commands/cli: Fixed parse bug when optional argument is defined first
|
2014-11-19 18:29:56 -08:00 |
|
Matt Bell
|
4bd2fbc806
|
commands/cli: Ignore stdin on Windows
|
2014-11-19 04:30:29 -08:00 |
|
Matt Bell
|
69ce2940a8
|
commands/cli: Fixed helptext option type
|
2014-11-19 00:54:59 -08:00 |
|
Matt Bell
|
ae6f00d766
|
commands: Fixed tests
|
2014-11-19 00:36:42 -08:00 |
|
Matt Bell
|
761392d8de
|
commands/cli: Only allow recursive paths if -r option definition is OptionRecursivePath
|
2014-11-19 00:26:53 -08:00 |
|
Matt Bell
|
aa84f69231
|
commands: Added a 'Definition()' method to OptionValue to get a reference to the option definiton
|
2014-11-19 00:26:02 -08:00 |
|
Matt Bell
|
bbf3a1f4d4
|
commands: Changed Option to an interface
|
2014-11-19 00:24:55 -08:00 |
|
Matt Bell
|
277ba26120
|
commands: Gave global options exported names
|
2014-11-19 00:01:03 -08:00 |
|
Matt Bell
|
2855a6eed7
|
commands/cli: Allow option blobs before command path
|
2014-11-18 06:56:45 -08:00 |
|
Juan Batiz-Benet
|
f43954fcd1
|
ensure node constructed is online for daemon
|
2014-11-18 05:20:04 -08:00 |
|
Matt Bell
|
8968b98cf3
|
commands: Added tests for Request#SetOptions
|
2014-11-18 02:13:57 -08:00 |
|
Matt Bell
|
c19bdf18b2
|
commands: Added Request#SetOptions
|
2014-11-18 02:13:57 -08:00 |
|
Matt Bell
|
57c48adfcf
|
commands/http: Made MultiFileReader thread safe
|
2014-11-18 02:13:57 -08:00 |
|
Matt Bell
|
6681c50371
|
commands/cli: Decomposed 'parseArgs'
|
2014-11-18 02:13:57 -08:00 |
|
Matt Bell
|
c14bd98f7a
|
commands/http: Added MultiFileReader test
|
2014-11-18 02:13:57 -08:00 |
|
Matt Bell
|
c904e6c46d
|
commands: Added File tests
|
2014-11-18 02:13:57 -08:00 |
|
Matt Bell
|
8900229579
|
commands/http: Made MultiFileReader#Read more readable
|
2014-11-18 02:13:56 -08:00 |
|
Matt Bell
|
c9abc6b546
|
commands/http: Documented MultiFileReader
|
2014-11-18 02:13:56 -08:00 |
|
Matt Bell
|
c598673b4c
|
commands/http: Documented MultiFileReader
|
2014-11-18 02:13:56 -08:00 |
|
Matt Bell
|
5614234d1d
|
commands/http: MultiFileReader: Removed extraneous condition when checking next file
|
2014-11-18 02:13:56 -08:00 |
|
Matt Bell
|
a9d784cb21
|
commands: Documented File and implementations
|
2014-11-18 02:13:56 -08:00 |
|
Matt Bell
|
380337b76b
|
commands/cli: Use filepath.Join for file path building
|
2014-11-18 02:13:56 -08:00 |
|
Matt Bell
|
015bd06cff
|
commands/cli: Fixed stdin arg handling
|
2014-11-18 02:13:56 -08:00 |
|
Matt Bell
|
0b509098aa
|
commands: Fixed tests
|
2014-11-18 02:13:55 -08:00 |
|
Matt Bell
|
d4ac442838
|
commands/cli: Fixed Parse required argument check
|
2014-11-18 02:13:55 -08:00 |
|
Matt Bell
|
ce49541f13
|
commands/http: Ignore mediatype validation (only required for file args)
|
2014-11-18 02:13:55 -08:00 |
|
Matt Bell
|
9333c504c1
|
commands/cli,http: Make sure required file arguments are provided
|
2014-11-18 02:13:55 -08:00 |
|
Matt Bell
|
bc8a97c119
|
commands: Cleanup up argument validation
|
2014-11-18 02:13:55 -08:00 |
|
Matt Bell
|
f8be26810a
|
commands: Changed Request#Arguments to a []string
|
2014-11-18 02:13:55 -08:00 |
|
Matt Bell
|
9dcf21673d
|
commands: Fail earlier for arg count checking (by doing it in CLI req parser)
|
2014-11-18 02:13:55 -08:00 |
|
Matt Bell
|
51bfe06f1a
|
commands/http: Support recursive multipart in MultiFileReader
|
2014-11-18 02:13:54 -08:00 |
|
Matt Bell
|
9d2ee4f1d4
|
commands/cli: Support directory argfile arguments in Parse
|
2014-11-18 02:13:54 -08:00 |
|
Matt Bell
|
ae33905ccd
|
commands: Added global -r/--recursive flag
|
2014-11-18 02:13:54 -08:00 |
|
Matt Bell
|
f22ac196bb
|
commands: Added Recursive modifier to Argument
|
2014-11-18 02:13:54 -08:00 |
|
Matt Bell
|
bfc83bd16a
|
commands: Added SetArguments/SetFiles to Request
|
2014-11-18 02:13:54 -08:00 |
|
Matt Bell
|
4ba7408363
|
commands: Don't error on file arg checking (for now)
|
2014-11-18 02:13:54 -08:00 |
|
Matt Bell
|
3a9a62eb0e
|
commands/cli: Open file paths when parsing and use in request.Files()
|
2014-11-18 02:13:53 -08:00 |
|
Matt Bell
|
132e740257
|
commands/http: Send req.Files() as multipart
|
2014-11-18 02:13:53 -08:00 |
|
Matt Bell
|
53735263c2
|
commands/http: Parse multipart files into req.Files()
|
2014-11-18 02:13:53 -08:00 |
|
Matt Bell
|
4b9fa9c97c
|
commands/http: Use constants for header names
|
2014-11-18 02:13:53 -08:00 |
|
Matt Bell
|
1c8d73f9ea
|
commands: Added Request#Files()
|
2014-11-18 02:13:53 -08:00 |
|
Matt Bell
|
fdb71eb5dc
|
commands: Added MultiFileReader (read a File as multipart data)
|
2014-11-18 02:13:53 -08:00 |
|
Matt Bell
|
02c7c329aa
|
commands: Added File interface and implementations
|
2014-11-18 02:13:53 -08:00 |
|
Juan Batiz-Benet
|
45cc33b1ff
|
Merge pull request #354 from chriscool/improve_help_messages
Improve help messages
|
2014-11-17 14:25:39 -08:00 |
|