Skip to main content

nethsm/cli/command/
metrics.rs

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