kaaveland / eugene

Careful With that Lock, Eugene
MIT License
31 stars 0 forks source link

Link triggered hints to the webpage #69

Closed kaaveland closed 1 month ago

kaaveland commented 1 month ago

Eg. when eugene lint or eugene trace finds E1, it can provide a link to https://kaveland.no/eugene/hints/E1/ where there's an example of how to fix it.

kaaveland commented 1 month ago

I think this should also include making a super terse output format for plain, suitable for the terminal. Something like:

$ eugene lint examples.sql
4: https://kaveland.no/eugene/hints/E4 Add a new JSON column
6: https://kaveland.no/eugene/hints/E2 Validating table with a new `NOT NULL` column
...

I'm thinking the same kind of format for both lint/trace.

kaaveland commented 1 month ago

78 does the first part of this, going to make a nice-ish plain text format for the console next.