nethsm_cli/cli/
metrics.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;
use expression_format::ex_format;
use nethsm::UserRole::Metrics;

#[derive(Debug, Parser)]
#[command(
    about = "Get metrics",
    long_about = ex_format!("Get metrics

Metrics of the target device are returned in JSON format.

Requires authentication of a system-wide user in the \"{Metrics}\" role."),
)]
pub struct MetricsCommand {}