mirror of
https://github.com/juanfont/headscale.git
synced 2026-02-23 13:50:36 +01:00
Centralise the repeated force-flag-check + YesNo-prompt logic into a single confirmAction(cmd, prompt) helper. Callers still decide what to return on decline (error, message, or nil). |
||
|---|---|---|
| .. | ||
| cli | ||
| headscale_test.go | ||
| headscale.go | ||