toolforge-components-cli 0.0.19__tar.gz → 0.0.20__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {toolforge_components_cli-0.0.19 → toolforge_components_cli-0.0.20}/PKG-INFO +1 -1
- {toolforge_components_cli-0.0.19 → toolforge_components_cli-0.0.20}/pyproject.toml +1 -1
- {toolforge_components_cli-0.0.19 → toolforge_components_cli-0.0.20}/toolforge_components_cli/cli.py +13 -0
- {toolforge_components_cli-0.0.19 → toolforge_components_cli-0.0.20}/LICENSE +0 -0
- {toolforge_components_cli-0.0.19 → toolforge_components_cli-0.0.20}/README.md +0 -0
- {toolforge_components_cli-0.0.19 → toolforge_components_cli-0.0.20}/toolforge_components_cli/__init__.py +0 -0
- {toolforge_components_cli-0.0.19 → toolforge_components_cli-0.0.20}/toolforge_components_cli/components.py +0 -0
- {toolforge_components_cli-0.0.19 → toolforge_components_cli-0.0.20}/toolforge_components_cli/config.py +0 -0
{toolforge_components_cli-0.0.19 → toolforge_components_cli-0.0.20}/toolforge_components_cli/cli.py
RENAMED
|
@@ -521,6 +521,19 @@ def deployment_list(ctx, as_json: bool) -> None:
|
|
|
521
521
|
return
|
|
522
522
|
|
|
523
523
|
deployments = response.get("data", {}).get("deployments", [])
|
|
524
|
+
if not deployments:
|
|
525
|
+
click.echo(
|
|
526
|
+
click.style(
|
|
527
|
+
(
|
|
528
|
+
"No deployments found, you can create one using `toolforge components deployment create`,"
|
|
529
|
+
+ "run `toolforge components deployment create --help` for more details"
|
|
530
|
+
),
|
|
531
|
+
fg="yellow",
|
|
532
|
+
),
|
|
533
|
+
err=True,
|
|
534
|
+
)
|
|
535
|
+
return
|
|
536
|
+
|
|
524
537
|
formatted_deployments = [
|
|
525
538
|
[
|
|
526
539
|
deployment["deploy_id"],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|