@click.group()
@click.option('--version', is_flag=True, is_eager=True, callback=print_bench_version, expose_value=False)
def bench_command(bench_path='.'):
 import bench
 from bench.app import get_current_frappe_version
 from bench.utils import setup_logging
 bench.set_frappe_version(bench_path=bench_path)
 setup_logging(bench_path=bench_path)

@ click . group ( ) @ click . option ( '--version' , is_flag = True , is_eager = True , callback = print_bench_version , expose_value = False ) def bench_command ( bench_path = '.' ) : import bench from bench . app import get_current_frappe_version from bench . utils import setup_logging bench . set_frappe_version ( bench_path = bench_path ) setup_logging ( bench_path = bench_path )
bench manager for frappe .