Initial pisi history cmd

This commit is contained in:
Faik Uygur
2008-02-08 13:27:24 +00:00
parent eb5386f17a
commit ef4e69af88
2 changed files with 33 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# -*- coding:utf-8 -*-
#
# Copyright (C) 2005 - 2007, TUBITAK/UEKAE
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# Please read the COPYING file.
#
import pisi
import pisi.api
import pisi.cli.command as command
class History(command.Command):
"""History of pisi operations
Usage: history
Lists previous operations."""
__metaclass__ = command.autocommand
def __init__(self, args=None):
super(History, self).__init__(args)
name = ("history", "hs")
def run(self):
pass
+1
View File
@@ -32,6 +32,7 @@ import pisi.cli.graph
import pisi.cli.index
import pisi.cli.info
import pisi.cli.install
import pisi.cli.history
import pisi.cli.listavailable
import pisi.cli.listcomponents
import pisi.cli.listinstalled