MCPcopy Create free account
hub / github.com/NetSys/bess / save_history

Method save_history

bessctl/cli.py:458–464  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

456 self.err(e)
457
458 def save_history(self):
459 if self.interactive and self.rl and self.history_file:
460 try:
461 self.rl.write_history_file(self.history_file)
462 except:
463 self.err('Cannot write to history file "%s"' %
464 self.history_file)
465
466 def disable_echoctl(self):
467 try:

Callers 1

loopMethod · 0.95

Calls 1

errMethod · 0.95

Tested by

no test coverage detected