Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.venv/
__pycache__/
*.pyc
recipes.json
33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
This project is defines two classes - `Recipe` and `RecipeApp`. The `Recipe` class represents a recipe with its name, ingredients, and instructions. The `RecipeApp` class represents the recipe application and contains methods to add, delete, and display recipes.
# Recipe App CLI

A simple, persistent command-line recipe manager written in Python.

Store, view, add, and delete your favorite recipes — data is saved automatically to `recipes.json`.

## Features
- Add recipes with name, comma-separated ingredients, and multi-line instructions
- Delete recipes by name (case-insensitive)
- List all recipes with numbered, formatted output
- Data persists between sessions (JSON file)
- Graceful error handling and duplicate prevention

## Installation

1. Clone the repository:
```bash
git clone https://github.com/bundlab_/recipe-app.git
cd recipe-app


recipe-app/
├── recipe_app/ # Core package
│ ├── __init__.py
│ ├── models.py # Recipe class
│ ├── storage.py # JSON load/save
│ ├── app.py # Business logic (add/delete)
│ └── cli.py # User interface & menu
├── main.py # Entry point
├── .venv/ # Virtual environment (ignored)
├── .gitignore
└── README.md
137 changes: 0 additions & 137 deletions app.py

This file was deleted.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rich>=13.7.1