nym-cli-commands 1.20.4

Common commands crate used by the nym-cli tool for interacting with the Nyx Cosmos SDK blockchain and Mixnet endpoints
Documentation
// Copyright 2024 - Nym Technologies SA <contact@nymtech.net>
// SPDX-License-Identifier: Apache-2.0

use clap::{Args, Subcommand};

pub mod ecash;
pub mod nyx;

#[derive(Debug, Args)]
#[clap(args_conflicts_with_subcommands = true, subcommand_required = true)]
pub struct Internal {
    #[clap(subcommand)]
    pub command: InternalCommands,
}

#[derive(Debug, Subcommand)]
pub enum InternalCommands {
    /// Ecash related internal commands
    Ecash(ecash::InternalEcash),

    Nyx(nyx::InternalNyx),
}