class

Cling::Formatter::Options

Inherits Reference < Object

Represents options for the formatter.

Constructors

new(*, option_delim : Char = '-', show_defaults : Bool = true, show_required : Bool = true)
Source

Instance methods

option_delim

The character to use for flag option delimiters (default is -).

Source
option_delim=(option_delim : Char)

The character to use for flag option delimiters (default is -).

Source
show_defaults=(show_defaults : Bool)

Whether to show the default tag for options with default values (default is true).

Source
show_defaults?

Whether to show the default tag for options with default values (default is true).

Source
show_required=(show_required : Bool)

Whether to show the required tag for required arguments/options (default is true).

Source
show_required?

Whether to show the required tag for required arguments/options (default is true).

Source