nethsm_cli/cli/
metrics.rs

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