1
2
3
4
5
6
7
8
9
10
11
12
13
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 user in the \"{}\" role.", UserRole::Metrics),
)]
pub struct MetricsCommand {}