clean up offline tool
This commit is contained in:
parent
0653e865cf
commit
313af65047
5 changed files with 184 additions and 179 deletions
|
|
@ -1,5 +1,5 @@
|
|||
(* TODO
|
||||
change download_cmd/upload_cmd
|
||||
better cmd doc
|
||||
change arguments: '_' -> '-'
|
||||
|
||||
all management operations:
|
||||
|
|
@ -99,8 +99,8 @@ let download_cmd =
|
|||
let doc = "GET" in
|
||||
Cmd.make (Cmd.info "download" ~doc)
|
||||
@@
|
||||
let+ output = output in
|
||||
download ~output
|
||||
let+ output = output and+ url = url in
|
||||
download ~output ~url
|
||||
|
||||
let upload_cmd =
|
||||
let doc = "POST" in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue