mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 16:56:33 +00:00
skip asstes while doing get-app
This commit is contained in:
parent
fb13dfb0c2
commit
b005720a2b
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user