Skip to content

Files

Latest commit

 

History

History
30 lines (20 loc) · 542 Bytes

jinja2-cli.md

File metadata and controls

30 lines (20 loc) · 542 Bytes
tags
tool

:simple-jinja: jinja2-cli

jinja2-cli is used as a template engine to help generate documents, such as mkdocs markdown pages or traefik config files.

🛠️ Installation

!!! code ""

=== "pipx"

    ```shell
    pipx install jinja2-cli
    ```

📝 Usage

!!! example

```shell
jinja2 .template.md.j2 -D APP_NAME="New App" -D APP_PORT=8080 -D CONFIG_PATH=/opt/new-app > new-app.md
```

🔗 References