How kodeflowstudios/utui works
UTUI is a Rust terminal interface for managing Unity projects and editor installations through Unity CLI. The principal workflow is terminal interaction, project/editor selection, background execution, and status display. The README also documents project creation/deletion/opening and editor install/uninstall; custom commands and templates are explicitly future work, not active capabilities. Sampled source confirms the app-to-CLI calls and rendering helpers; wiring for unsampled modules is omitted.
Main entry points: ui.rs TUI renderer · unity.rs Unity CLI adapter · app.rs App workflow · main.rs CLI entry
Components 14
Application entry
- CLI entry
src/main.rs - App workflow
src/app.rs
Terminal interface
- TUI renderer
src/ui.rs - Input handling
src/input.rs - Dialog state
src/dialogue.rs - Help menu
src/help.rs
Unity management
- Unity CLI adapter
src/unity.rs - Project model
src/project.rs - Template model
src/template.rs
Runtime support
- Command execution
src/command.rs - Async tasks
src/threading.rs - Error handling
src/error.rs
Other components
- Terminal user
- Unity CLI
Connections 14
- Terminal user → CLI entry: starts
- CLI entry → App workflow: runs
- App workflow → TUI renderer: renders state
- TUI renderer → App workflow: prepares lists
- TUI renderer → Input handling: renders input
- TUI renderer → Dialog state: renders dialogs
- TUI renderer → Help menu: renders help
- App workflow → Async tasks: dispatches tasks
- App workflow → Unity CLI adapter: requests management
- Unity CLI adapter → Command execution: runs commands
- Command execution → Unity CLI: invokes
- Unity CLI adapter → Template model: maps template data
- Unity CLI adapter → Project model: uses project data
- Unity CLI adapter → Error handling: returns errors