manta-cli 1.62.8

Another CLI for ALPS
1
2
3
4
5
6
7
8
9
10
11
12
13
use anyhow::Error;
use manta_backend_dispatcher::types::bss::BootParameters;

/// Print boot parameters in the requested format.
///
/// Currently only JSON pretty-print is supported.
pub fn print(
  boot_parameters: &[BootParameters],
  _output_opt: Option<&str>,
) -> Result<(), Error> {
  println!("{}", serde_json::to_string_pretty(boot_parameters)?);
  Ok(())
}