flyctl
flyctl copied to clipboard
Support multiple select for 'fly wg remove'
Describe the bug
Hi, it seems it's not possible to nuke multiple wg peers in one run. I kindly request support deleting multiple in one run (like, stopping machines with the space key is done).
- Operating system
fly v0.2.72 darwin/arm64 Commit: df7529f6da985a662853ffc7003f57ee3c9d8e42 BuildDate: 2024-06-18T23:04:13Z
Workaround
For the ones looking for a workaround, here's a one-liner:
fly wg list <org> --json | jq -r '.[].Name' | xargs -t -I {} fly wg remove <org> {}