Commit graph um/sort/sort.go
Author SHA1 Message Date
bth
7e6f8dd36c pipe : FileListSplit and better errors 2026-01-21 12:31:47 -08:00
bth
6f9f5dbb23 flags : reflection-powered general ParseArgs : uglier than tidy switch statements per cmd, but much easier to add new flags 2026-01-21 11:54:24 -08:00
bth
f645e18b5b flags.Help takes a summary string 2026-01-20 20:17:32 -08:00
bth
b69f3aabd0 sort : more consistent use of common libs 2026-01-20 19:42:28 -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
0ff9e6d9a3 next : consistent default case handling across subcmds 2026-01-19 18:25:06 -08:00
bth
b5075786c6 last and sort should pipe to stdout 2026-01-19 12:29:39 -08:00
bth
03d38b4ba7 flags.ValidateIncrementFetchOrExit to handle value expecting Flag[string] 2026-01-19 11:37:01 -08:00
bth
ba46937c3c sort : port over full code, fix flag value iteration skipping in parseArgs 2026-01-19 11:20:37 -08:00
bth
5b930f4526 more error strings 2026-01-19 09:21:41 -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
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
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
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
bth
8bd0da003e dirs for each subcmd 2026-01-17 20:06:55 -08:00