avina-cli 2.2.0

Rust CLI client for the LRZ-specific features of the Openstack-based LRZ Compute Cloud.
1
2
3
4
5
6
7
8
9
10
11
use std::error::Error;

use crate::common::{Format, print_single_object};

pub(crate) async fn budget_bulk_create(
    api: avina::Api,
    format: Format,
    year: i32,
) -> Result<(), Box<dyn Error>> {
    print_single_object(&api.budget_bulk_create.run(year).await?, format)
}