nethsm_cli/cli/
metrics.rs

1use clap::Parser;
2use expression_format::ex_format;
3use nethsm::UserRole::Metrics;
4
5#[derive(Debug, Parser)]
6#[command(
7    about = "Get metrics",
8    long_about = ex_format!("Get metrics
9
10Metrics of the target device are returned in JSON format.
11
12Requires authentication of a system-wide user in the \"{Metrics}\" role."),
13)]
14pub struct MetricsCommand {}