struct Builder::Flags

Overview

Extend the flags struct to include the flag

Defined in:

buildCmd/buildCmd.cr:1
buildCmd/buildCmd.cr:3
buildCmd/buildCmd.cr:9

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}, "file" => {kind: "nil", type: "String", default: "nil", description: {"--file, -f (required)", "TOML Solution to build"}, short: "f", long: "file", is_required: true}, "ignoreValidation" => {kind: "bool", type: "Bool", default: "false", description: {"--ignorevalidation, -iv", "Skip validation test"}, short: "iv", long: "ignorevalidation", 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 file #

[View source]
def ignoreValidation #

[View source]
def inspect(io) #

[View source]
def validate!(command) #