How bhargav-naidu-29/cli-it-helpdesk works
This command-line helpdesk takes an employee ID, derives stable employee-specific categories, SLA hours, and ticket prefix, then loads that employee’s saved tickets. From the menu, an agent can raise tickets or advance them through the required status flow; changes are saved, while summary options display tickets, filters, counts, and SLA breaches. Ticket records provide the shared domain model and SLA calculations, with JSON persistence in the same module. The source excerpts show the main dispatch and module calls; the ticket data file in the tree is not shown as runtime configuration.
Main entry points: main.py Menu and orchestration · summary.py Filters and counts · model.py Employee ticket files · ticket.py Raise and update tickets
Components 8
CLI workflow
- Menu and orchestration
main.py - Employee settings
personalization.py
Ticket domain
- Raise and update tickets
ticket.py - Ticket and SLA rules
model.py
Ticket summaries
- Summary menu
summary.py - Filters and counts
summary.py
JSON persistence
- Employee ticket files
model.py
Other components
- Service desk agent
Connections 11
- Service desk agent → Menu and orchestration: enters requests
main.py - Menu and orchestration → Employee settings: gets settings
main.py - Menu and orchestration → Employee ticket files: loads tickets
main.py - Employee ticket files → Menu and orchestration: returns tickets
main.py - Menu and orchestration → Raise and update tickets: dispatches ticket actions
main.py - Raise and update tickets → Ticket and SLA rules: creates tickets
ticket.py - Menu and orchestration → Employee ticket files: saves after changes
main.py - Menu and orchestration → Summary menu: opens summary
main.py - Summary menu → Filters and counts: dispatches views
summary.py - Filters and counts → Ticket and SLA rules: checks SLA and status
summary.py - Filters and counts → Menu and orchestration: displays results
main.py