baseimage-tutorial-framework/tfw/components/terminal/terminal_commands_handler.py
2019-07-24 15:50:41 +02:00

10 lines
234 B
Python

from .terminal_commands import TerminalCommands
class TerminalCommandsHandler(TerminalCommands):
keys = ['history.bash']
def handle_event(self, message, _):
command = message['value']
self.callback(command)