mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-05-11 09:08:15 +00:00

we want to add something to it that needs access to the proxmox_backup::api2 stuff, so it cannot live in a sub crate Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
14 lines
417 B
Rust
14 lines
417 B
Rust
use proxmox::api::cli::{run_cli_command, CliCommandMap, CliEnvironment};
|
|
|
|
mod proxmox_backup_debug;
|
|
use proxmox_backup_debug::*;
|
|
|
|
fn main() {
|
|
let cmd_def = CliCommandMap::new()
|
|
.insert("inspect", inspect::inspect_commands())
|
|
.insert("recover", recover::recover_commands());
|
|
|
|
let rpcenv = CliEnvironment::new();
|
|
run_cli_command(cmd_def, rpcenv, Some(|future| pbs_runtime::main(future)));
|
|
}
|