move api dump binaries back to src/bin for package building
they're required for docs Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -1,14 +0,0 @@
|
||||
use anyhow::{Error};
|
||||
|
||||
use proxmox::api::format::*;
|
||||
|
||||
use proxmox_backup::api2;
|
||||
|
||||
fn main() -> Result<(), Error> {
|
||||
|
||||
let api = api2::backup::BACKUP_API_ROUTER;
|
||||
|
||||
dump_api(&mut std::io::stdout(), &api, ".", 0)?;
|
||||
|
||||
Ok(())
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
use anyhow::{Error};
|
||||
|
||||
use proxmox::api::format::*;
|
||||
use proxmox::api::cli::*;
|
||||
|
||||
use proxmox_backup::backup::catalog_shell_cli;
|
||||
|
||||
fn main() -> Result<(), Error> {
|
||||
|
||||
match catalog_shell_cli() {
|
||||
CommandLineInterface::Nested(map) => {
|
||||
let usage = generate_nested_usage("", &map, DocumentationFormat::ReST);
|
||||
println!("{}", usage);
|
||||
|
||||
}
|
||||
_ => unreachable!(),
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
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(())
|
||||
}
|
Reference in New Issue
Block a user