Handbook
Glossary
OPTIONS ( -- value )
Vocabulary
tools
.
random
Inputs
None
Outputs
value
an
object
Definition
USING:
command-line.parser
;
IN:
tools.random
CONSTANT:
OPTIONS
{
T{
option
{
name
"--integer"
}
{
help
"compute a random integer"
}
{
const
t
}
}
T{
option
{
name
"--float"
}
{
help
"compute a random float"
}
{
const
t
}
}
T{
option
{
name
"--choice"
}
{
help
"compute a random choice"
}
{
const
t
}
}
T{
option
{
name
"input"
}
{
help
"the random input"
}
{
#args
"*"
}
}
}
inline