How zntkr/robokopi works
Robokopi is a Windows terminal interface for robocopy, supporting interactive mission setup and direct-argument headless copying. Its main workflow parses language and copy arguments, builds a mission, checks safety, and runs robocopy; interactive runs show live progress, while results include summaries and logs. The graph also includes hardware-based option selection, localization, and the robocopy output parser. Some mission-building, safety, and runner implementations were not excerpted, so their internal call links are left unverified rather than inferred.
Main entry points: Program.cs Application entry · RobocopyEngine.cs Robocopy engine · LiveDashboardRunner.cs Copy runner · CopySession.cs Copy session
Components 24
Entry and missions
- Application entry
Program.cs - CLI argument parser
Services/ArgParser.cs - Interactive mission
Services/InteractiveMissionBuilder.cs - Headless mission
Services/HeadlessMissionBuilder.cs - Mission wizard
Services/MissionWizard.cs - Console prompt
Services/ConsoleUserPrompt.cs
Safety and options
- Safety checks
Services/SafetyCatch.cs - Argument builder
Services/ArgumentBuilder.cs - Storage inspector
Services/WindowsHardwareInspector.cs - Path resolver
Services/PathResolver.cs
Copy runtime
- Copy session
Services/CopySession.cs - Copy runner
Services/LiveDashboardRunner.cs - Headless runner
Services/HeadlessRunner.cs - Robocopy engine
Services/RobocopyEngine.cs - Robocopy process
Services/WindowsProcessLauncher.cs - Output parser
Services/RegexRobocopyOutputParser.cs - Copy events and summary
Services/RobocopyEvent.cs
Terminal experience
- Live dashboard
Services/LiveDashboard.cs - File log writer
Services/FileLogWriter.cs - Localization
Services/LocalizationService.cs - Translation provider
Services/EmbeddedJsonTranslationProvider.cs - Prompt browser
Services/InvisibleBrowser.cs
Other components
- User
- robocopy.exe
Connections 27
- User → Application entry: starts
README.md - Application entry → CLI argument parser: parses args
Program.cs - Application entry → Localization: sets language
Program.cs - Application entry → Interactive mission: selects wizard
Program.cs - Application entry → Headless mission: selects headless
Program.cs - Interactive mission → Mission wizard: delegates to
- Mission wizard → Console prompt: prompts user
Services/MissionWizard.cs - Application entry → Safety checks: evaluates safety
Program.cs - Application entry → Copy session: executes session
Program.cs - Copy session → Safety checks: checks operation
- Copy session → Copy runner: runs copy
- Application entry → Copy runner: selects interactive
Program.cs - Application entry → Headless runner: selects headless
Program.cs - Copy runner → Robocopy engine: streams copy
Services/LiveDashboardRunner.cs - Headless runner → Robocopy engine: runs copy
- Robocopy engine → Robocopy process: launches process
Services/RobocopyEngine.cs - Robocopy engine → Output parser: parses output
Services/RobocopyEngine.cs - Robocopy engine → Copy events and summary: emits events
Services/RobocopyEngine.cs - robocopy.exe → Robocopy engine: produces output
- Copy runner → Live dashboard: updates display
Services/LiveDashboardRunner.cs - Copy runner → File log writer: writes logs
Services/LiveDashboardRunner.cs - Live dashboard → Localization: gets strings
Services/LiveDashboard.cs - Localization → Translation provider: loads translations
Services/LocalizationService.cs - Console prompt → Prompt browser: uses browser
Services/ConsoleUserPrompt.cs - Application entry → Storage inspector: configures inspector
Program.cs - Application entry → Argument builder: configures builder
Program.cs - Application entry → Path resolver: resolves paths
Program.cs