2020-04-17 12:11:25 +00:00
|
|
|
use anyhow::{Error};
|
2019-11-22 05:59:37 +00:00
|
|
|
|
2019-11-22 08:29:16 +00:00
|
|
|
use proxmox::api::format::dump_api;
|
|
|
|
|
2019-11-22 05:59:37 +00:00
|
|
|
use proxmox_backup::api2;
|
|
|
|
|
|
|
|
fn main() -> Result<(), Error> {
|
|
|
|
|
|
|
|
let api = api2::reader::READER_API_ROUTER;
|
|
|
|
|
|
|
|
dump_api(&mut std::io::stdout(), &api, ".", 0)?;
|
|
|
|
|
|
|
|
Ok(())
|
|
|
|
}
|