You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only options right now are terminal (a table is printed to the terminal) and json (a .json file is written to disk).
We should add an html option that can be viewed in the browser.
Possible Implementation
The initial output is always JSON -- for terminal we just pass it to an external package that outputs a formatted string that prints as a table. We have a few options:
write a raw HTML string ourselves and loop through the JSON to fill in the details
write a markdown file and use a parser to generate HTML for us
use a modern JS framework and then use a render-to-string method
use EJS (JavaScript's ERB)
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe your request
The only options right now are
terminal
(a table is printed to the terminal) andjson
(a.json
file is written to disk).We should add an
html
option that can be viewed in the browser.Possible Implementation
The initial output is always JSON -- for
terminal
we just pass it to an external package that outputs a formatted string that prints as a table. We have a few options:Code of Conduct
The text was updated successfully, but these errors were encountered: