mirror of
https://github.com/juanfont/headscale.git
synced 2026-02-25 09:04:55 +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).