2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-28 06:49:06 +00:00

feat: printing resolved dependencies when using resolve-deps flag wih get-app

This commit is contained in:
Aradhya 2022-02-17 21:38:01 +05:30 committed by saxenabhishek
parent 5b641758cf
commit 95b0834932

View File

@ -363,6 +363,8 @@ def get_app(
if resolve_deps:
resolution = make_resolution_plan(app, bench)
click.secho("Apps to be installed:", fg="yellow")
print("\n".join([app.name for app in reversed(resolution.values())]))
if "frappe" in resolution:
# Todo: Make frappe a terminal dependency for all frappe apps.
frappe_path, frappe_branch = resolution["frappe"].url, resolution["frappe"].tag