class documentation

class LunaCmd(cmd.Cmd):

Constructor: LunaCmd()

View In Hierarchy

Cmd subclass with Luna-specific methods.

Method __init__ Initialise.
Method complete_copy_mode Undocumented
Method do_copy_mode Syntax: copy_mode COURSE_ID EXISTING_FORMAT NEW_FORMAT Copy variants in an existing format to a new format, and register them for the respective content.
Method do_EOF Exit the command line interpreter.
Method do_find_courses Print the return value of Storage.find_courses()
Method emptyline Ignore empty input, overriding default behaviour.
Instance Variable intro Undocumented
Instance Variable prompt Undocumented
Instance Variable storage Undocumented
def __init__(self):

Initialise.

def complete_copy_mode(self, text, line, begidx, endidx):

Undocumented

def do_copy_mode(self, arg):

Syntax: copy_mode COURSE_ID EXISTING_FORMAT NEW_FORMAT Copy variants in an existing format to a new format, and register them for the respective content.

def do_EOF(self, arg):

Exit the command line interpreter.

def do_find_courses(self, arg):

Print the return value of Storage.find_courses()

def emptyline(self):

Ignore empty input, overriding default behaviour.

intro: str =

Undocumented

prompt: str =

Undocumented

storage =

Undocumented