@click.command(u'remove-from-installed-apps')
@click.argument(u'app')
@pass_context
def remove_from_installed_apps(context, app):
 from frappe.installer import remove_from_installed_apps
 for site in context.sites:
  try:
   frappe.init(site=site)
   frappe.connect()
   remove_from_installed_apps(app)
  finally:
   frappe.destroy()

@ click . command ( u'remove-from-installed-apps' ) @ click . argument ( u'app' ) @ pass_context def remove_from_installed_apps ( context , app ) : from frappe . installer import remove_from_installed_apps for site in context . sites : try : frappe . init ( site = site ) frappe . connect ( ) remove_from_installed_apps ( app ) finally : frappe . destroy ( )
remove app from sites installed-apps list .