def __init__(self):
cmd.Cmd.__init__(self)
# configure history behaviour
self._history_file_dir = "/tmp/trex/console/"
self._history_file = self.get_history_file_full_path()
readline.set_history_length(100)
# load history, if any
self.load_console_history()
评论列表
文章目录