Seed
The seed
command populates a directory with example Cooklang recipes. It's perfect for getting started, learning the syntax, or setting up a demo.
Basic Usage
This creates a collection of example recipes in the current directory.
What Gets Created
The seed command creates:
- Example recipes – Various cuisines and complexity levels
- Organized folders – Structured by meal type
- Configuration files – Including
aisle.conf
for shopping lists - README – Documentation about the recipes
Seeding Options
Current Directory
Specific Directory
Creating Directory
If the directory doesn't exist, it will be created:
Example Recipes
The seed collection includes diverse recipes demonstrating Cooklang features:
Basic Recipes
Simple recipes for learning:
Advanced Features
Recipes showcasing advanced features:
- Timers –
~{30%minutes}
- Equipment –
#oven
,#pot{large}
- References –
@./Pizza Dough.cook{}
- Metadata – Servings, time, tags
- Notes – Comments and variations
Recipe Categories
- Breakfast – Quick morning meals
- Dinners – Main courses
- Desserts – Sweet treats
- Shared – Components used in multiple recipes
- Snacks – Quick bites
Learning from Examples
Understanding Syntax
Study the seed recipes to learn:
Practical Uses
Quick Start
For new users:
Common Patterns
Try Before You Buy
Test CookCLI features without affecting your recipes:
See Also
- Recipe – View the seeded recipes
- Shopping List – Create lists from seed recipes
- Server – Browse seed recipes via web