last : move to its own pkg for sharing of GLOB pattern and --help, slightly overkill but consistent
This commit is contained in:
parent
b69f3aabd0
commit
c2412caba6
6 changed files with 80 additions and 51 deletions
3
um.go
3
um.go
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue