aegershman / cf-reverse-service-lookup-plugin

cf-cli plugin to perform reverse lookups against service instance GUIDs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change default rendering from "table" to more copy-pasteable output

aegershman opened this issue · comments

In order to allow for users to more-easily share information about the affected service instance, the default output of cf rsl -s <xyz> should be a simple, more copy-paste friendly output rather than a full table rendering.

E.g., instead of...


+----------------------------------+----------------+---------+-------+
|             SERVICE GUID             |       SERVICE        |   ORG   | SPACE |
+--------------------------------------+----------------------+---------+-------+
| abc123-dxyz-abc-xyz | service-instnace-name | org | space  |
+--------------------------------------+----------------------+---------+-------+

(bad rendering)

the output would be better suited to be something like...

foundation api endpoint (?)
org
space
service-instance-name

which is better for copy-pasting than a large amount of text blocks