# Untag Alembic command import abc from Command import AbstractCommand class UntagAlembic(): def execute(self): print "Executing Untag Alembic" AbstractCommand.register(UntagAlembic)
# Export Alembic command import abc from Command import AbstractCommand class ExportAlembic(): def execute(self): print "Executing Export Alembic" AbstractCommand.register(ExportAlembic)
# Checkin command import abc from Command import AbstractCommand class Checkin(): def execute(self): print "Executing Checkin" AbstractCommand.register(Checkin)
# Unlock command import abc from Command import AbstractCommand class Unlock(): def execute(self): print "Executing Unlock" AbstractCommand.register(Unlock)
# Version command import abc from Command import AbstractCommand class Version(): def execute(self): print "Executing Version" AbstractCommand.register(Version)
# Rollback command import abc from Command import AbstractCommand class Rollback(): def execute(self): print "Executing Rollback" AbstractCommand.register(Rollback)
# Discard command import abc from Command import AbstractCommand class Discard: def execute(self): print "Executing Discard" AbstractCommand.register(Discard)
# Rename command import abc from Command import AbstractCommand class Rename(): def execute(self): print "Executing Rename" AbstractCommand.register(Rename)
# Checkout command import abc from Command import AbstractCommand class Checkout(): def execute(self): print "Executing Checkout" AbstractCommand.register(Checkout) if __name__ == '__main__': Checkout().execute() print 'Subclass:', issubclass(Checkout, AbstractCommand) print 'Instance:', isinstance(Checkout(), AbstractCommand)
# Tag Alembic command import abc from Command import AbstractCommand class TagAlembic(): def execute(self): print "Executing Tag Alembic" AbstractCommand.register(TagAlembic)
# Discard command import abc from Command import AbstractCommand class Discard(): def execute(self): print "Executing Discard" AbstractCommand.register(Discard)