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

Add whatrecord template for generating files based on parse results #138

Open
klauer opened this issue Aug 24, 2022 · 0 comments
Open

Add whatrecord template for generating files based on parse results #138

klauer opened this issue Aug 24, 2022 · 0 comments

Comments

@klauer
Copy link
Contributor

klauer commented Aug 24, 2022

Idea

"pytmc template" offers the ability to take a parsed TwinCAT project, a Jinja template, and generate documentation and such based on those files.
I would like to have a whatrecord template tool that does something similar.

In a pseudo bash line of sorts:

$ whatrecord parse my_file.db --json | jinja-template-tool my_page_format.template > output.html

Context

  • whatrecord could generate files in any format convenient for the user
    • Create HTML docs from a database file
    • Write linter results in a more user-friendly form
    • Transform file formats
    • etc.
  • I'm thinking that all of the above could be useful for our IOC CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant