def remove(self, app_name): app = apps.get(app_name) if app != None and hasattr(app, "remove"): app.remove() else: print("Unsupported app: %s" % app_name) sys.exit(1)
def env_del(self, app_name): app = apps.get(app_name) if app != None and hasattr(app, "env_del"): app.env_del() else: print("Unsupported app: %s" % app_name) sys.exit(1)
def install(self, app_name): app = apps.get(app_name) if app != None and hasattr(app, "install"): app.install() else: print("Unsupported app: %s" % app_name) sys.exit(1)