How rwos/gti works
gti is a small command-line launcher that intercepts a git command, selects an animation for supported subcommands, renders it in the terminal, then runs git with the original arguments. GTI_SPEED controls animation timing, while terminal sizing and output handling are platform-specific within gti.c. The sampled source confirms dispatch and rendering; the final git execution is supported by the README’s launcher description and the file’s stated purpose.
Components 7
Runtime
- Launcher
gti.c - Command selector
gti.c - Car animation
gti.c
Other components
- User
- GTI_SPEED
- Terminal
- Git process
Connections 7
- User → Launcher: invokes
- GTI_SPEED → Launcher: sets speed
- Launcher → Command selector: selects command
- Launcher → Terminal: reads width
- Launcher → Car animation: dispatches animation
- Car animation → Terminal: renders frames
- Launcher → Git process: executes git