-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
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-app2This 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}'