use cli from proxmox::api

This commit is contained in:
Dietmar Maurer
2019-12-02 11:56:29 +01:00
parent 524b22df35
commit 7eea56ca00
13 changed files with 4 additions and 1397 deletions

View File

@ -1,8 +1,6 @@
use failure::*;
use proxmox::api::*;
use proxmox_backup::cli::*;
use proxmox::api::{*, cli::*};
#[api(
input: {

View File

@ -12,9 +12,9 @@ use proxmox::{sortable, identity};
use proxmox::tools::fs::{file_get_contents, file_get_json, file_set_contents, image_size};
use proxmox::api::{ApiHandler, ApiMethod, RpcEnvironment};
use proxmox::api::schema::*;
use proxmox::api::cli::*;
use proxmox_backup::tools;
use proxmox_backup::cli::*;
use proxmox_backup::api2::types::*;
use proxmox_backup::client::*;
use proxmox_backup::backup::*;

View File

@ -1,7 +1,6 @@
extern crate proxmox_backup;
//use proxmox_backup::api2;
use proxmox_backup::cli::*;
use proxmox::api::cli::*;
fn datastore_commands() -> CommandLineInterface {

View File

@ -5,9 +5,9 @@ use failure::*;
use proxmox::{sortable, identity};
use proxmox::api::{ApiHandler, ApiMethod, RpcEnvironment};
use proxmox::api::schema::*;
use proxmox::api::cli::*;
use proxmox_backup::tools;
use proxmox_backup::cli::*;
use serde_json::{Value};