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

14 lines
236 B
Rust
Raw Normal View History

2019-11-22 05:59:37 +00:00
use failure::*;
use proxmox_backup::api2;
use proxmox_backup::api_schema::format::*;
fn main() -> Result<(), Error> {
let api = api2::reader::READER_API_ROUTER;
dump_api(&mut std::io::stdout(), &api, ".", 0)?;
Ok(())
}