redhat-scholars / backstage-workshop

Backstage workshop for Red Hat OpenShift
https://redhat-scholars.github.io/backstage-workshop/
Apache License 2.0
9 stars 68 forks source link

Section 3 Service Binding & Config: curl commands would all benefit from a CRLF in the output #27

Open alexgroom opened 1 year ago

alexgroom commented 1 year ago

There are a series of curl commands that are executed in the pod terminal, all of these could benefit from a \n output to cleanly display the cursor on the next line. eg:

$ curl localhost:8080/ws/data/all []sh-4.4$

Some options here would be (and I'm sure you can think of some of your own), but it makes the terminal experience much nicer especially since the end user probably is not typing this:-

curl localhost:8080/ws/data/all ; echo curl -w "\n" localhost:8080/ws/data/all

You could of course add the \n to the API output, but that is probably more work