5668e123d9
* introduced initial internal commands for nym-cli: ecash key and request generation * reduced args logging level
21 lines
617 B
Rust
21 lines
617 B
Rust
// Copyright 2024 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
use nym_cli_commands::context::ClientArgs;
|
|
use nym_cli_commands::internal::InternalCommands;
|
|
use nym_network_defaults::NymNetworkDetails;
|
|
|
|
mod ecash;
|
|
|
|
pub(super) async fn execute(
|
|
global_args: ClientArgs,
|
|
internal: nym_cli_commands::internal::Internal,
|
|
nym_network_details: &NymNetworkDetails,
|
|
) -> anyhow::Result<()> {
|
|
match internal.command {
|
|
InternalCommands::Ecash(ecash_commands) => {
|
|
ecash::execute(global_args, ecash_commands, nym_network_details).await
|
|
}
|
|
}
|
|
}
|