Skip to main content

Module runner

Module runner 

Source
Expand description

Command execution abstraction for GitCode CLI (gitcode/gc).

This module provides the CommandRunner trait and its implementations, allowing the GitCode crate to spawn CLI processes in production and inject controlled outputs in tests.

Structs§

CommandOutput
Output from a CLI command execution.
RealCommandRunner
Default implementation that spawns real processes via tokio::process::Command.

Traits§

CommandRunner
Trait for executing CLI commands. Abstracts process spawning for testability.