command-line.parser vocabulary
Factor handbook ยป Vocabulary index


Documentation
Parsing command-line arguments

Metadata
Parents:command-line
Authors:John Benediktsson


Words

Tuple classes
ClassSuperclassSlots
option tuplename type help variable default convert validate const required? meta #args


Symbol words
allow-abbrev?
default-help?
program-epilog
program-name
program-prolog


Ordinary words
WordStack effect
(parse-options)( options command-line -- arguments )
parse-options( options -- arguments )
with-options( ... options quot: ( ... -- ... ) -- ... )


Class predicate words
WordStack effect
option?( object -- ? )


Files


Metadata files