ic-query-cli 0.22.3

Command-line wrapper for read-only Internet Computer metadata queries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::{reports::NnsNodeOperatorReports, spec::NODE_OPERATOR_SPEC};
use crate::nns::{NnsCommandError, leaf};
use clap::ArgMatches;

pub(in crate::nns) fn run(matches: &ArgMatches, network: &str) -> Result<(), NnsCommandError> {
    leaf::run_cached_leaf(
        matches,
        network,
        &NODE_OPERATOR_SPEC,
        NnsNodeOperatorReports,
    )
}