2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 00:21:23 +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
parent 6c9fb2d9f9
commit bba4019579

View File

@ -352,6 +352,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