We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
infra update-app --all
1 parent 95f0523 commit 390d40aCopy full SHA for 390d40a
nava/platform/cli/commands/infra/update_command.py
@@ -87,14 +87,17 @@ def update_app(
87
ctx.console.error.print(f"Apps {wrong_app_names} do not exist in the project")
88
ctx.exit(1)
89
90
- for app_name in app_names:
91
- ctx.console.rule(f"Infra app: {app_name}")
92
- template.update_app(
93
- project,
94
- app_name,
95
- version=version,
96
- data=data,
97
- commit=commit,
98
- answers_only=answers_only,
99
- force=force,
100
- )
+ if not app_names:
+ ctx.fail("No apps found")
+
+ for app_name in app_names:
+ ctx.console.rule(f"Infra app: {app_name}")
+ template.update_app(
+ project,
+ app_name,
+ version=version,
+ data=data,
+ commit=commit,
101
+ answers_only=answers_only,
102
+ force=force,
103
+ )
0 commit comments