We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I have been thinking how one could write plugin-like extensions for Yasha, which can be pip installed and taken into use with minimal effort.
So maybe -e / --extensions should be able take Python module name as an input and load the module. In this case -e should support multiple inputs.
-e
--extensions
To enable CMSIS-SVD (#17) parser:
pip install yasha_cmsis yasha -e cmsis -v peripherals.svd -o peripherals.h peripherals.h.j2
To enable Latex (#31):
pip install yasha_latex yasha -e latex -o thesis.tex thesis.j2
The text was updated successfully, but these errors were encountered:
The module would also add itself into PATH so that one can import referenced templates easily.
{% include "latex/macros.j2" %}
Sorry, something went wrong.
Maybe introduce -m option
-m
yasha -m latex -o thesis.tex thesis.j2
kblomqvist
No branches or pull requests
I have been thinking how one could write plugin-like extensions for Yasha, which can be pip installed and taken into use with minimal effort.
So maybe
-e
/--extensions
should be able take Python module name as an input and load the module. In this case-e
should support multiple inputs.To enable CMSIS-SVD (#17) parser:
To enable Latex (#31):
The text was updated successfully, but these errors were encountered: