Skip to content

Update status command formatting and data

Rick Hambrook requested to merge feat/update-status-output into main

The status command worked just fine, so I fiddled with it just so I could say I did something.

What I did

  • Consolidated formatting in a single table
  • All servies listed, even if offline or no URLs
  • Hide URLs that are localhost or non-https (unless there is no https version of it)
  • Add --all flag to show all URLs
  • 100% made a mess of the code

So if a service has the following URLs:

  • http://localhost:1234
  • https://localhost:1234
  • http://health.example.lndo.site
  • http://api.example.lndo.site
  • https://api.example.lndo.site

The only these URLs will be shown by default:

  • http://health.example.lndo.site
  • https://api.example.lndo.site

Using lando status --all will show them all.

Merge request reports