celers_cli/lib.rs
1//! `CeleRS` CLI library.
2//!
3//! This library provides command implementations for the `CeleRS` command-line interface.
4//! While primarily used as a binary (`celers`), the library exports command functions
5//! for programmatic use and examples.
6//!
7//! # Features
8//!
9//! - Worker management (start, stop, pause, resume, scale)
10//! - Queue operations (list, stats, move, export, import)
11//! - Task management (inspect, cancel, retry, logs)
12//! - DLQ operations (inspect, clear, replay)
13//! - Monitoring and diagnostics (metrics, health, reports)
14//! - Database operations (connection testing, migrations)
15//! - Auto-scaling and alerting
16//!
17//! # Examples
18//!
19//! See the `examples/` directory for comprehensive usage examples:
20//! - `basic_workflow.rs` - Common CLI operations
21//! - `monitoring_and_diagnostics.rs` - Production monitoring
22//! - `queue_management.rs` - Queue operations
23//! - `worker_management.rs` - Worker lifecycle management
24//! - `task_and_dlq_management.rs` - Task and DLQ operations
25
26pub mod backup;
27pub mod command_utils;
28pub mod commands;
29pub mod config;
30pub mod database;
31pub mod interactive;
32
33// Re-export commonly used items
34pub use config::Config;