CLI.Parser
is the parser type. To construct a Parser, please use
new.
description
(Fn [(Ref CLI.Parser a)] (Ref String a))
gets the description property of a Parser.
init
(Fn [String, (Array CLI.Option), (Array CLI.Positional)] CLI.Parser)
creates a Parser.
options
(Fn [(Ref CLI.Parser a)] (Ref (Array CLI.Option) a))
gets the options property of a Parser.
positionals
(Fn [(Ref CLI.Parser a)] (Ref (Array CLI.Positional) a))
gets the positionals property of a Parser.
set-description
(Fn [CLI.Parser, String] CLI.Parser)
sets the description property of a Parser.
set-description!
(Fn [(Ref CLI.Parser a), String] ())
sets the description property of a Parser in place.
set-options
(Fn [CLI.Parser, (Array CLI.Option)] CLI.Parser)
sets the options property of a Parser.
set-options!
(Fn [(Ref CLI.Parser a), (Array CLI.Option)] ())
sets the options property of a Parser in place.
set-positionals
(Fn [CLI.Parser, (Array CLI.Positional)] CLI.Parser)
sets the positionals property of a Parser.
set-positionals!
(Fn [(Ref CLI.Parser a), (Array CLI.Positional)] ())
sets the positionals property of a Parser in place.
update-description
(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
(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
(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.