Skip to content

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

@klauer

Description

@klauer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions