nym_cli_commands/internal/
mod.rs

1// Copyright 2024 - Nym Technologies SA <contact@nymtech.net>
2// SPDX-License-Identifier: Apache-2.0
3
4use clap::{Args, Subcommand};
5
6pub mod ecash;
7pub mod nyx;
8
9#[derive(Debug, Args)]
10#[clap(args_conflicts_with_subcommands = true, subcommand_required = true)]
11pub struct Internal {
12    #[clap(subcommand)]
13    pub command: InternalCommands,
14}
15
16#[derive(Debug, Subcommand)]
17pub enum InternalCommands {
18    /// Ecash related internal commands
19    Ecash(ecash::InternalEcash),
20
21    Nyx(nyx::InternalNyx),
22}