Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laurence-myers/inja-cli
A Command Line Interface for the Inja string template library
https://github.com/laurence-myers/inja-cli
cli command-line-interface command-line-tool cpp string template template-library
Last synced: about 2 months ago
JSON representation
A Command Line Interface for the Inja string template library
- Host: GitHub
- URL: https://github.com/laurence-myers/inja-cli
- Owner: laurence-myers
- License: mit
- Created: 2022-06-26T05:47:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-03T14:06:07.000Z (about 2 years ago)
- Last Synced: 2024-10-12T08:46:11.391Z (3 months ago)
- Topics: cli, command-line-interface, command-line-tool, cpp, string, template, template-library
- Language: HTML
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inja CLI
A command-line interface to [Inja](https://pantor.github.io/inja/), a C++ string template library loosely inspired by [Jinja](https://jinja.palletsprojects.com/).
## Usage
```cmd
inja input_file_template.html output_file.html
```With a JSON data file:
```cmd
inja -d data.json input_file_template.html output_file.html
# or
inja --data data.json input_file_template.html output_file.html
```## Template Syntax
For a quick overview, [refer to this syntax cheat sheet](./syntax.html).
For more detailed information, refer to [the Inja documentation](https://pantor.github.io/inja/).
## License
[MIT](./LICENSE)