caretta-sync/examples/simple-list/src/cli/mod.rs

17 lines
306 B
Rust
Raw Normal View History

2025-05-27 17:58:32 +09:00
use clap::{Parser, Subcommand};
use lazy_supplements::{cli::ServerArgs, config::PartialServerConfig};
#[derive(Debug, Parser)]
pub struct Cli {
#[command(subcommand)]
command: CliCommand
}
#[derive(Debug, Subcommand)]
pub enum CliCommand {
Add,
Delete,
List,
Server(ServerArgs)
}