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 19694860430

Details

  • 92 of 102 (90.2%) changed or added relevant lines in 2 files are covered.
  • 8 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.1%) to 55.536%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/status/status.go 89 99 89.9%
Files with Coverage Reduction New Missed Lines %
internal/status/status.go 3 77.41%
internal/gen/keys/keys.go 5 12.9%
Totals Coverage Status
Change from base Build 19692043920: 0.1%
Covered Lines: 6721
Relevant Lines: 12102

💛 - 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
@sweatybridge sweatybridge changed the title feat: grouped pretty print status output fix: grouped pretty print status output Nov 27, 2025
@sweatybridge sweatybridge merged commit 072abe8 into develop Nov 27, 2025
14 checks passed
@sweatybridge sweatybridge deleted the feat/pretty-print-output branch November 27, 2025 10:00
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.

4 participants