module NCTU::OJ::CommandHelper

Direct including types

Defined in:

commands/helper.cr

Instance Method Summary

Instance Method Detail

def aliases : Hash(String, String) | Nil #

[View source]
def aliases=(aliases : Hash(String, String) | Nil) #

[View source]
def client : Client #

def client=(client : Client) #

[View source]
def client? : Client | Nil #

def config : Config #

def config=(config : Config) #

[View source]
def config? : Config | Nil #

def group_id : Int32 #

def group_id=(group_id : Int32) #

[View source]
def group_id? : Int32 | Nil #

def invalids : Array(Config::Invalid) | Nil #

[View source]
def invalids=(invalids : Array(Config::Invalid) | Nil) #

[View source]
def load_config #

[View source]
def multi_submissions : Array(Array(Submission)) #

def multi_submissions=(multi_submissions : Array(Array(Submission))) #

[View source]
def multi_submissions? : Array(Array(Submission)) | Nil #

def problems : Array(Config::Problem) #

def problems=(problems : Array(Config::Problem)) #

[View source]
def problems? : Array(Config::Problem) | Nil #

def pull_submissions(problems : Array(Config::Problem) = self.problems, verdict : String = "", student_only : Bool = true, judged_only : Bool = true, pass_only : Bool = false) #

[View source]
def pull_submissions(problem_id : String | Int32, verdict : String = "", student_only : Bool = true, judged_only : Bool = true, pass_only : Bool = false) #

[View source]
def pull_users #

[View source]
def students : Array(String) #

def students=(students : Array(String)) #

[View source]
def students? : Array(String) | Nil #

def submissions : Array(Submission) #

def submissions=(submissions : Array(Submission)) #

[View source]
def submissions? : Array(Submission) | Nil #

def title : String #

def title=(title : String) #

[View source]
def title? : String | Nil #

def user_id_to_i : Hash(Int32, Int32) #

def user_id_to_i=(user_id_to_i : Hash(Int32, Int32)) #

[View source]
def user_id_to_i? : Hash(Int32, Int32) | Nil #

def user_id_to_name : Hash(Int32, String) #

def user_id_to_name=(user_id_to_name : Hash(Int32, String)) #

[View source]
def user_id_to_name? : Hash(Int32, String) | Nil #

def users : Array(User) #

def users=(users : Array(User)) #

[View source]
def users? : Array(User) | Nil #