proxmox-backup/examples/dump-reader-api.rs
Wolfgang Bumiller d19c96d507 move test binaries to examples/
These aren't installed and are only used for manual testing,
so there's no reason to force them to be built all the time.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-06-16 13:32:24 +02:00

15 lines
235 B
Rust

use anyhow::{Error};
use proxmox::api::format::dump_api;
use proxmox_backup::api2;
fn main() -> Result<(), Error> {
let api = api2::reader::READER_API_ROUTER;
dump_api(&mut std::io::stdout(), &api, ".", 0)?;
Ok(())
}