@click.command(u'setup-help')
@pass_context
def setup_help(context):
 from frappe.utils.help import sync
 for site in context.sites:
  try:
   frappe.init(site)
   frappe.connect()
   sync()
  finally:
   frappe.destroy()

@ click . command ( u'setup-help' ) @ pass_context def setup_help ( context ) : from frappe . utils . help import sync for site in context . sites : try : frappe . init ( site ) frappe . connect ( ) sync ( ) finally : frappe . destroy ( )
setup help table in the current site .