Skip to main content

Crate codewhale_command_contract

Crate codewhale_command_contract 

Source
Expand description

Prototype command boundary for the staged TUI command extraction.

FEAT-014 defines shapes only. It does not implement them for App, change production dispatch, move localization or shared TUI types, or move command files. Later FEATs first adopt these shapes inside codewhale-tui one group per PR; only after all groups are decoupled will they move to a commands crate, again one group per PR.

Re-exports§

pub use handler::CommandContexts;
pub use handler::CommandHandler;
pub use handler::ContextParts;
pub use metadata::CommandDiscovery;
pub use metadata::CommandInfo;
pub use metadata::RegisterCommand;
pub use facets::*;
pub use types::*;

Modules§

facets
Independent, object-safe capability shapes for staged command migration.
handler
Generic handler transport for staged command migration.
metadata
Portable command registration metadata.
types
Prototype boundary values used by the command capability shapes.