d19c96d507
These aren't installed and are only used for manual testing, so there's no reason to force them to be built all the time. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 lines
418 B
Rust
21 lines
418 B
Rust
use anyhow::{Error};
|
|
|
|
use proxmox::api::format::*;
|
|
use proxmox::api::cli::*;
|
|
|
|
use proxmox_backup::backup::catalog_shell_cli;
|
|
|
|
fn main() -> Result<(), Error> {
|
|
|
|
match catalog_shell_cli() {
|
|
CommandLineInterface::Nested(map) => {
|
|
let usage = generate_nested_usage("", &map, DocumentationFormat::ReST);
|
|
println!("{}", usage);
|
|
|
|
}
|
|
_ => unreachable!(),
|
|
}
|
|
|
|
Ok(())
|
|
}
|