Skip to content

enum Tabular::Kind #

Specifiers that determine the functionality of a Tablet.

Members#

Option = 1#

Specifies that a Tablet represents an #option parameter.

Argument = 2#

Specifies that a Tablet represents an argument parameter.

Command = 3#

Specifies that a Tablet represents an [subcommand][Tabular::Habit#subcommand] parameter.

Methods#

#argument?#

Returns true if this enum value equals Argument

View source

#command?#

Returns true if this enum value equals Command

View source

#directives#

Returns the default Directive of the Kind.

View source

#option?#

Returns true if this enum value equals Option

View source

#runnable?#

Returns true if the Tablet represented by the Kind should hand control back to the CLI when matched. Only Command is runnable.

View source