struct

OIJ::CLI::GenerateHackCase::Flags

Inherits Struct < Value < Object

Extend the flags struct to include the flag

Constants

DESCRIPTIONS = {} of String => String
SPECS = {"__help__" => {kind: "bool", type: "Bool", default: "false", description: {"--help, -h", "Displays help for the current command."}, short: "h", long: "help", is_required: true}, "hack_option" => {kind: "nil", type: "String", default: "nil", description: {"--hack-option, -h", ""}, short: "h", long: "hack-option", is_required: false}, "generator_option" => {kind: "nil", type: "String", default: "nil", description: {"--generator-option, -g", ""}, short: "g", long: "generator-option", is_required: false}, "solver_option" => {kind: "nil", type: "String", default: "nil", description: {"--solver-option, -s", ""}, short: "s", long: "solver-option", is_required: false}, "option" => {kind: "nil", type: "String", default: "nil", description: {"--option, -o", ""}, short: "o", long: "option", is_required: false}} of String => NamedTuple(kind: String, type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)

Constructors

new(command : Admiral::Command)

Instance methods

__help__
generator_option
Source
hack_option
Source
inspect(io)
Source
option
Source
solver_option
Source
validate!(command)