Skip to content

Model Items

mosop edited this page Dec 31, 2016 · 15 revisions

A model has model items. A model item is one of:

Option

An option is a single word or a set of two words in a command line. The first word of an option is starting with a minus (-) sign.

An option has one of the following types:

  • String
  • Bool
  • Array(String)

Argument

An argument is a single word in a command line and not starting with a minus (-) sign.

An argument has one of the following types:

  • String
  • Array(String)

Handler

A handler is a special option for invoking a code block. It is a single word and starting with a minus (-) sign.

Terminator

A terminator is a special argument for terminating a parser process. It is a single word with any characters.

Clone this wiki locally