struct OIJ::CLI::PorblemDirectory::Flags
- OIJ::CLI::PorblemDirectory::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 problem."}, short: "a", long: "atcoder", is_required: false}, "yukicoder" => {kind: "nil", type: "Int32", default: "nil", description: {"--yukicoder, -y", "Specify yukicoder problem."}, short: "y", long: "yukicoder", is_required: false}, "codeforces" => {kind: "nil", type: "String", default: "nil", description: {"--codeforces, -c", "Specify codeforces problem."}, short: "c", long: "codeforces", is_required: false}, "next" => {kind: "bool", type: "Bool", default: "false", description: {"--next, -n", "Specify next problem."}, short: "n", long: "next", is_required: true}, "prev" => {kind: "bool", type: "Bool", default: "false", description: {"--prev, -p", "Specify previous problem."}, 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)
- #yukicoder : Int32?