Skip to main content

fabryk_cli/
lib.rs

1//! CLI framework for Fabryk-based applications.
2//!
3//! This crate provides a generic CLI structure that domain applications
4//! can extend with their own commands.
5//!
6//! # Key Abstractions
7//!
8//! - [`FabrykCli<C>`]: Generic CLI parameterized over config provider
9//! - [`CliExtension`]: Trait for adding domain-specific subcommands
10//! - Built-in graph commands (validate, stats, query)
11
12pub mod app;
13pub mod cli;
14pub mod config;
15pub mod config_handlers;
16pub mod graph_handlers;
17
18// Re-exports — CLI types
19pub use cli::{
20    BaseCommand, CliArgs, CliExtension, ConfigAction, ConfigCommand, GraphCommand, GraphSubcommand,
21};
22
23// Re-exports — application
24pub use app::FabrykCli;
25
26// Re-exports — configuration
27pub use config::FabrykConfig;
28
29// Re-exports — graph handler types
30pub use graph_handlers::{BuildOptions, QueryOptions};