struct

WinMD::CLI::Download::Arguments

Inherits Iterable < Enumerable < Struct < Value < Object

Constants

SPECS = {"source_url" => {type: "String", description: {"source_url", "URL to JSON Repo"}, default: "nil", is_required: false}, "dest_dir" => {type: "String", description: {"dest_dir", "Where the downloads will reside"}, default: "\"work/win32json\"", is_required: false}} of String => NamedTuple(type: String, description: Tuple(String, String | ::Nil), default: String, is_required: Bool)

Constructors

new(command : Admiral::Command)

Instance methods

[](*args, **options)
[](*args, **options, &)
dest_dir
Source
each(*args, **options)
each(*args, **options, &)
exists?(name : Symbol)
get(name : Symbol)
get?(name : Symbol)
inspect(io)
Source
rest
source_url
Source
validate!(command : Admiral::Command)
value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
Source