struct OIJ::CLI::GenerateHackCase::Arguments
- OIJ::CLI::GenerateHackCase::Arguments
- Struct
- Value
- Object
Included Modules
Defined in:
oij.cr:245oij.cr:247
oij.cr:248
oij.cr:249
Constant Summary
-
SPECS =
{"hack" => {type: "Path", description: {"hack (required)", "Specify your wrong solution."}, default: "nil", is_required: true}, "generator" => {type: "Path", description: {"generator (required)", "Specify program to generate test cases."}, default: "nil", is_required: true}, "solver" => {type: "Path", description: {"solver (required)", "Specify program to generate correct answers."}, default: "nil", is_required: true}} of String => NamedTuple(type: String, description: Tuple(String, String | ::Nil), default: String, is_required: Bool)
Constructors
Instance Method Summary
- #[](*args, **options)
- #[](*args, **options, &)
- #each(*args, **options)
- #each(*args, **options, &)
- #exists?(name : Symbol)
- #generator : Path
- #get(name : Symbol)
- #get?(name : Symbol)
- #hack : Path
- #inspect(io)
- #rest : Array(String)
- #solver : Path
- #validate!(command : Admiral::Command)
- #value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)