Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 233 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 233 Bytes

Small utility for dealing with command line arguments in OCaml.

Some examples:

let dir = Cmdargs.(get_string "-d" |> force ~usage:"-d dir")
let a = Cmdargs.(get_float "-a" |> default 3.14)
let c = Cmdargs.check "-c"