1
0
mirror of https://github.com/juanfont/headscale.git synced 2026-02-23 13:50:36 +01:00
juanfont.headscale/cmd/headscale/cli
Kristoffer Dalby ca321d3c13 cmd/headscale/cli: use HeadscaleDateTimeFormat and util.Base10 consistently
Replace five hardcoded "2006-01-02 15:04:05" strings with the
HeadscaleDateTimeFormat constant already defined in utils.go.
Replace two literal 10 base arguments to strconv.FormatUint with
util.Base10 to match the convention in api_key.go and nodes.go.
2026-02-20 11:42:07 +01:00
..
api_key.go cmd/headscale/cli: deduplicate expiration parsing and api-key flag validation 2026-02-20 11:42:07 +01:00
configtest.go cmd/headscale/cli: convert remaining commands to RunE 2026-02-20 11:42:07 +01:00
debug.go cmd/headscale/cli: drop dead flag-read error checks 2026-02-20 11:42:07 +01:00
dump_config.go cmd/headscale/cli: remove no-op Args functions from serveCmd and dumpConfigCmd 2026-02-20 11:42:07 +01:00
generate.go cmd/headscale/cli: convert remaining commands to RunE 2026-02-20 11:42:07 +01:00
health.go cmd/headscale/cli: switch to RunE with grpcRunE and error returns 2026-02-20 11:42:07 +01:00
mockoidc.go cmd/headscale/cli: convert remaining commands to RunE 2026-02-20 11:42:07 +01:00
nodes.go cmd/headscale/cli: use HeadscaleDateTimeFormat and util.Base10 consistently 2026-02-20 11:42:07 +01:00
policy.go cmd/headscale/cli: add confirmAction helper for force/prompt patterns 2026-02-20 11:42:07 +01:00
preauthkeys.go cmd/headscale/cli: use HeadscaleDateTimeFormat and util.Base10 consistently 2026-02-20 11:42:07 +01:00
pterm_style.go cmd/headscale/cli: use HeadscaleDateTimeFormat and util.Base10 consistently 2026-02-20 11:42:07 +01:00
root_test.go cli: do not show new pre-releases on stable (#2813) 2025-10-24 13:15:53 +02:00
root.go cmd/headscale/cli: remove legacy namespace and machine aliases 2026-02-20 11:42:07 +01:00
serve.go cmd/headscale/cli: remove no-op Args functions from serveCmd and dumpConfigCmd 2026-02-20 11:42:07 +01:00
users.go cmd/headscale/cli: use HeadscaleDateTimeFormat and util.Base10 consistently 2026-02-20 11:42:07 +01:00
utils.go cmd/headscale/cli: deduplicate expiration parsing and api-key flag validation 2026-02-20 11:42:07 +01:00
version.go cmd/headscale/cli: convert remaining commands to RunE 2026-02-20 11:42:07 +01:00