Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cli
v0.3.1
Cli
Command
CommandBase
Exit
Help
Description
Helps
Command
Supercommand
OptionModel
Argument
Metadata
ArgumentValueContainer
Handler
Metadata
Option
Metadata
OptionValueContainer
Parser
Supercommand
UnknownCommand
Built with Crystal 1.9.2
2023-10-08 23:19:54 UTC
abstract class
Cli::OptionModel::Argument::Metadata
Cli::OptionModel::Argument::Metadata
Optarg::Metadata
Reference
Object
Defined in:
cli/option_model.cr:14
cli/option_model.cr:45
Constructors
.new
(description : Nil | String =
nil
, default =
nil
)
Instance Method Summary
#default_string
: String | Nil
#description
: String | Nil
Constructor Detail
def self.
new
(description : Nil | String =
nil
, default =
nil
)
#
[
View source
]
Instance Method Detail
def
default_string
: String | Nil
#
[
View source
]
def
description
: String | Nil
#
[
View source
]