Skip to main content

Module gh

Module gh 

Source
Expand description

The GitHub boundary (spec §4): all pull-request operations shell out to the gh CLI. GhClient isolates this so tests can inject a fake; RealGh spawns the real binary. A missing or unauthenticated gh yields Error::GhUnavailable with an actionable message (§12).

Re-exports§

pub use types::Author;
pub use types::OpenPr;
pub use types::PrSummary;
pub use types::PrView;
pub use types::pr_state;

Modules§

types
gh JSON shapes and their mapping to the domain model (spec §4).

Structs§

RealGh
The production GhClient that spawns the real gh binary.

Traits§

GhClient
Performs GitHub pull-request operations via gh.