last : move to its own pkg for sharing of GLOB pattern and --help, slightly overkill but consistent

This commit is contained in:
bth 2026-01-20 19:55:03 -08:00
commit c2412caba6
6 changed files with 80 additions and 51 deletions

3
um.go
View file

@ -6,6 +6,7 @@ import (
"os"
"github.com/brtholomy/um/go/cmd"
"github.com/brtholomy/um/go/last"
"github.com/brtholomy/um/go/next"
"github.com/brtholomy/um/go/sort"
"github.com/brtholomy/um/go/tag"
@ -38,7 +39,7 @@ func main() {
case cmd.Next:
next.Next(args)
case cmd.Last:
next.Last()
last.Last(args)
case cmd.Tag:
tag.Tag(args)
case cmd.Sort: