Commit graph um/flags/flags.go
Author SHA1 Message Date
bth
f645e18b5b flags.Help takes a summary string 2026-01-20 20:17:32 -08:00
bth
c434005d39 cmd pkg for Subcommand type, use everywhere 2026-01-20 13:30:53 -08:00
bth
77e3e23446 flags : more common help functions, but redefining the subcmds in each package is probably wrong, esp. since last had to be deduped 2026-01-20 13:10:47 -08:00
bth
03d38b4ba7 flags.ValidateIncrementFetchOrExit to handle value expecting Flag[string] 2026-01-19 11:37:01 -08:00
bth
c00904a004 log.Fatal and more consistent error strings 2026-01-19 09:17:49 -08:00
bth
c19b11e115 flags.ValidValueOrExit and os.Exit on Help 2026-01-18 20:17:40 -08:00
bth
9932a84286 flags : Arg IsSet 2026-01-18 19:01:13 -08:00
bth
0d32446986 flags : can check for both Flag types because the value.FieldByName().Type() can be printed 2026-01-18 18:29:34 -08:00
bth
869ca3c290 docs and private funcs 2026-01-18 18:19:56 -08:00
bth
7e3529aaee flags : generic Flag validity check using a type switch 2026-01-18 18:04:01 -08:00
bth
1fed129838 flags : Help outputs a positional spec as well 2026-01-18 15:38:16 -08:00
bth
c7c48eab43 flags : tabwriter output 2026-01-18 15:03:31 -08:00
bth
0422b4a146 flags : Help string using reflection iteration over fields 2026-01-18 14:48:58 -08:00
bth
d89b48adc3 flags : generic string|bool value field 2026-01-18 09:47:31 -08:00
bth
f23a98fb5d flags rewrite : just well defined structs and a clear switch block 2026-01-18 09:03:27 -08:00
bth
f483e08105 flags pkg : but im not convinced this is right 2026-01-17 20:21:37 -08:00