#[cfg(feature = "catalog")]
pub mod catalog;
#[cfg(feature = "contract")]
pub mod contract;
pub mod dlq;
pub mod doctor;
pub mod init;
pub mod list;
#[cfg(feature = "masking")]
pub mod masking;
#[cfg(feature = "notify")]
pub mod notify;
pub mod preview;
pub mod replicate;
pub mod run;
#[cfg(feature = "schedule")]
pub mod schedule;
pub mod schema;
#[cfg(feature = "serve")]
pub mod serve;
pub mod test;
pub mod validate;
use crate::error::CliError;
pub fn report(err: &CliError) {
use crate::secrets::registry::redact;
eprintln!("error: {}", redact(&err.to_string()));
let mut src = std::error::Error::source(err);
while let Some(s) = src {
eprintln!(" caused by: {}", redact(&s.to_string()));
src = std::error::Error::source(s);
}
}