nym_cli_commands/validator/vesting/
mod.rs1use clap::{Args, Subcommand};
5
6pub mod balance;
7pub mod create_vesting_schedule;
8pub mod query_vesting_schedule;
9pub mod withdraw_vested;
10
11#[derive(Debug, Args)]
12#[clap(args_conflicts_with_subcommands = true, subcommand_required = true)]
13pub struct VestingSchedule {
14 #[clap(subcommand)]
15 pub command: Option<VestingScheduleCommands>,
16}
17
18#[derive(Debug, Subcommand)]
19pub enum VestingScheduleCommands {
20 Create(crate::validator::vesting::create_vesting_schedule::Args),
22 Query(crate::validator::vesting::query_vesting_schedule::Args),
24 VestedBalance(crate::validator::vesting::balance::Args),
26 WithdrawVested(crate::validator::vesting::withdraw_vested::Args),
28}