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 config_policy;
10pub mod facets;
11pub mod handler;
12pub mod metadata;
13pub mod outcome;
14pub mod types;
15
16pub use facets::*;
17pub use handler::{CommandCapabilities, CommandContexts, CommandHandler, ContextParts};
18pub use metadata::{CommandDiscovery, CommandInfo, RegisterCommand};
19pub use types::*;
20
21#[cfg(test)]
22mod tests;
23
24pub mod metrics;
25pub mod money;
26pub mod tool_outputs;