amg/
lib.rs

1//! # amg - Resume Codex sessions by git branch
2//!
3//! A command-line tool to manage and resume Codex sessions by matching them to git branch names.
4//!
5//! ## Overview
6//!
7//! `amg` helps you quickly resume Codex sessions by searching through Codex session files (JSONL format)
8//! and finding the first session that matches your current or specified git branch, then resumes it
9//! with the appropriate configuration.
10//!
11//! ## Usage
12//!
13//! The main entry point is [`cli::entry`], which parses command-line arguments and executes the
14//! appropriate subcommand.
15//!
16//! ## Example
17//!
18//! ```no_run
19//! use amg::cli::entry;
20//!
21//! fn main() -> std::process::ExitCode {
22//!     entry()
23//! }
24//! ```
25//!
26//! ## Modules
27//!
28//! * [`cli`] - Command-line interface implementation
29//!
30//! ## See Also
31//!
32//! * [Repository](https://github.com/Cardosaum/amg)
33//! * [README](https://github.com/Cardosaum/amg/blob/main/README.md)
34
35#![warn(missing_docs)]
36
37pub mod cli;