caretta-sync/examples/desktop/src/cli.rs

16 lines
337 B
Rust
Raw Normal View History

2025-07-02 08:32:15 +09:00
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),
}