class Cry::Command::Options
- Cry::Command::Options
- Cli::OptionModel
- Optarg::Model
- Reference
- Object
Overview
The dedicated Cli::OptionModel subclass for the Command
class.
This class is automatically defined by the Crystal CLI library.
Defined in:
cry/command.cr:5cry/command.cr:10
Instance Method Summary
-
#b
Returns the -b option value.
-
#b?
Returns the -b option value.
-
#back
Returns the -b option value.
-
#back?
Returns the -b option value.
-
#code
Returns the CODE argument value.
-
#code?
Returns the CODE argument value.
-
#d?
Returns the -d option value.
-
#destructive?
Returns the -d option value.
-
#e
Returns the -e option value.
-
#e?
Returns the -e option value.
-
#editor
Returns the -e option value.
-
#editor?
Returns the -e option value.
-
#l?
Returns the -l option value.
-
#log?
Returns the -l option value.
-
#r?
Returns the -r option value.
-
#repeat?
Returns the -r option value.
Instance Method Detail
Returns the -b option value.
Returns nil, if the value is undefined.
This method is automatically defined by the optarg library.
Returns the -b option value.
Returns nil, if the value is undefined.
This method is automatically defined by the optarg library.
Returns the CODE argument value.
This method is automatically defined by the optarg library.
Returns the CODE argument value.
Returns nil, if the value is undefined.
This method is automatically defined by the optarg library.
Returns the -d option value.
This method is automatically defined by the optarg library.
Returns the -e option value.
Returns nil, if the value is undefined.
This method is automatically defined by the optarg library.
Returns the -e option value.
This method is automatically defined by the optarg library.
Returns the -e option value.
Returns nil, if the value is undefined.
This method is automatically defined by the optarg library.
Returns the -r option value.
This method is automatically defined by the optarg library.