mirror of
https://git.vectorsigma.ru/public/headscale.git
synced 2026-07-29 03:47:58 +00:00
Add a helper that checks the --output flag and either serialises as
JSON/YAML or invokes a table-rendering callback. This removes the
repeated format,_ := cmd.Flags().GetString("output") + if-branch from
the five list commands.