How simeg/eureka works
Main Components Identification
a) CLI Interface Layer
• Entry point (bin/eureka.rs)
• User interaction handling
b) Core Components
• Config Management (config_manager.rs)
• Git Operations (git.rs)
• I/O Operations
• Printer (printer.rs)
• Reader (reader.rs)
• Program Access (program_access.rs)
c) External Dependencies
• Git Repository
• Text Editor ($EDITOR)
• Pager ($PAGER)
• File System (XDG Base Directory/config storage)
Specific Component Details
For each component, include these details:
CLI Interface (eureka.rs)
• Command parsing
• Workflow orchestration
Core Components
• ConfigManager
• Config file R/W
• Environment variables
• GitManager
• Repository operations
• Commit/Push handling
• Printer/Reader
• User input handling
• Output formatting
• ProgramAccess
• External program execution
External Dependencies
• Git Repository
• Text Editor
• Pager
• Config Storage