def history(self, argv):
        if not readline:
            self._print("The readline library is not available.")
            return
        if len(argv) > 1:
            idx = int(argv[1])
            self._print(readline.get_history_item(idx))
        else:
            for i in xrange(readline.get_current_history_length()):
                self._print(readline.get_history_item(i))
history [<index>]
dataset/ETHPy150Open kdart/pycopia/fepy/pycopia/fepy/CLI.py/BaseCommands.history