Commit graph um/cat
Author SHA1 Message Date
bth
eb6b019e74 git.bth.moi/bth/um 2026-09-06 16:55:46 -07:00
bth
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
bth
65ed68460f cat --strip-file-links : handle lists of filenames 2026-07-15 13:52:43 -07:00
bth
dcbfa03251 cat : --strip-file-links 2026-07-15 13:43:50 -07:00
bth
73cc9389df cat : add a leading hr block 2026-07-15 12:52:00 -07:00
bth
3f5d73bf3e help : errors.As : assign to the HelpError constructed at callsite 2026-01-29 11:17:52 -08:00
bth
8fe659a171 help : HelpError holds cmd.Subcommand and summary : NewHelpError constructor 2026-01-29 11:09:55 -08:00
bth
d4015598be flags : return HelpError and print at the callsite 2026-01-29 10:23:11 -08:00
bth
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
bth
14d124b8a6 cat : --keep-header and --keep-title : decapitate by default 2026-01-21 21:20:06 -08:00
bth
a3ea15e3eb cat : --base 2026-01-21 14:11:30 -08:00
bth
5c1aaeeefc cat : TrimSuffix always 2026-01-21 14:04:46 -08:00
bth
63b27faf29 cat : back to the simplicity of strings.Join 2026-01-21 13:25:40 -08:00
bth
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
bth
83ada09fb4 cat : preallocate by os.Stat() on every file first 2026-01-21 12:51:42 -08:00
bth
83c52e3e70 cat : first naive version 2026-01-21 12:43:12 -08:00