Crate averse

Source
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 recipe
  • view - Search through recipes/tags via FuzzySearch
  • plan - Plan a meal for the week and generate a grocery list
  • behold - 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:

  1. Recipes are interactively added via averse add
  2. Recipes are browsed via averse view
  3. Existing recipes are planned for the week using averse plan
  4. 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§

GroceryRow
Struct for listing groceries for the week
Ingredient
Ingredient information
IngredientRow
Struct for listing ingredients
PlanRow
Struct for displaying meal plans for the week
Recipe
Recipe contains all information for reproducing a recipe
RecipeRow
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