Expand description
Command taxonomy and knowledge layer.
Separates “what commands are” (this crate) from “what to do about them”
(policy, in consumers). Provides classify
to look up a command’s Effect, subcommand, escalation flags, affected
paths, and env gates from a KnowledgeBase.
Use default_knowledge_base to obtain the embedded defaults covering
git, cargo, gh, kubectl, and common shell commands.
Re-exports§
pub use defaults::default_knowledge_base;pub use lookup::classify;pub use merge::CommandOverlay;pub use merge::KnowledgeOverlay;pub use merge::WrapperOverlay;pub use types::CommandInfo;pub use types::CommandKnowledge;pub use types::CommandProperties;pub use types::Effect;pub use types::EnvGate;pub use types::FlagSchema;pub use types::KnowledgeBase;pub use types::PathPositionals;pub use types::PathSpec;pub use types::SubcommandEntry;pub use types::SubcommandMap;pub use types::WrapperInfo;pub use types::WrapperKnowledge;pub use types::MAX_SUBCOMMAND_DEPTH;