baobao_codegen/schema/
mod.rs

1//! Schema traversal and info types.
2//!
3//! This module provides types for working with parsed schemas:
4//! - [`CommandTree`] - Traversable view of command hierarchy
5//! - [`FlatCommand`] - Flattened command with path information
6//! - [`CommandInfo`] - Command metadata for code generation
7//! - [`ContextFieldInfo`] - Context field metadata for code generation
8//! - [`CommandTreeDisplay`] - Declarative command tree formatting
9
10mod commands;
11mod display;
12mod types;
13
14pub use commands::{CommandTree, FlatCommand};
15pub use display::{CommandTreeDisplay, CommandTreeExt, DisplayStyle};
16pub use types::{
17    CommandInfo, ContextFieldInfo, PoolConfigInfo, SqliteConfigInfo, collect_context_fields,
18};