All apps/MiniJinja CLI

MiniJinja CLI

minijinja-cli

A command line executable that uses MiniJinja to render Jinja2 templates directly from the command line to stdout.

Runs as minijinja-cli|macOS, Linux, Windows|github.com

Command form

ai-draft · 3 tasks · 10 fields

Render a Jinja2 template with variables from a data file or -D definitions. Syntax overrides, fuel limits and completion generation are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui minijinja-cli
Render a templateExample values, fixed in this page — nothing here reaches a terminal
Basic
Template file*
file
Data file
file
Advanced
Data format
string
Select sub-section
string
TasksEach one presets the form for one job
Render template with data file
templatedataselectformat
Render template with -D variables
templatedefine
Evaluate an expression
exprenvdefine
ParametersOnly these flags are editable in the form
Template file
path · positional 0
Data file
path · positional 1
Template string
Render this string instead of a template file.
string
-t
Define variable
name=value for a string, name:=value for a typed value.
string · repeatable
-D
Data format
string
--format-fjsonyamltomlcborquerystringini
Select sub-section
string
--select
Expose environment as ENV
boolean
--env
Evaluate expression
string
-E
Disable includes
boolean
--no-include
Interactive REPL
boolean
--repl
SourcesEvery flag above is checked against these
readme
minijinja-cli my-template.j2 data.json - `[TEMPLATE_FILE]`: - `[DATA_FILE]`: When data is read from `stdin`, `--format` must be specified as auto detection You can use `--select` to make a section be implied: minijinja-cli template.j2 input.ini --select default minijinja-cli template.j2 -D name=World -D count:=3 minijinja-cli -t "Hello {{ name }}" -D name=Wo…
manualmain 2026-10

github.com

Before it fills your prompt, Otty checks the installed minijinja-cli against its version. A form that does not match your version is not offered.