|
|
b903fe46a4
|
mv : mv to new descriptor while updating header
|
2026-01-22 12:15:40 -08:00 |
|
|
|
14d124b8a6
|
cat : --keep-header and --keep-title : decapitate by default
|
2026-01-21 21:20:06 -08:00 |
|
|
|
0642c15998
|
doc
|
2026-01-21 18:11:41 -08:00 |
|
|
|
036e60ea64
|
cat : um help
|
2026-01-21 14:18:21 -08:00 |
|
|
|
a3ea15e3eb
|
cat : --base
|
2026-01-21 14:11:30 -08:00 |
|
|
|
5c1aaeeefc
|
cat : TrimSuffix always
|
2026-01-21 14:04:46 -08:00 |
|
|
|
63b27faf29
|
cat : back to the simplicity of strings.Join
|
2026-01-21 13:25:40 -08:00 |
|
|
|
cade3efe6f
|
cat : fix previous : the make allocation was all wrong, use strings.Builder in place of strings.Join
|
2026-01-21 13:06:18 -08:00 |
|
|
|
83ada09fb4
|
cat : preallocate by os.Stat() on every file first
|
2026-01-21 12:51:42 -08:00 |
|
|
|
83c52e3e70
|
cat : first naive version
|
2026-01-21 12:43:12 -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 |
|
|
|
924024fa73
|
tag summary
|
2026-01-21 09:27:14 -08:00 |
|
|
|
f645e18b5b
|
flags.Help takes a summary string
|
2026-01-20 20:17:32 -08:00 |
|
|
|
c2412caba6
|
last : move to its own pkg for sharing of GLOB pattern and --help, slightly overkill but consistent
|
2026-01-20 19:55:03 -08:00 |
|
|
|
b69f3aabd0
|
sort : more consistent use of common libs
|
2026-01-20 19:42:28 -08:00 |
|
|
|
18eab3cb85
|
last : filepath.Glob instead of exec.Command(ls)
|
2026-01-20 19:32:55 -08:00 |
|
|
|
d35b26b754
|
tag : import tests from gag
|
2026-01-20 14:57:11 -08:00 |
|
|
|
fb25a2bb43
|
tag : use IsSet
|
2026-01-20 14:51:51 -08:00 |
|
|
|
744774878f
|
tag : one call
|
2026-01-20 14:49:54 -08:00 |
|
|
|
bab61c31a3
|
tag : break apart into smaller files of related function
|
2026-01-20 14:46:04 -08:00 |
|
|
|
211bf38758
|
fix next const cmd
|
2026-01-20 14:31:11 -08:00 |
|
|
|
2505bd4cf9
|
tag : private methods : get used to camelCase
|
2026-01-20 14:13:10 -08:00 |
|
|
|
41b01c172b
|
tag : pipe stdin
|
2026-01-20 14:06:28 -08:00 |
|
|
|
f3fed60ff8
|
tag : dump from https://github.com/brtholomy/gag
|
2026-01-20 14:05:46 -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 |
|
|
|
59b0c173aa
|
tag : --verbose
|
2026-01-19 11:48:10 -08:00 |
|
|
|
03d38b4ba7
|
flags.ValidateIncrementFetchOrExit to handle value expecting Flag[string]
|
2026-01-19 11:37:01 -08:00 |
|
|
|
c719dc934f
|
tag : skip value arg in parseArgs
|
2026-01-19 11:22:34 -08:00 |
|
|
|
ba46937c3c
|
sort : port over full code, fix flag value iteration skipping in parseArgs
|
2026-01-19 11:20:37 -08:00 |
|
|
|
d404b3d096
|
root cmd gets help subcmd
|
2026-01-19 09:34:46 -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 |
|
|
|
9ae9c8e5fd
|
last : handle ls stderr
|
2026-01-19 08:42:27 -08:00 |
|
|
|
bd05d482e2
|
docs
|
2026-01-19 08:06:04 -08:00 |
|
|
|
68e2d0ac1d
|
next : no dead code
|
2026-01-19 07:57:47 -08:00 |
|
|
|
961bb84e29
|
next : emacsNext with emacsclient call
|
2026-01-18 23:58:34 -08:00 |
|
|
|
dbe1af4710
|
next : dont need to parse desc from last
|
2026-01-18 21:47:34 -08:00 |
|
|
|
af2f2032f1
|
next, last : glob and regexp
|
2026-01-18 21:38:18 -08:00 |
|
|
|
c19b11e115
|
flags.ValidValueOrExit and os.Exit on Help
|
2026-01-18 20:17:40 -08:00 |
|
|
|
9932a84286
|
flags : Arg IsSet
|
2026-01-18 19:01:13 -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 |
|
|
|
869ca3c290
|
docs and private funcs
|
2026-01-18 18:19:56 -08:00 |
|
|
|
7e3529aaee
|
flags : generic Flag validity check using a type switch
|
2026-01-18 18:04:01 -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 |
|
|
|
6a5304da2c
|
tag : one blank switch block
|
2026-01-18 15:11:28 -08:00 |
|