struct GetImages::Flags

Overview

Extend the flags struct to include the flag

Defined in:

image-downloader.cr:5
image-downloader.cr:11

Constant Summary

DESCRIPTIONS = {} of String => String
SPECS = {"type" => {kind: "nil", type: "String", default: "\"html\"", description: {"--type (default: \"html\")", "This will allow you to consume different dat types (eg. HTML, JSON, XML)"}, short: "nil", long: "type", is_required: true}} of String => NamedTuple(kind: String, type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def inspect(io) #

[View source]
def type #

[View source]
def validate!(command) #