diff options
| author | soryu <soryu@soryu.co> | 2026-01-11 05:52:14 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-15 00:21:16 +0000 |
| commit | 87044a747b47bd83249d61a45842c7f7b2eae56d (patch) | |
| tree | ef2000ce79ffcc2723ef841acef5aa1deb1d5378 /makima/daemon/src/cli.rs | |
| parent | 077820c4167c168072d217a1b01df840463a12a8 (diff) | |
| download | soryu-87044a747b47bd83249d61a45842c7f7b2eae56d.tar.gz soryu-87044a747b47bd83249d61a45842c7f7b2eae56d.zip | |
Contract system
Diffstat (limited to 'makima/daemon/src/cli.rs')
| -rw-r--r-- | makima/daemon/src/cli.rs | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/makima/daemon/src/cli.rs b/makima/daemon/src/cli.rs deleted file mode 100644 index ca84017..0000000 --- a/makima/daemon/src/cli.rs +++ /dev/null @@ -1,45 +0,0 @@ -//! Command-line argument parsing for makima-daemon. - -use clap::Parser; -use std::path::PathBuf; - -/// Makima daemon for managing Claude Code instances in isolated worktrees. -#[derive(Parser, Debug)] -#[command(name = "makima-daemon")] -#[command(version, about, long_about = None)] -pub struct Cli { - /// Path to custom config file - #[arg(short, long)] - pub config: Option<PathBuf>, - - /// Directory where repositories are cloned - #[arg(long, env = "MAKIMA_DAEMON_REPOS_DIR")] - pub repos_dir: Option<PathBuf>, - - /// Directory where worktrees are created - #[arg(long, env = "MAKIMA_DAEMON_WORKTREES_DIR")] - pub worktrees_dir: Option<PathBuf>, - - /// WebSocket server URL to connect to - #[arg(long, env = "MAKIMA_DAEMON_SERVER_URL")] - pub server_url: Option<String>, - - /// API key for server authentication - #[arg(long, env = "MAKIMA_DAEMON_SERVER_APIKEY")] - pub api_key: Option<String>, - - /// Maximum number of concurrent tasks - #[arg(long)] - pub max_tasks: Option<u32>, - - /// Log level (trace, debug, info, warn, error) - #[arg(short, long, default_value = "info")] - pub log_level: String, -} - -impl Cli { - /// Parse command-line arguments - pub fn parse_args() -> Self { - Self::parse() - } -} |
