Expand description
Averse is a meal planner with designed to make storing, searching, viewing, and planning meals for the week straight foward.
§Subcommands
The tool is split into 4 separate subcommands
add
- Interactively define and save a recipeview
- Search through recipes/tags viaFuzzySearch
plan
- Plan a meal for the week and generate a grocery listbehold
- Display weekly plan or view detailed breakdown by day
§Installing Averse
Averse
is compiled to an executable binary using cargo
.
To build, clone the repository then type cargo build --release
§Using Averse
Averse is designed to be run from the directory containing two subdirectories,
one that contain recipes
and one that contains plans
. See the
repository directories for examples.
An example workflow for using Averse:
- Recipes are interactively added via
averse add
- Recipes are browsed via
averse view
- Existing recipes are planned for the week using
averse plan
- Meals for a week can be viewed using
averse behold
§Example Commands
averse add --recipe-dir /path/to/recipes --plan-dir /path/to/plans
averse view
averse plan --date 2022-07-31
averse behold
Modules§
- add
- Module for interactively adding recipes
- behold
- Module to BEHOLD your meal plan creations
- errors
- Minimal error definitions using
thiserror
- plan
- Module for planning recipes for the week
- utils
- Collection of utility functions
- view
- Module for viewing recipes using
fuzzy
search
Structs§
- Grocery
Row - Struct for listing groceries for the week
- Ingredient
- Ingredient information
- Ingredient
Row - Struct for listing ingredients
- PlanRow
- Struct for displaying meal plans for the week
- Recipe
- Recipe contains all information for reproducing a recipe
- Recipe
Row - Struct for printing Recipe summary information
- StepRow
- Struct for listing steps in a recipe
Enums§
- Unit
- Enum of all valid units used to describe ingredients
Constants§
- WEEK
- Ordered days of the week