]> git.proxmox.com Git - proxmox-backup.git/blame - src/bin/dump-catalog-shell-cli.rs
move client to pbs-client subcrate
[proxmox-backup.git] / src / bin / dump-catalog-shell-cli.rs
CommitLineData
f7d4e4b5 1use anyhow::{Error};
d75fbb0a
DM
2
3use proxmox::api::format::*;
4use proxmox::api::cli::*;
5
2b7f8dd5 6use pbs_client::catalog_shell::catalog_shell_cli;
d75fbb0a
DM
7
8fn main() -> Result<(), Error> {
9
10 match catalog_shell_cli() {
11 CommandLineInterface::Nested(map) => {
12 let usage = generate_nested_usage("", &map, DocumentationFormat::ReST);
13 println!("{}", usage);
14
15 }
16 _ => unreachable!(),
17 }
18
19 Ok(())
20}