Report
Generate custom reports from recipes using templates.
Note: The report command is currently a prototype feature.
Usage
Arguments
| Argument | Description |
|---|---|
<RECIPE> | Recipe file to process. Supports scaling with :N syntax (e.g., recipe.cook:2). |
Options
| Option | Description |
|---|---|
-t, --template <FILE> | Path to the Jinja2 template file (required) |
-d, --datastore <DIR> | Path to datastore directory with additional recipe data (nutrition, costs) |
-a, --aisle <FILE> | Path to aisle configuration file |
-p, --pantry <FILE> | Path to pantry configuration file |
-b, --base-path <PATH> | Base path for resolving recipe references (default: current directory) |
Template Variables
Templates receive recipe data including:
Aisle and pantry helpers are available when configs are provided:
Examples
More template examples: cooklang-reports