1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
//! # 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-testable
//! - `main.rs` — thin entry point: parse args, init tracing, dispatch
//!
//! ## Quick start
//!
//! ```rust
//! use gor::Gor;
//!
//! # fn main() -> anyhow::Result<()> {
//! let app = Gor::new();
//! // app.run() would parse args and dispatch
//! # Ok(())
//! # }
//! ```
//!
//! ## Feature flags
//!
//! Currently there are no feature flags. All functionality is included by default.
use Parser;
use Args;
/// The main application entry point for the library.
///
/// Construct with [`Gor::new`] and call [`Gor::run`] to execute.
///
/// # Examples
///
/// ```no_run
/// use gor::Gor;
///
/// let app = Gor::new();
/// // app.run() parses CLI args and dispatches to the appropriate command
/// ```
;