mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-28 08:01:15 +00:00
## Description
Modernizes Clap v4 usage in iroh-dns-server
- Replaces legacy `#[clap(...)]` attributes with `#[arg(...)]` /
`#[command(...)]`
- Uses `Subcommand` for subcommand enums instead of `Parser`
- Keeps CLI behavior otherwise unchanged
## Change checklist
- [x] Self-review
- [x] Tests if relevant
- [x] This PR was created by a human that thought critically about the
proposed change and wrote an as clear and concise description as
they could
- [x] This PR isn't slop, and is carefully crafted to do have the
intented effect
Co-authored-by: Floris Bruynooghe <flub@n0.computer>