Commit graph

70 commits

Author SHA1 Message Date
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
a976dfd753 sort : flags 2026-01-18 15:24:23 -08:00
bth
6a5304da2c tag : one blank switch block 2026-01-18 15:11:28 -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
519d6cf263 next : keep tags as single flags.Arg : handle comma Split later, ParseArgs does just that 2026-01-18 10:21:01 -08:00
bth
109591f938 next : use new flags logic, tags as slice of Arg 2026-01-18 10:17:24 -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
123eabca54 insane reflection premature optimization 2026-01-17 22:27:09 -08:00
bth
90b5def36a first stab at reflection as a solution to the flags issue 2026-01-17 21:12:27 -08:00
bth
f483e08105 flags pkg : but im not convinced this is right 2026-01-17 20:21:37 -08:00
bth
8bd0da003e dirs for each subcmd 2026-01-17 20:06:55 -08:00
bth
a05ebf985a init go rewrite 2026-01-17 13:00:00 -08:00
bth
cb97f0cad4 delete go cli 2024-01-13 11:51:01 -08:00
bth
420702c12f try a go mod 2024-01-13 11:21:43 -08:00