class NCTU::OJ::TestData::Download
- NCTU::OJ::TestData::Download
- Admiral::Command
- Reference
- Object
Included Modules
Defined in:
commands/test_data/download.crConstant Summary
-
HELP =
{"description" => ""}
Class Method Summary
Instance Method Summary
- #__rescue_from___Admiral__Error(e)
-
#arguments
Returns the commands
Arguments
object. -
#flags
Returns the commands
Flags
object. - #help
-
#run
The run command.
-
#sub(command, *args, **params)
Invokes a sub command by name, passing
self
as the parent.
Instance methods inherited from module NCTU::OJ::CommandHelper
aliases : Hash(String, String) | Nil
aliases,
aliases=(aliases : Hash(String, String) | Nil)
aliases=,
client : Client
client,
client=(client : Client)
client=,
client? : Client | Nil
client?,
config : Config
config,
config=(config : Config)
config=,
config? : Config | Nil
config?,
group_id : Int32
group_id,
group_id=(group_id : Int32)
group_id=,
group_id? : Int32 | Nil
group_id?,
invalids : Array(Config::Invalid) | Nil
invalids,
invalids=(invalids : Array(Config::Invalid) | Nil)
invalids=,
load_config
load_config,
multi_submissions : Array(Array(Submission))
multi_submissions,
multi_submissions=(multi_submissions : Array(Array(Submission)))
multi_submissions=,
multi_submissions? : Array(Array(Submission)) | Nil
multi_submissions?,
problems : Array(Config::Problem)
problems,
problems=(problems : Array(Config::Problem))
problems=,
problems? : Array(Config::Problem) | Nil
problems?,
pull_submissions(problems : Array(Config::Problem) = self.problems, verdict : String = "", student_only : Bool = true, judged_only : Bool = true, pass_only : Bool = false)pull_submissions(problem_id : String | Int32, verdict : String = "", student_only : Bool = true, judged_only : Bool = true, pass_only : Bool = false) pull_submissions, pull_users pull_users, students : Array(String) students, students=(students : Array(String)) students=, students? : Array(String) | Nil students?, submissions : Array(Submission) submissions, submissions=(submissions : Array(Submission)) submissions=, submissions? : Array(Submission) | Nil submissions?, title : String title, title=(title : String) title=, title? : String | Nil title?, user_id_to_i : Hash(Int32, Int32) user_id_to_i, user_id_to_i=(user_id_to_i : Hash(Int32, Int32)) user_id_to_i=, user_id_to_i? : Hash(Int32, Int32) | Nil user_id_to_i?, user_id_to_name : Hash(Int32, String) user_id_to_name, user_id_to_name=(user_id_to_name : Hash(Int32, String)) user_id_to_name=, user_id_to_name? : Hash(Int32, String) | Nil user_id_to_name?, users : Array(User) users, users=(users : Array(User)) users=, users? : Array(User) | Nil users?
Class Method Detail
Instance Method Detail
def arguments
#
Description copied from class Admiral::Command
Returns the commands Arguments
object.
You can access names arguments by name.
You can also access the remaning arguments using .arguments[index]
.
def flags
#
Description copied from class Admiral::Command
Returns the commands Flags
object.
You can access names flags by name.
def sub(command, *args, **params)
#
Description copied from class Admiral::Command
Invokes a sub command by name, passing self
as the parent.