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

Output to HTML #3

Open
Jamian opened this issue Feb 12, 2020 · 2 comments
Open

Output to HTML #3

Jamian opened this issue Feb 12, 2020 · 2 comments
Labels
enhancement New feature or request hot These are a higher priority to look at

Comments

@Jamian
Copy link
Contributor

Jamian commented Feb 12, 2020

It would be nice for this to have the option to generate a pretty output in HTML form. Useful if running this in an automated environment and you want to be able to link to a page/report. Something that is a bit more human friendly.

One suggestion was to use Jinja and have it as optional?

@Jamian Jamian added the enhancement New feature or request label Feb 12, 2020
@jmons
Copy link
Contributor

jmons commented Feb 12, 2020

I like this. I think the work is generically

  1. Best way to store the static template in the library (I know we do it on ramlwrap, mods to setup.py)
  2. the optional import of jinja & handling what to do with the out put if not.
  3. argparse mutually exclusive of --html and --json / handling this sort of argument

Anything else?

@jmons jmons added this to To do in Version 1 Release Feb 14, 2020
@jmons jmons added the hot These are a higher priority to look at label Mar 2, 2020
@dreynolds
Copy link
Contributor

As we've discussed more recently on discord, I think we may be better to have a static HTML file (no jinja), spit out some json and have some javascript do the templating/heavy lifting/sorting/filtering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hot These are a higher priority to look at
Projects
Development

No branches or pull requests

3 participants