@click.command('supervisor')
@click.option('--user')
@click.option('--yes', help='Yes to regeneration of supervisor config', is_flag=True, default=False)
def setup_supervisor(user=None, yes=False):
 from bench.config.supervisor import generate_supervisor_config
 generate_supervisor_config(bench_path='.', user=user, yes=yes)

@ click . command ( 'supervisor' ) @ click . option ( '--user' ) @ click . option ( '--yes' , help = 'Yes to regeneration of supervisor config' , is_flag = True , default = False ) def setup_supervisor ( user = None , yes = False ) : from bench . config . supervisor import generate_supervisor_config generate_supervisor_config ( bench_path = '.' , user = user , yes = yes )
generate config for supervisor with an optional user argument .