xbp 10.15.4

XBP is a zero-config build pack that can also interact with proxies, kafka, sockets, synthetic monitors.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::cli::commands;
use crate::cli::error::CliResult;
use crate::commands::run_secrets;
use crate::logging::log_error;

pub async fn handle_secrets(cmd: commands::SecretsCmd, debug: bool) -> CliResult<()> {
    if let Err(e) = run_secrets(cmd, debug).await {
        let _ = log_error("secrets", "Secrets command failed", Some(&e)).await;
        return Err(e.into());
    }
    Ok(())
}