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), (Array CLI.Positional)] CLI.Parser)

creates a Parser.

options

instantiate

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

gets the options property of a Parser.

positionals

instantiate

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

gets the positionals 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.

set-positionals

instantiate

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

sets the positionals property of a Parser.

set-positionals!

instantiate

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

sets the positionals 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.

update-positionals

instantiate

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

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

values

defn

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

                        (values p)