|
|
c32521b94b
|
next : FILE_REGEXP : allow midfix dots
|
2026-08-27 10:28:31 -07:00 |
|
|
|
cb0e0b4d6a
|
e
|
2026-08-26 13:33:58 -07:00 |
|
|
|
a75b348b73
|
no .txt
|
2026-08-26 13:18:11 -07:00 |
|
|
|
d4ba801115
|
README.md : move most of it here
|
2026-08-26 13:15:52 -07:00 |
|
|
|
ae23009c60
|
next : writeHeader directly : no more hook into um.el
|
2026-08-26 12:45:27 -07:00 |
|
|
|
b81d6f906e
|
next : um next calls (um--header) and only prints the filename for piping : no more auto open
|
2026-08-13 11:50:38 -07:00 |
|
|
|
b4b05e7994
|
next : send filename to stdout
|
2026-08-13 09:37:03 -07:00 |
|
|
|
5aac37f8a8
|
Glob as variant of Arg Flag type : accepts multiple files, as shell-expanded. use in um sort and um cat
NOTE: um sort expects .md files, while um cat expects .um : .um filelists are concatted together, while .md lists are just lists
|
2026-07-15 17:31:13 -07:00 |
|
|
|
65ed68460f
|
cat --strip-file-links : handle lists of filenames
|
2026-07-15 13:52:43 -07:00 |
|
|
|
dcbfa03251
|
cat : --strip-file-links
|
2026-07-15 13:43:50 -07:00 |
|
|
|
73cc9389df
|
cat : add a leading hr block
|
2026-07-15 12:52:00 -07:00 |
|
|
|
c7961b7555
|
tag : simplify single tag handling
|
2026-06-08 20:13:20 -07:00 |
|
|
|
762ced6734
|
tag : simplify nil handling
|
2026-06-08 20:09:12 -07:00 |
|
|
|
bd86e90174
|
handle OR'd tags where the first tag matches nothing : assignment to nil map panic
|
2026-06-08 17:36:05 -07:00 |
|
|
|
185393d62d
|
move elisp into main dir for the sake of package.el
|
2026-05-19 10:58:54 -07:00 |
|
|
|
f710377826
|
explicit help always exit 0
|
2026-01-30 09:55:06 -08:00 |
|
|
|
db3f01e142
|
test expandOpts
|
2026-01-29 12:00:19 -08:00 |
|
|
|
ec5eff4150
|
flags : ParseError return from expandOpts and Help for reflection guards
|
2026-01-29 11:44:53 -08:00 |
|
|
|
3f5d73bf3e
|
help : errors.As : assign to the HelpError constructed at callsite
|
2026-01-29 11:17:52 -08:00 |
|
|
|
8fe659a171
|
help : HelpError holds cmd.Subcommand and summary : NewHelpError constructor
|
2026-01-29 11:09:55 -08:00 |
|
|
|
d4015598be
|
flags : return HelpError and print at the callsite
|
2026-01-29 10:23:11 -08:00 |
|
|
|
b9809e332b
|
Merge branch 'flags'
|
2026-01-28 21:43:54 -08:00 |
|
|
|
8e7daebb18
|
A flags_test.go
|
2026-01-28 21:43:25 -08:00 |
|
|
|
af3fb9f552
|
parseArgsInternal
|
2026-01-28 20:28:11 -08:00 |
|
|
|
012110a369
|
flags : better method separation
|
2026-01-28 18:22:37 -08:00 |
|
|
|
0fba550f1e
|
next : better error
|
2026-01-28 15:55:46 -08:00 |
|
|
|
78d33ae62d
|
next : FILE_REGEXP should not assume ascii nor even unicode letters, just anything not a .
|
2026-01-28 13:22:36 -08:00 |
|
|
|
a243d3c125
|
flags : handle String validation : works but getting messier all the time
|
2026-01-26 20:35:58 -08:00 |
|
|
|
7dfad8c22e
|
flags : IsHelp method
|
2026-01-26 19:51:45 -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 |
|
|
|
66880a32d9
|
zk
|
2026-01-23 09:48:21 -08:00 |
|
|
|
03a08e8b42
|
tag : include newline in Grow
|
2026-01-22 19:29:27 -08:00 |
|
|
|
a83b7c03ad
|
tag : fix tests until i care to upgrade
|
2026-01-22 13:36:41 -08:00 |
|
|
|
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 |
|