Skip to main content

Module runner

Module runner 

Source
Expand description

Command execution abstraction for GitHub CLI (gh).

This module provides the CommandRunner trait and its implementations, allowing the GitHub 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.