aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-06-19 08:52:20 +0100
committerdiogo464 <[email protected]>2025-06-19 08:52:20 +0100
commit39b3d9bfd499e131fd8a9bd1bf0021b62ec18c53 (patch)
tree9975c7d92f28ed19edc370c7e11473f56334629c /Cargo.toml
Initial implementation of demon CLI tool
Implement complete daemon process management CLI with the following features: - demon run: spawn background processes with stdout/stderr redirection - demon stop: graceful process termination with SIGTERM/SIGKILL timeout - demon tail: real-time file watching and log tailing - demon cat: display log file contents - demon list: show all managed processes with status - demon status: detailed process information - demon clean: remove orphaned files from dead processes Technical implementation: - Uses clap for CLI with enum-based subcommands - Structured logging with tracing crate - File watching with notify crate for efficient tailing - Process management with proper signal handling - Creates .pid, .stdout, .stderr files in working directory - Comprehensive error handling and edge case coverage 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..f22a42a
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,13 @@
1[package]
2name = "demon"
3version = "0.1.0"
4edition = "2024"
5
6[dependencies]
7anyhow = "1.0.98"
8clap = { version = "4.5.40", features = ["derive"] }
9ctrlc = "3.4.7"
10glob = "0.3.2"
11notify = "8.0.0"
12tracing = "0.1.41"
13tracing-subscriber = "0.3.19"