@click.command('remove-domain')
@click.argument('domain')
@click.option('--site', prompt=True)
def remove_domain(domain, site=None):
 from bench.config.site_config import remove_domain
 if (not site):
  print 'Please specify site'
  sys.exit(1)
 remove_domain(site, domain, bench_path='.')

@ click . command ( 'remove-domain' ) @ click . argument ( 'domain' ) @ click . option ( '--site' , prompt = True ) def remove_domain ( domain , site = None ) : from bench . config . site_config import remove_domain if ( not site ) : print 'Please specify site' sys . exit ( 1 ) remove_domain ( site , domain , bench_path = '.' )
remove custom domain from a site .