git.bth.moi/bth/um

This commit is contained in:
bth 2026-09-06 16:55:46 -07:00
commit eb6b019e74
11 changed files with 31 additions and 29 deletions

View file

@ -9,9 +9,9 @@ import (
"regexp"
"strings"
"github.com/brtholomy/um/go/cmd"
"github.com/brtholomy/um/go/flags"
"github.com/brtholomy/um/go/pipe"
"git.bth.moi/bth/um/cmd"
"git.bth.moi/bth/um/flags"
"git.bth.moi/bth/um/pipe"
)
const (

View file

@ -7,7 +7,7 @@ import (
"strings"
"text/tabwriter"
"github.com/brtholomy/um/go/cmd"
"git.bth.moi/bth/um/cmd"
)
type HelpError struct {

3
go.mod
View file

@ -2,9 +2,10 @@ module git.bth.moi/bth/um
go 1.25.4
require github.com/stretchr/testify v1.11.1
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.11.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

1
go.sum
View file

@ -4,6 +4,7 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

View file

@ -6,8 +6,8 @@ import (
"log"
"path/filepath"
"github.com/brtholomy/um/go/cmd"
"github.com/brtholomy/um/go/flags"
"git.bth.moi/bth/um/cmd"
"git.bth.moi/bth/um/flags"
)
const (

View file

@ -7,11 +7,11 @@ import (
"os"
"strings"
"github.com/brtholomy/um/go/cat"
"github.com/brtholomy/um/go/cmd"
"github.com/brtholomy/um/go/flags"
"github.com/brtholomy/um/go/next"
"github.com/brtholomy/um/go/pipe"
"git.bth.moi/bth/um/cat"
"git.bth.moi/bth/um/cmd"
"git.bth.moi/bth/um/flags"
"git.bth.moi/bth/um/next"
"git.bth.moi/bth/um/pipe"
)
const (

View file

@ -10,9 +10,9 @@ import (
"strings"
"time"
"github.com/brtholomy/um/go/cmd"
"github.com/brtholomy/um/go/flags"
"github.com/brtholomy/um/go/last"
"git.bth.moi/bth/um/cmd"
"git.bth.moi/bth/um/flags"
"git.bth.moi/bth/um/last"
)
const (

View file

@ -8,9 +8,9 @@ import (
"slices"
"strings"
"github.com/brtholomy/um/go/cmd"
"github.com/brtholomy/um/go/flags"
"github.com/brtholomy/um/go/pipe"
"git.bth.moi/bth/um/cmd"
"git.bth.moi/bth/um/flags"
"git.bth.moi/bth/um/pipe"
)
const (

View file

@ -10,7 +10,7 @@ import (
"strings"
"time"
"github.com/brtholomy/um/go/pipe"
"git.bth.moi/bth/um/pipe"
)
const (

View file

@ -6,9 +6,9 @@ import (
"log"
"os"
"github.com/brtholomy/um/go/cmd"
"github.com/brtholomy/um/go/flags"
"github.com/brtholomy/um/go/last"
"git.bth.moi/bth/um/cmd"
"git.bth.moi/bth/um/flags"
"git.bth.moi/bth/um/last"
)
const (

14
um.go
View file

@ -5,13 +5,13 @@ import (
"log"
"os"
"github.com/brtholomy/um/go/cat"
"github.com/brtholomy/um/go/cmd"
"github.com/brtholomy/um/go/last"
"github.com/brtholomy/um/go/mv"
"github.com/brtholomy/um/go/next"
"github.com/brtholomy/um/go/sort"
"github.com/brtholomy/um/go/tag"
"git.bth.moi/bth/um/cat"
"git.bth.moi/bth/um/cmd"
"git.bth.moi/bth/um/last"
"git.bth.moi/bth/um/mv"
"git.bth.moi/bth/um/next"
"git.bth.moi/bth/um/sort"
"git.bth.moi/bth/um/tag"
)
var helpShort string = fmt.Sprintf("um [%s | %s | %s | %s | %s | %s | %s]", cmd.Next, cmd.Last, cmd.Tag, cmd.Cat, cmd.Sort, cmd.Mv, cmd.Help)