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

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

Metrics of the target device are returned in JSON format.

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