Skip to main content

cqlite_cli/
lib.rs

1// CQLite CLI library
2
3//! CQLite CLI library
4//!
5//! This library provides the core functionality for the CQLite CLI,
6//! including command processing, database operations, and testing infrastructure.
7
8// EMERGENCY M1 FIX: Completely disable clippy for CI
9#![allow(clippy::all)]
10
11pub mod cli;
12pub mod commands;
13pub mod config;
14pub mod error;
15pub mod status_metrics;
16
17// CLI types module - re-exports from main
18pub mod cli_types;
19
20// Formatter module for table output
21pub mod formatter;
22
23// Output writers for QueryResult (Issue #119)
24pub mod output;
25
26// Script executor for CQL script files (Issue #122)
27pub mod script_executor;
28
29// REPL engine module (Issue #16)
30pub mod repl;
31
32// TUI mode implementation (Issue #251)
33pub mod tui;
34
35#[cfg(all(test, feature = "state_machine"))]
36pub mod test_infrastructure;
37
38// Re-export commonly used types for testing
39pub use cli::{ExportFormat, ImportFormat, OutputFormat};
40
41// Re-export CLI types for external use
42pub use cli_types::{AdminCommands, BenchCommands, Cli, Commands, SchemaCommands};
43pub use config::Config;
44
45#[cfg(all(test, feature = "state_machine"))]
46pub use test_infrastructure::*;