| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove glob crate usage in favor of std::fs::read_dir()
- Create find_pid_files() helper function using std::fs
- Update list_daemons() and clean_orphaned_files() functions
- Maintain same functionality while reducing dependencies
- Fix indentation issues after conversion
- All tests pass, functionality preserved
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add assert_cmd, predicates, and tempfile dev dependencies
- Create 18 comprehensive integration tests covering all CLI commands
- Test success scenarios, error conditions, and edge cases
- Use temporary directories for isolated test environments
- Cover file creation, process management, and cleanup functionality
All tests pass and provide good coverage of the CLI interface.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
|
|
|
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]>
|