CLI.Option
default
(Fn [(Ref CLI.Option a)] (Ref (Maybe CLI.Type) a))
gets the default property of a Option.
description
(Fn [(Ref CLI.Option a)] (Ref String a))
gets the description property of a Option.
init
(Fn [CLI.Tag, String, String, String, Bool, (Maybe CLI.Type), (Maybe (Array CLI.Type))] CLI.Option)
creates a Option.
options
(Fn [(Ref CLI.Option a)] (Ref (Maybe (Array CLI.Type)) a))
gets the options property of a Option.
required?
(Fn [(Ref CLI.Option a)] (Ref Bool a))
gets the required? property of a Option.
set-default
(Fn [CLI.Option, (Maybe CLI.Type)] CLI.Option)
sets the default property of a Option.
set-default!
(Fn [(Ref CLI.Option a), (Maybe CLI.Type)] ())
sets the default property of a Option in place.
set-description
(Fn [CLI.Option, String] CLI.Option)
sets the description property of a Option.
set-description!
(Fn [(Ref CLI.Option a), String] ())
sets the description property of a Option in place.
set-long!
(Fn [(Ref CLI.Option a), String] ())
sets the long property of a Option in place.
set-options
(Fn [CLI.Option, (Maybe (Array CLI.Type))] CLI.Option)
sets the options property of a Option.
set-options!
(Fn [(Ref CLI.Option a), (Maybe (Array CLI.Type))] ())
sets the options property of a Option in place.
set-required?
(Fn [CLI.Option, Bool] CLI.Option)
sets the required? property of a Option.
set-required?!
(Fn [(Ref CLI.Option a), Bool] ())
sets the required? property of a Option in place.
set-short!
(Fn [(Ref CLI.Option a), String] ())
sets the short property of a Option in place.
set-type-!
(Fn [(Ref CLI.Option a), CLI.Tag] ())
sets the type- property of a Option in place.
update-default
(Fn [CLI.Option, (Ref (Fn [(Maybe CLI.Type)] (Maybe CLI.Type) a) b)] CLI.Option)
updates the default property of a CLI.Option using a function f.
update-description
(Fn [CLI.Option, (Ref (Fn [String] String a) b)] CLI.Option)
updates the description property of a CLI.Option using a function f.
update-long
(Fn [CLI.Option, (Ref (Fn [String] String a) b)] CLI.Option)
updates the long property of a CLI.Option using a function f.
update-options
(Fn [CLI.Option, (Ref (Fn [(Maybe (Array CLI.Type))] (Maybe (Array CLI.Type)) a) b)] CLI.Option)
updates the options property of a CLI.Option using a function f.
update-required?
(Fn [CLI.Option, (Ref (Fn [Bool] Bool a) b)] CLI.Option)
updates the required? property of a CLI.Option using a function f.
update-short
(Fn [CLI.Option, (Ref (Fn [String] String a) b)] CLI.Option)
updates the short property of a CLI.Option using a function f.
update-type-
(Fn [CLI.Option, (Ref (Fn [CLI.Tag] CLI.Tag a) b)] CLI.Option)
updates the type- property of a CLI.Option using a function f.