diff --git a/bench/commands/make.py b/bench/commands/make.py index b3ca8341..5425130d 100755 --- a/bench/commands/make.py +++ b/bench/commands/make.py @@ -35,10 +35,11 @@ def init(path, apps_path, frappe_path, frappe_branch, no_procfile, no_backups, @click.argument('name', nargs=-1) # Dummy argument for backward compatibility @click.argument('git-url') @click.option('--branch', default=None, help="branch to checkout") -def get_app(git_url, branch, name=None): +@click.option('--skip-assets', is_flag=True, default=True, help="Do not build assets") +def get_app(git_url, branch, name=None, skip_assets=True): "clone an app from the internet and set it up in your bench" from bench.app import get_app - get_app(git_url, branch=branch) + get_app(git_url, branch=branch, build_asset_files=skip_assets) @click.command('new-app')