pub mod exec;
use clap::{Args, Subcommand};
#[derive(Debug, Args)]
#[clap(args_conflicts_with_subcommands = true)]
pub struct Node {
#[clap(subcommand)]
pub command: Option<NodeCommands>,
}
#[derive(Debug, Subcommand)]
pub enum NodeCommands {
Install(NodeInstall),
Version,
Config,
Status,
Down,
Logs,
Up,
}
#[derive(Debug, Args)]
pub struct NodeInstall {
#[clap(short, long)]
pub version: Option<String>,
}