diff options
| author | diogo464 <[email protected]> | 2025-06-19 17:13:33 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-06-19 17:13:33 +0100 |
| commit | f8bac42e942d7223cecae65d74c91eb35be7830c (patch) | |
| tree | e63f8aa7e0d0680da428f0aca8767916490ea540 /Cargo.toml | |
| parent | a365f12a6c6e7775a5bd3c6177050b74826c608c (diff) | |
Add environment variable support for root directory configuration
Enable setting the root directory via DEMON_ROOT_DIR environment variable by adding 'env' feature to clap and configuring the root_dir argument to read from environment.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -5,7 +5,7 @@ edition = "2024" | |||
| 5 | 5 | ||
| 6 | [dependencies] | 6 | [dependencies] |
| 7 | anyhow = "1.0.98" | 7 | anyhow = "1.0.98" |
| 8 | clap = { version = "4.5.40", features = ["derive"] } | 8 | clap = { version = "4.5.40", features = ["derive", "env"] } |
| 9 | ctrlc = "3.4.7" | 9 | ctrlc = "3.4.7" |
| 10 | notify = "8.0.0" | 10 | notify = "8.0.0" |
| 11 | tracing = "0.1.41" | 11 | tracing = "0.1.41" |
