kaaveland / eugene

Careful With that Lock, Eugene
MIT License
32 stars 1 forks source link

Link triggered hints to the webpage #69

Closed kaaveland closed 6 months ago

kaaveland commented 6 months 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 6 months 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 6 months ago

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