Skip to main content

torrust_tracker_deployer_lib/shared/command/
mod.rs

1//! Command execution utilities with error handling and logging
2//!
3//! This module provides utilities for executing external commands with proper error handling,
4//! logging, and output capture. It supports both verbose and quiet execution modes and provides
5//! structured error types for different failure scenarios.
6//!
7//! ## Key Features
8//!
9//! - Structured error handling with detailed context
10//! - Optional verbose output logging
11//! - Working directory support
12//! - Comprehensive error categorization (startup vs execution failures)
13
14pub mod error;
15pub mod executor;
16pub mod result;
17
18// Re-export the main types for convenience
19pub use error::CommandError;
20pub use executor::CommandExecutor;
21pub use result::CommandResult;