Skip to content

Conversation

gregnr
Copy link
Member

@gregnr gregnr commented Oct 9, 2025

This updates the pretty printed output from supabase start and supabase status to be a bit more user friendly, especially for newcomers. Specifically:

  • Groups info into tables by category (dev tools, apis, database, auth keys, s3)
  • Colorizes value based on type (link, key, text)
  • Adds API URLs for REST and Edge Functions

Implementation-wise I tried a few different table renderers (including manual), but tablewriter ended up being the most straightforward and least buggy.

image

Testing

  1. Clone this branch feat/pretty-print-output.
  2. Run go run . start - observe the new output.
  3. Also run go run . status to see the same output.

@gregnr gregnr requested a review from a team as a code owner October 9, 2025 15:28
@gregnr gregnr force-pushed the feat/pretty-print-output branch from 320c852 to ec80910 Compare October 9, 2025 15:56
@coveralls
Copy link

coveralls commented Oct 9, 2025

Pull Request Test Coverage Report for Build 18391266662

Details

  • 111 of 121 (91.74%) changed or added relevant lines in 2 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.2%) to 54.931%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/status/status.go 108 118 91.53%
Files with Coverage Reduction New Missed Lines %
internal/gen/keys/keys.go 5 12.9%
Totals Coverage Status
Change from base Build 18366617803: 0.2%
Covered Lines: 6489
Relevant Lines: 11813

💛 - Coveralls

@gregnr gregnr force-pushed the feat/pretty-print-output branch from 9dcaefb to 6f6c541 Compare October 9, 2025 20:56
@gregnr gregnr force-pushed the feat/pretty-print-output branch from 6f6c541 to 3b1adbd Compare October 9, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants