Skip to main content

codewhale_command_contract/
lib.rs

1//! Prototype command boundary for the staged TUI command extraction.
2//!
3//! FEAT-014 defines shapes only. It does not implement them for `App`, change
4//! production dispatch, move localization or shared TUI types, or move command
5//! files. Later FEATs first adopt these shapes inside `codewhale-tui` one group
6//! per PR; only after all groups are decoupled will they move to a commands
7//! crate, again one group per PR.
8
9pub mod facets;
10pub mod handler;
11pub mod metadata;
12pub mod types;
13
14pub use facets::*;
15pub use handler::{CommandContexts, CommandHandler, ContextParts};
16pub use metadata::{CommandDiscovery, CommandInfo, RegisterCommand};
17pub use types::*;
18
19#[cfg(test)]
20mod tests;