|
|
d4015598be
|
flags : return HelpError and print at the callsite
|
2026-01-29 10:23:11 -08:00 |
|
|
|
b8156931fd
|
flags : Flag interface instead of generic, allowing us to move the reflection out into a field expansion func only
|
2026-01-26 18:48:55 -08:00 |
|
|
|
7e6f8dd36c
|
pipe : FileListSplit and better errors
|
2026-01-21 12:31:47 -08:00 |
|
|
|
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 |
|
|
|
f645e18b5b
|
flags.Help takes a summary string
|
2026-01-20 20:17:32 -08:00 |
|
|
|
b69f3aabd0
|
sort : more consistent use of common libs
|
2026-01-20 19:42:28 -08:00 |
|
|
|
c434005d39
|
cmd pkg for Subcommand type, use everywhere
|
2026-01-20 13:30:53 -08:00 |
|
|
|
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 |
|
|
|
0ff9e6d9a3
|
next : consistent default case handling across subcmds
|
2026-01-19 18:25:06 -08:00 |
|
|
|
b5075786c6
|
last and sort should pipe to stdout
|
2026-01-19 12:29:39 -08:00 |
|
|
|
03d38b4ba7
|
flags.ValidateIncrementFetchOrExit to handle value expecting Flag[string]
|
2026-01-19 11:37:01 -08:00 |
|
|
|
ba46937c3c
|
sort : port over full code, fix flag value iteration skipping in parseArgs
|
2026-01-19 11:20:37 -08:00 |
|
|
|
5b930f4526
|
more error strings
|
2026-01-19 09:21:41 -08:00 |
|
|
|
c00904a004
|
log.Fatal and more consistent error strings
|
2026-01-19 09:17:49 -08:00 |
|
|
|
c19b11e115
|
flags.ValidValueOrExit and os.Exit on Help
|
2026-01-18 20:17:40 -08:00 |
|
|
|
0d32446986
|
flags : can check for both Flag types because the value.FieldByName().Type() can be printed
|
2026-01-18 18:29:34 -08:00 |
|
|
|
1fed129838
|
flags : Help outputs a positional spec as well
|
2026-01-18 15:38:16 -08:00 |
|
|
|
a976dfd753
|
sort : flags
|
2026-01-18 15:24:23 -08:00 |
|
|
|
f23a98fb5d
|
flags rewrite : just well defined structs and a clear switch block
|
2026-01-18 09:03:27 -08:00 |
|
|
|
f483e08105
|
flags pkg : but im not convinced this is right
|
2026-01-17 20:21:37 -08:00 |
|
|
|
8bd0da003e
|
dirs for each subcmd
|
2026-01-17 20:06:55 -08:00 |
|