proxmox-backup/src/bin/dump-backup-api.rs

15 lines
228 B
Rust
Raw Normal View History

use anyhow::{Error};
use proxmox::api::format::*;
use proxmox_backup::api2;
fn main() -> Result<(), Error> {
2019-11-21 08:36:41 +00:00
let api = api2::backup::BACKUP_API_ROUTER;
dump_api(&mut std::io::stdout(), &api, ".", 0)?;
Ok(())
}