struct WinMD::CLI::Download::Arguments

Included Modules

Defined in:

winmd/cli/download.cr:3
winmd/cli/download.cr:20
winmd/cli/download.cr:24

Constant Summary

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

Instance Method Summary

Constructor Detail

def self.new(command : Admiral::Command) #

Instance Method Detail

def [](*args, **options) #

def [](*args, **options, &) #

def dest_dir : String | Nil #

[View source]
def each(*args, **options) #

def each(*args, **options, &) #

def exists?(name : Symbol) #

def get(name : Symbol) #

def get?(name : Symbol) #

def inspect(io) #

[View source]
def rest : Array(String) #

def source_url : String | Nil #

[View source]
def validate!(command : Admiral::Command) #

def value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool) #

[View source]