manta-cli 1.62.4

Another CLI for ALPS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use anyhow::Error;

use crate::common::app_context::AppContext;
use crate::service::boot_parameters;

/// CLI adapter for `manta delete boot-parameters`.
pub async fn exec(
  ctx: &AppContext<'_>,
  token: &str,
  hosts: Vec<String>,
) -> Result<(), Error> {
  boot_parameters::delete_boot_parameters(&ctx.infra, token, hosts).await?;
  println!("Boot parameters deleted successfully");
  Ok(())
}