Shopping List

Generate a combined shopping list from one or more recipes.

Usage

cook shopping-list [OPTIONS] [RECIPES]...

Arguments

ArgumentDescription
[RECIPES]...Recipe files to include. Each can have a scaling factor using :N syntax (e.g., "Pasta.cook:3"). Glob patterns supported (e.g., *.cook).

Options

OptionDescription
-b, --base-path <PATH>Base directory to search for recipe files (default: current directory)
-o, --output <FILE>Output file (format inferred from extension)
-p, --plainDisplay ingredients without aisle categories
-f, --format <FORMAT>Output format: human (default), json, yaml, markdown
--prettyPretty-print structured output
-a, --aisle <FILE>Path to aisle configuration file
-i, --ignore-referencesDon't expand referenced recipes
--ingredients-onlyDisplay only ingredient names without quantities

Examples

# Shopping list from multiple recipes
cook shopping-list &#34;Neapolitan Pizza&#34; &#34;Easy Pancakes&#34;

# Scale individual recipes
cook shopping-list &#34;Pizza.cook:2&#34; &#34;Salad.cook&#34;

# Plain list without categories
cook shopping-list &#34;Pizza.cook&#34; --plain

# Export as JSON
cook shopping-list *.cook -f json -o list.json

# Names only
cook shopping-list &#34;Cake.cook&#34; --ingredients-only

# Use custom aisle config
cook shopping-list &#34;Recipe.cook&#34; -a ~/my-store.conf

# From a menu file
cook shopping-list &#34;2 Day Plan.menu&#34;

Notes

  • Ingredients with the same name are automatically combined
  • Items are grouped by aisle category from aisle.conf (use --plain to disable)
  • Uncategorized items appear in an "other" category; run cook doctor aisle to find them
  • Menu files (.menu) are supported with their own scaling