struct OIJ::CLI::Execute::Arguments

Included Modules

Defined in:

oij.cr:25
oij.cr:27
oij.cr:28

Constant Summary

SPECS = {"file" => {type: "String", description: {"file", ""}, default: "nil", is_required: false}, "input_file" => {type: "String", description: {"input_file", ""}, default: "nil", 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 each(*args, **options) #

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

def exists?(name : Symbol) #

def file : String | Nil #

[View source]
def get(name : Symbol) #

def get?(name : Symbol) #

def input_file : String | Nil #

[View source]
def inspect(io) #

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

def validate!(command : Admiral::Command) #

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

[View source]