cosmian_kms_cli 5.20.0

Command Line Interface used to manage the KMS server If any assistance is needed, please either visit the Cosmian technical documentation at https://docs.cosmian.com or contact the Cosmian support team on Discord https://discord.com/invite/7kPMNtHpnz
Documentation
use cosmian_logger::log_init;
use test_kms_server::start_default_test_kms_server;

use crate::{
    actions::kms::actions::{KmsActions, ServerCommands},
    error::result::KmsCliResult,
};

#[tokio::test]
pub(super) async fn test_query_capabilities() -> KmsCliResult<()> {
    log_init(None);
    let ctx = start_default_test_kms_server().await;

    // Invoke via actions enum path
    KmsActions::Server(ServerCommands::Query)
        .process(ctx.get_owner_client())
        .await?;

    Ok(())
}