Revision 304c90b5 kamaki/cli/commands/history_cli.py

b/kamaki/cli/commands/history_cli.py
74 74
    def main(self):
75 75
        super(self.__class__, self).main()
76 76
        self.history.clean()
77

  
78
@command(history_cmds)
79
class history_recall(_init_history):
80
    """Re-call a previously called command"""
81

  
82
    def main(self, commandid):
83
        super(self.__class__, self).main()
84
        r = self.history.retrieve(commandid)
85
        print(r)

Also available in: Unified diff