Created
December 8, 2017 00:35
-
-
Save dustinlacewell-wk/5ee4679691e89434f35885216cdbca3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Argu | |
[<EntryPoint>] | |
let main argv = | |
try | |
Args("fss", argv) | |
|> Client.json "post" @"{ ""foo"": ""bar"" }" | |
|> Client.send | |
|> printfn "%s" | |
with | |
| Failure(msg) -> printfn "Error: %s" msg | |
| :? ArguParseException as ex -> printfn "%s" ex.Message | |
0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment