mirror of
https://github.com/frappe/bench.git
synced 2024-11-17 02:25:16 +00:00
refactor: changed resolve to resolve-deps
This commit is contained in:
parent
c8dfe39c05
commit
80cfb9dfb4
@ -134,7 +134,7 @@ def drop(path):
|
|||||||
"--init-bench", is_flag=True, default=False, help="Initialize Bench if not in one"
|
"--init-bench", is_flag=True, default=False, help="Initialize Bench if not in one"
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--resolve/--no-resolve",
|
"--resolve-deps",
|
||||||
is_flag=True,
|
is_flag=True,
|
||||||
default=False,
|
default=False,
|
||||||
help="Resolve dependencies before installing app",
|
help="Resolve dependencies before installing app",
|
||||||
@ -146,7 +146,7 @@ def get_app(
|
|||||||
overwrite=False,
|
overwrite=False,
|
||||||
skip_assets=False,
|
skip_assets=False,
|
||||||
init_bench=False,
|
init_bench=False,
|
||||||
resolve=False,
|
resolve_deps=False,
|
||||||
):
|
):
|
||||||
"clone an app from the internet and set it up in your bench"
|
"clone an app from the internet and set it up in your bench"
|
||||||
from bench.app import get_app
|
from bench.app import get_app
|
||||||
@ -157,7 +157,7 @@ def get_app(
|
|||||||
skip_assets=skip_assets,
|
skip_assets=skip_assets,
|
||||||
overwrite=overwrite,
|
overwrite=overwrite,
|
||||||
init_bench=init_bench,
|
init_bench=init_bench,
|
||||||
resolve=resolve,
|
resolve_deps=resolve_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
@click.command("new-app", help="Create a new Frappe application under apps folder")
|
@click.command("new-app", help="Create a new Frappe application under apps folder")
|
||||||
|
Loading…
Reference in New Issue
Block a user