oot@wireguard:/etc/wireguard# wgctl group add --name test-group-123 --desc "test"
=> OK: ✅ 🔒  Group created: test-group-123
root@wireguard:/etc/wireguard# wgctl group show --name test-group-123

────────────────────────────────────────────────
  Group: test-group-123
────────────────────────────────────────────────

  Description:         test
  Peers:               0 peers

  —

root@wireguard:/etc/wireguard# wgctl group remove --name test-group-123 --force
=> OK: ✅ 🔒  Group removed: test-group-123
root@wireguard:/etc/wireguard# wgctl group add --name test-rename-src
=> OK: ✅ 🔒  Group created: test-rename-src
root@wireguard:/etc/wireguard# wgctl group rename --name test-rename-src --new-name test-rename-dst
/etc/wireguard/wgctl/commands/group/helpers.sh: line 53: json::rename_group: command not found
=> OK: ✅ 🔒  Group renamed: test-rename-src → test-rename-dst
root@wireguard:/etc/wireguard# wgctl group list

────────────────────────────────────────────────
  Groups
────────────────────────────────────────────────

  arctic             -                   0 peers     inactive
  family             -                   3 peers     active
  test-group         -                   0 peers     inactive
  test-rename-src    -                   0 peers     inactive
  test               -                   1 peer      active
  test2              -                   0 peers     inactive

root@wireguard:/etc/wireguard# wgctl group remove --name test-rename-dst --force
=> ERROR: ❌  Group not found: test-rename-dst
root@wireguard:/etc/wireguard# wgctl group peer --name family --peer phone-nuno --action remove
/etc/wireguard/wgctl/commands/group/helpers.sh: line 76: json::group_remove_peer: command not found
=> OK: ✅ 🔒  Removed 'phone-nuno' from group 'family'
root@wireguard:/etc/wireguard# wgctl group list

────────────────────────────────────────────────
  Groups
────────────────────────────────────────────────

  arctic             -                   0 peers     inactive
  family             -                   3 peers     active
  test-group         -                   0 peers     inactive
  test-rename-src    -                   0 peers     inactive
  test               -                   1 peer      active
  test2              -                   0 peers     inactive

root@wireguard:/etc/wireguard# wgctl group peer --name family --peer phone-nuno --action add
=> WARN: ⚠️ 🔒  Peer 'phone-nuno' is already in group 'family'
root@wireguard:/etc/wireguard# wgctl group purge-stale --all --dry-run
/etc/wireguard/wgctl/commands/group/helpers.sh: line 188: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 188: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 188: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 188: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 188: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 188: group::list_stale_peers: command not found
=> WARN: ⚠️ 🔒  Dry run — no changes made
root@wireguard:/etc/wireguard# wgctl group audit

────────────────────────────────────────────────
  Group Audit
────────────────────────────────────────────────

/etc/wireguard/wgctl/commands/group/helpers.sh: line 224: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 225: group::peer_count: command not found
  arctic               0 peers
/etc/wireguard/wgctl/commands/group/helpers.sh: line 224: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 225: group::peer_count: command not found
  test-group           0 peers
/etc/wireguard/wgctl/commands/group/helpers.sh: line 224: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 225: group::peer_count: command not found
  test2                0 peers
/etc/wireguard/wgctl/commands/group/helpers.sh: line 224: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 225: group::peer_count: command not found
  test-rename-src      0 peers
/etc/wireguard/wgctl/commands/group/helpers.sh: line 224: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 225: group::peer_count: command not found
  family               0 peers
/etc/wireguard/wgctl/commands/group/helpers.sh: line 224: group::list_stale_peers: command not found
/etc/wireguard/wgctl/commands/group/helpers.sh: line 225: group::peer_count: command not found
  test                 0 peers