This command-line interface (CLI) application allows you to manage a snack inventory. You can add new snacks, sell snacks, update snack availability, view the inventory, and see the list of sold snacks. The app helps you keep track of the availability and sales of snacks.
- View the current inventory, including snack details such as ID, name, price, and availability.
- Add new snacks to the inventory with automatically generated unique IDs.
- Sell snacks, they will get removed from inventory and gets added in sold snacks list.
- Update the availability of snacks(Yes/No).
- View the list of sold snacks, displaying their ID, name, and price.
- Clone the repository to your local machine:
git clone https://github.com/salil-01/The-Canteen-Chronicle.git
- Navigate to the project directory:
cd The-Canteen-Chronicle
- Run the application:
python main.py
- Follow the on-screen prompts and choose the desired options to manage the snack inventory.
The following options are available in the application:
- View Inventory: Displays the current inventory of snacks.
- Add Snack: Adds a new snack to the inventory.
- Sell Snack: Marks a snack as sold and removes it from inventory.
- Update Snack Availability: Modifies the availability of a snack.
- View Sold Snacks: Displays the list of snacks that have been sold.
- Exit: Quits the application.
Contributions are welcome! If you find any issues or have ideas for enhancements, please open an issue or submit a pull request.