CLI.Parser

is the parser type. To construct a Parser, please use new.

copy

instantiate

(Fn [(Ref CLI.Parser a)] CLI.Parser)

copies a Parser.

delete

instantiate

(Fn [CLI.Parser] ())

deletes a Parser. Should usually not be called manually.

description

instantiate

(Fn [(Ref CLI.Parser a)] (Ref String a))

gets the description property of a Parser.

init

instantiate

(Fn [String, (Array CLI.Option)] CLI.Parser)

creates a Parser.

options

instantiate

(Fn [(Ref CLI.Parser a)] (Ref (Array CLI.Option) a))

gets the options property of a Parser.

prn

instantiate

(Fn [(Ref CLI.Parser a)] String)

converts a Parser to a string.

set-description

instantiate

(Fn [CLI.Parser, String] CLI.Parser)

sets the description property of a Parser.

set-description!

instantiate

(Fn [(Ref CLI.Parser a), String] ())

sets the description property of a Parser in place.

set-options

instantiate

(Fn [CLI.Parser, (Array CLI.Option)] CLI.Parser)

sets the options property of a Parser.

set-options!

instantiate

(Fn [(Ref CLI.Parser a), (Array CLI.Option)] ())

sets the options property of a Parser in place.

str

instantiate

(Fn [(Ref CLI.Parser a)] String)

converts a Parser to a string.

update-description

instantiate

(Fn [CLI.Parser, (Ref (Fn [String] String a) b)] CLI.Parser)

updates the description property of a CLI.Parser using a function f.

update-options

instantiate

(Fn [CLI.Parser, (Ref (Fn [(Array CLI.Option)] (Array CLI.Option) a) b)] CLI.Parser)

updates the options property of a CLI.Parser using a function f.

values

defn

(Fn [(Ref CLI.Parser a)] CLI.CmdMap)

                        (values p)