baseimage-tutorial-framework/tfw/components/terminal/terminal_commands_handler.py
2019-08-30 17:47:58 +02:00

10 lines
236 B
Python

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