struct OIJ::CLI::ContestDirectory::Flags
- OIJ::CLI::ContestDirectory::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
oij.crConstant Summary
-
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}, "atcoder" => {kind: "nil", type: "String", default: "nil", description: {"--atcoder, -a", "Specify atcoder contest."}, short: "a", long: "atcoder", is_required: false}, "codeforces" => {kind: "nil", type: "String", default: "nil", description: {"--codeforces, -c", "Specify codeforces contest."}, short: "c", long: "codeforces", is_required: false}, "next" => {kind: "bool", type: "Bool", default: "false", description: {"--next, -n", "Specify next contest."}, short: "n", long: "next", is_required: true}, "prev" => {kind: "bool", type: "Bool", default: "false", description: {"--prev, -p", "Specify previous contest."}, short: "p", long: "prev", is_required: true}, "strict" => {kind: "bool", type: "Bool", default: "false", description: {"--strict, -s", "Strict mode."}, short: "s", long: "strict", 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
- #__help__
- #atcoder : String?
- #codeforces : String?
- #inspect(io)
- #next
- #prev
- #strict
- #validate!(command)