mirror of https://github.com/chipsenkbeil/distant
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
565 B
Rust
27 lines
565 B
Rust
use clap::Subcommand;
|
|
|
|
mod client;
|
|
mod generate;
|
|
mod manager;
|
|
mod server;
|
|
|
|
#[allow(clippy::large_enum_variant)]
|
|
#[derive(Debug, Subcommand)]
|
|
pub enum DistantSubcommand {
|
|
/// Perform client commands
|
|
#[clap(subcommand)]
|
|
Client(client::ClientSubcommand),
|
|
|
|
/// Perform manager commands
|
|
#[clap(subcommand)]
|
|
Manager(manager::ManagerSubcommand),
|
|
|
|
/// Perform server commands
|
|
#[clap(subcommand)]
|
|
Server(server::ServerSubcommand),
|
|
|
|
/// Perform generation commands
|
|
#[clap(subcommand)]
|
|
Generate(generate::GenerateSubcommand),
|
|
}
|