CLI Reference¶
RecipeBox provides command-line tools for managing your recipe collection.
Global Flags¶
| Flag | Description | Default |
|---|---|---|
--db |
Database file path | recipebox.db |
Commands¶
serve¶
Start the web server.
The server binds to the host and port configured in .recipebox.yaml (default 0.0.0.0:8080).
list¶
List all stored recipes.
Output:
search¶
Search recipes by keyword. Searches across titles, descriptions, ingredients, cuisine, course, and author.
Example:
Output:
show¶
Display full details of a recipe. Accepts a full UUID or a unique prefix.
Example:
Output:
Title: No Bake Protein Balls
Author: Joy Shull
Source: https://example.com/recipe
ID: 019c6302-1fc1-7b5b-b07e-300fc66b27a6
Servings: 27
Cuisine: American
Course: Snacks
Ingredients
----------------------------------------
- 1 1/2 cups no stir creamy peanut butter
- 1/2 cup honey
...
Instructions
----------------------------------------
1. Add the peanut butter, honey, ...
2. Use a mini cookie scoop ...
Partial IDs
You don't need the full UUID. Any unique prefix works — 019c63 is usually enough.