class

PunchCard::Options

Inherits Cli::OptionModel < Optarg::Model < Reference < Object

The dedicated Cli::OptionModel subclass for the PunchCard class.

This class is automatically defined by the Crystal CLI library.

Instance methods

input

Returns the INPUT argument value.

This method is automatically defined by the optarg library.

input?

Returns the INPUT argument value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.

p

Returns the -p option value.

This method is automatically defined by the optarg library.

p?

Returns the -p option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.

project

Returns the -p option value.

This method is automatically defined by the optarg library.

project?

Returns the -p option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.

Nested types