Module Chamo.Args

Command line analysis

val commands : string list Stdlib.ref
val remaining : string list Stdlib.ref

Remaining arguments

val append_command : string -> unit

Add a command as it it were passed with -e on command line.

val init_commands : string list Stdlib.ref
val append_init_command : string -> unit

Add an init command, different from command-line passed commands.

val add_option : (string * Stdlib.Arg.spec * string) -> unit
val parse : unit -> unit