pcdshub / whatrecord

EPICS IOC meta information tool
https://pcdshub.github.io/whatrecord/
Other
8 stars 6 forks source link

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

Open klauer opened 2 years ago

klauer commented 2 years ago

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