How giullialima13/gerenciamento-de-estoque works
This is a single-file, interactive Portuguese CLI for managing stock. The main workflow is menu selection followed by product operations that read or update JSON inventory; the code also includes expiry monitoring and stock saving. The excerpt confirms menu dispatch for adding and listing, and shows JSON initialization and product updates. Other menu routes and parts of the save flow are not fully sampled, so their connections are omitted.
Main entry points: estoque.py Main loop
Components 10
CLI
- Main loop
estoque.py - Inventory menus
estoque.py
Inventory management
- Add product
estoque.py - List products
estoque.py - Update product
estoque.py - Delete product
estoque.py - Expiry alerts
estoque.py - Save stock
estoque.py
Inventory data
- Product JSON
Other components
- Operator
Connections 10
- Operator → Main loop: chooses options
estoque.py - Main loop → Inventory menus: displays menus
estoque.py - Main loop → Add product: dispatches
estoque.py - Main loop → List products: dispatches
estoque.py - Add product → Product JSON: writes products
estoque.py - Update product → Product JSON: writes updates
estoque.py - List products → Product JSON: reads products
estoque.py - Delete product → Product JSON: reads products
estoque.py - Save stock → Product JSON: reads stock
estoque.py - Expiry alerts → Product JSON: checks dates