Skip to content

feat: add devproxy restart command#9

Merged
willisrocks merged 3 commits intomainfrom
add-restart-command
Mar 10, 2026
Merged

feat: add devproxy restart command#9
willisrocks merged 3 commits intomainfrom
add-restart-command

Conversation

@willisrocks
Copy link
Copy Markdown
Contributor

Summary

  • Adds a user-facing devproxy restart command that wraps the existing platform::restart_daemon() function
  • Follows established command patterns: CLI enum variant, command module, main dispatch
  • Handles success, no-daemon-found, and error cases with appropriate messaging

Test Plan

  • 69 unit tests pass, 15 non-ignored e2e tests pass, clippy clean
  • New tests: test_parse_restart_command (unit), test_restart_no_daemon (e2e), test_restart_running_daemon (e2e)
  • Help output updated to include restart

🤖 Generated with Claude Code

chris-4d and others added 3 commits March 9, 2026 20:47
Adds a user-facing `restart` subcommand that wraps the existing
`platform::restart_daemon()` function, giving users a direct way to
restart the daemon without going through `init` or `update`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@willisrocks willisrocks merged commit 9b2009a into main Mar 10, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants