caretta-sync/examples/desktop/src/cli.rs
2025-07-02 08:32:15 +09:00

16 lines
No EOL
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),
}