Expand description
§gor — GitHub on Rust
A fast, self-contained GitHub CLI written in Rust. Equivalent to gh but
with no external dependencies on git or OpenSSL.
§Architecture
This crate uses a library + binary split:
lib.rs— all business logic, fully unit-testablemain.rs— thin entry point: parse args, init tracing, dispatch
§Quick start
use gor::Gor;
let app = Gor::new();
// app.run() would parse args and dispatch§Feature flags
Currently there are no feature flags. All functionality is included by default.
Modules§
- auth
- Authentication module for
gor. - cli
- CLI argument definitions using clap’s derive API.
- client
- HTTP client for the GitHub REST API.
- cmd
- Command implementations for
gor. - config
- Configuration file management for
gor. - error
- Error types for the
gorlibrary. - host
- Multi-host support for
gor. - keyring_
store - Secure token storage for
gor. - output
- JSON and table formatting utilities for
gor. - repository
- Repository specification parsing and remote URL detection.
Structs§
- Gor
- The main application entry point for the library.