Scalingo / cli

Command Line client for Scalingo PaaS
https://cli.scalingo.com
Other
128 stars 24 forks source link

fix(cmd): addons-info working for non-db addons #1055

Closed curzolapierre closed 8 months ago

curzolapierre commented 8 months ago
 ➜  scalingo --app $APPNAME addons-info ad-42d531f2-c985-47b9-b7f1-6771c8ced235
+----------------+-----------------------+
| Addon Provider | Scalingo Docker Image |
| Plan           | base-plan             |
| Status         | running               |
+----------------+-----------------------+
 ➜  scalingo --app $APPNAME addons-info ad-5656af19-eda5-4f00-afec-3c1cd726f960
+----------------+--------------------+
| Addon Provider | Scalingo VPN IPSec |
| Plan           | vpn-ipsec-standard |
| Status         | running            |
+----------------+--------------------+
 ➜  scalingo --app $APPNAME addons-info postgresql
+------------------------+--------------------------------+
| Addon Provider         | PostgreSQL                     |
| Plan                   | postgresql-starter-512         |
| Status                 | running                        |
| Database Type          | postgresql                     |
| Version                | 14.9.0-1                       |
| Force TLS              | disabled                       |
| Internet Accessibility | disabled                       |
| Maintenance window     | Wednesdays at 15:00 (08 hours) |
+------------------------+--------------------------------+

Fixes #1054