struct Asdfler::CLI::Install::Flags

Overview

Extend the flags struct to include the flag

Defined in:

asdfler.cr:10
asdfler.cr:12

Constant Summary

DESCRIPTIONS = {} of String => String
SPECS = {"__help__" => {kind: "bool", type: "Bool", default: "false", description: {"--help", "Displays help for the current command."}, short: "nil", long: "help", is_required: true}, "path" => {kind: "nil", type: "String", default: "\".asdfler.yml\"", description: {"--path, -p (default: \".asdfler.yml\")", "Path where your asdfler config lives. Must be valid YAML or JSON (given simple JSON is a superset of YAML)."}, short: "p", long: "path", 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 __help__ #

def inspect(io) #

[View source]
def path #

[View source]
def validate!(command) #