@click.command('nginx')
@click.option('--yes', help='Yes to regeneration of nginx config file', default=False, is_flag=True)
def setup_nginx(yes=False):
 from bench.config.nginx import make_nginx_conf
 make_nginx_conf(bench_path='.', yes=yes)

@ click . command ( 'nginx' ) @ click . option ( '--yes' , help = 'Yes to regeneration of nginx config file' , default = False , is_flag = True ) def setup_nginx ( yes = False ) : from bench . config . nginx import make_nginx_conf make_nginx_conf ( bench_path = '.' , yes = yes )
generate config for nginx .