Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add html reporting option #11

Closed
1 task done
kindoflew opened this issue Dec 21, 2022 · 1 comment
Closed
1 task done

[Feature Request]: Add html reporting option #11

kindoflew opened this issue Dec 21, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kindoflew
Copy link
Contributor

Describe your request

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
@kindoflew kindoflew added enhancement New feature or request good first issue Good for newcomers labels Dec 21, 2022
@kindoflew
Copy link
Contributor Author

Resolved by #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant