ic-query-cli 0.13.0

Command-line wrapper for read-only Internet Computer metadata queries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::{
    filters::{
        data_center_filter_arg, node_operator_filter_arg, node_provider_filter_arg,
        subnet_filter_arg, subnet_kind_filter_arg,
    },
    spec::NODE_SPEC,
};
use crate::nns::leaf;
use ic_query::nns::node::DEFAULT_NNS_NODE_SOURCE_ENDPOINT;

pub(in crate::nns::node) fn node_list_command() -> clap::Command {
    leaf::list_command(&NODE_SPEC, DEFAULT_NNS_NODE_SOURCE_ENDPOINT)
        .arg(subnet_filter_arg())
        .arg(subnet_kind_filter_arg())
        .arg(data_center_filter_arg())
        .arg(node_provider_filter_arg())
        .arg(node_operator_filter_arg())
}