mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-11 17:13:56 +09: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).