Currently, extracting the list of applications using scalingo apps is cumbersome because the output is formatted as a table with decorative characters:
$ scalingo apps
+-----------------------------------------------+--------------+---------+
| NAME | ROLE | STATUS |
+-----------------------------------------------+--------------+---------+
| my-app | collaborator | running |
| my-app-2 | collaborator | running |
+-----------------------------------------------+--------------+---------+
Parsing this output to extract only the application names is unnecessarily complicated.
Feature Request
Could you add an option (e.g., --plain or --names-only) to return only the list of application names without additional formatting?
Example:
$ scalingo apps --plain
my-app
my-app2
This would make automation scripts much easier to write and maintain. Thanks! 😊
EDIT : I got the list with the commande : scalingo apps | awk -F'|' 'NR>2 && NF>1 {gsub(/^ +| +$/, "", $2); print $2}'
Currently, extracting the list of applications using scalingo apps is cumbersome because the output is formatted as a table with decorative characters:
Parsing this output to extract only the application names is unnecessarily complicated.
Feature Request
Could you add an option (e.g., --plain or --names-only) to return only the list of application names without additional formatting?
Example:
This would make automation scripts much easier to write and maintain. Thanks! 😊
EDIT : I got the list with the commande :
scalingo apps | awk -F'|' 'NR>2 && NF>1 {gsub(/^ +| +$/, "", $2); print $2}'