Skip to content

feat(edge): add CLI argument parsing with clap#70

Merged
copyleftdev merged 1 commit intomainfrom
fix/edge-cli-args
Jan 25, 2026
Merged

feat(edge): add CLI argument parsing with clap#70
copyleftdev merged 1 commit intomainfrom
fix/edge-cli-args

Conversation

@copyleftdev
Copy link
Copy Markdown
Owner

Summary

  • Add proper CLI argument parsing to zgrok-edge using clap
  • Support configurable ports, listen address, TLS paths, domain, and control URL
  • Environment variable support for sensitive configuration

Test plan

  • ./target/release/zgrok-edge --help shows all options
  • cargo build --release succeeds

🤖 Generated with Claude Code

- Add --https-port, --http-port, --listen options
- Add --cert and --key for TLS configuration
- Add --domain for base domain setting
- Add --control-url for control plane connection
- Support environment variables for secrets
- Proper --help and --version support

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@copyleftdev copyleftdev merged commit 8f3c1d4 into main Jan 25, 2026
@copyleftdev copyleftdev deleted the fix/edge-cli-args branch January 25, 2026 20:14
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.

1 participant