16 lines
337 B
Rust
16 lines
337 B
Rust
|
use clap::{Parser, Subcommand};
|
||
|
use lazy_supplements_desktop::cli::*;
|
||
|
|
||
|
#[derive(Debug, Parser)]
|
||
|
pub struct Cli {
|
||
|
#[command(subcommand)]
|
||
|
command: CliCommand
|
||
|
}
|
||
|
|
||
|
#[derive(Debug, Subcommand)]
|
||
|
pub enum CliCommand {
|
||
|
Config(ConfigCommandArgs),
|
||
|
Device(DeviceCommandArgs),
|
||
|
Log(LogCommandArgs),
|
||
|
Server(ServerCommandArgs),
|
||
|
}
|