git-ents.gitmain
⌘K
foforge
mod.rs14 lines · 530 B · rusthistorycomment on this file
1//! The issue sub-domain: the [`Issue`] entity (`entity`), the `issue`
2//! command's business logic (`command`), and the `issue` subcommand's
3//! argument grammar (`cli`) — the same three-file split
4//! [`crate::comment`] and [`crate::review`] use, for the same reason: the
5//! data shape, the command mechanism, and the CLI grammar stay easy to
6//! read independently.
7
8mod cli;
9mod command;
10mod entity;
11
12pub use cli::IssueAction;
13pub use command::{EditIssue, NewIssue, edit, list, list_all, new, show};
14pub use entity::Issue;