From 055e2c4a72e3b2331a18fdc9f8132ef990af7e38 Mon Sep 17 00:00:00 2001 From: soryu Date: Tue, 20 Jan 2026 17:23:34 +0000 Subject: Update CLI to show log history as well --- makima/src/daemon/cli/view.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'makima/src/daemon/cli/view.rs') diff --git a/makima/src/daemon/cli/view.rs b/makima/src/daemon/cli/view.rs index b5b516f..b9fa82f 100644 --- a/makima/src/daemon/cli/view.rs +++ b/makima/src/daemon/cli/view.rs @@ -67,12 +67,16 @@ use clap::Args; #[derive(Args, Debug, Clone)] pub struct ViewArgs { /// API URL for the makima server - #[arg(long, env = "MAKIMA_API_URL", default_value = "https://api.makima.jp")] - pub api_url: String, + /// + /// If not provided, uses MAKIMA_API_URL env var or ~/.makima/config.toml + #[arg(long, env = "MAKIMA_API_URL")] + pub api_url: Option, /// API key for authentication + /// + /// If not provided, uses MAKIMA_API_KEY env var or ~/.makima/config.toml #[arg(long, env = "MAKIMA_API_KEY")] - pub api_key: String, + pub api_key: Option, /// Initial search query /// -- cgit v1.2.3