Skip to content

Easy handling of command-line arguments in OCaml programs

Notifications You must be signed in to change notification settings

hennequin-lab/cmdargs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Easy handling of command-line arguments in OCaml programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages