struct Werk::Commands::Plan::Arguments
- Werk::Commands::Plan::Arguments
- Struct
- Value
- Object
Included Modules
- Enumerable(String)
- Iterable(String)
Defined in:
werk/commands/plan.cr:9werk/commands/plan.cr:12
Constant Summary
-
SPECS =
{"target" => {type: "String", description: {"target", "Job name"}, default: "\"main\"", is_required: false}} of String => NamedTuple(type: String, description: Tuple(String, String | ::Nil), default: String, is_required: Bool)
Constructors
Instance Method Summary
- #[](*args, **options)
- #[](*args, **options, &)
- #each(*args, **options)
- #each(*args, **options, &)
- #exists?(name : Symbol)
- #get(name : Symbol)
- #get?(name : Symbol)
- #inspect(io)
- #rest : Array(String)
- #target : String | Nil
- #validate!(command : Admiral::Command)
- #value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
Constructor Detail
Instance Method Detail
def value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
#