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

14 lines
231 B
Rust

use failure::*;
use proxmox_backup::api2;
use proxmox_backup::api_schema::format::*;
fn main() -> Result<(), Error> {
let api = api2::backup::backup_api();
dump_api(&mut std::io::stdout(), &api, ".", 0)?;
Ok(())
}