Public Member Functions | |
def | __init__ |
def | do_help |
def | do_load |
def | onecmd |
def | run |
Public Attributes | |
prompt | |
conn | |
pic | |
stop | |
Static Public Attributes | |
tuple | ipmcommands = ("?", "help", "load",) |
The interactive command line parser accepts typed input line-by-line. If a statement requires multiple lines to complete, the input is collected until two sequential end-of-line characters are received.
def ipm::Interactive::do_help | ( | self, | ||
args | ||||
) |
Prints the help message.
def ipm::Interactive::do_load | ( | self, | ||
args | ||||
) |
Loads a module from the host to the target device.
def ipm::Interactive::onecmd | ( | self, | ||
line | ||||
) |
Gathers one interactive line of input (gets more lines as needed).
def ipm::Interactive::run | ( | self | ) |
Runs the command loop and handles keyboard interrupts (ctrl+C). The command loop is what calls self.onecmd().