Renaming.

This commit is contained in:
Andrey Parhomenko 2023-12-04 13:49:01 +03:00
parent 4a8ba3f6e2
commit aca5d0bd05
4 changed files with 43 additions and 42 deletions

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/omnipunk/tk
module github.com/omnipunk/bb
go 1.18

48
main.go
View file

@ -4,32 +4,32 @@ import (
"fmt"
"github.com/omnipunk/cli/mtool"
"github.com/omnipunk/tk/tool/cat"
"github.com/omnipunk/tk/tool/date"
"github.com/omnipunk/tk/tool/ec"
"github.com/omnipunk/tk/tool/echo"
"github.com/omnipunk/tk/tool/ftest"
"github.com/omnipunk/tk/tool/grange"
"github.com/omnipunk/tk/tool/in"
"github.com/omnipunk/tk/tool/ln"
"github.com/omnipunk/tk/tool/ls"
"github.com/omnipunk/tk/tool/mergelbl"
"github.com/omnipunk/tk/tool/mkdir"
"github.com/omnipunk/tk/tool/paths"
"github.com/omnipunk/tk/tool/quote"
"github.com/omnipunk/tk/tool/read"
"github.com/omnipunk/tk/tool/sort"
"github.com/omnipunk/tk/tool/tac"
"github.com/omnipunk/tk/tool/uniq"
"github.com/omnipunk/tk/tool/urlprs"
"github.com/omnipunk/tk/tool/useprog"
"github.com/omnipunk/tk/tool/wc"
"github.com/omnipunk/tk/tool/whoami"
"github.com/omnipunk/tk/tool/yes"
"github.com/omnipunk/bb/tool/cat"
"github.com/omnipunk/bb/tool/date"
"github.com/omnipunk/bb/tool/ec"
"github.com/omnipunk/bb/tool/echo"
"github.com/omnipunk/bb/tool/ftest"
"github.com/omnipunk/bb/tool/grange"
"github.com/omnipunk/bb/tool/in"
"github.com/omnipunk/bb/tool/ln"
"github.com/omnipunk/bb/tool/ls"
"github.com/omnipunk/bb/tool/mergelbl"
"github.com/omnipunk/bb/tool/mkdir"
"github.com/omnipunk/bb/tool/paths"
"github.com/omnipunk/bb/tool/quote"
"github.com/omnipunk/bb/tool/read"
"github.com/omnipunk/bb/tool/sort"
"github.com/omnipunk/bb/tool/tac"
"github.com/omnipunk/bb/tool/uniq"
"github.com/omnipunk/bb/tool/urlprs"
"github.com/omnipunk/bb/tool/useprog"
"github.com/omnipunk/bb/tool/wc"
"github.com/omnipunk/bb/tool/whoami"
"github.com/omnipunk/bb/tool/yes"
"os"
)
var root = mtool.T("tk").Subs(
var root = mtool.T("bb").Subs(
mtool.T("cat").Func(cat.Run).Desc(
"concatenate files",
).Usage(
@ -120,7 +120,7 @@ var root = mtool.T("tk").Subs(
"print all the environment variables",
),
).Desc(
"ToolKit, BusyBox-like not POSIX-compatible utilities",
"not POSIX compatible BusyBox utilities",
)
func main() {

View file

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"sort"
"github.com/omnipunk/tk/input"
"github.com/omnipunk/bb/input"
"github.com/omnipunk/cli/mtool"
)

View file

@ -5,9 +5,10 @@ import(
"os"
"fmt"
"strings"
"github.com/omnipunk/tk/input"
"github.com/omnipunk/bb/input"
"github.com/omnipunk/cli/mtool"
)
var (
nArg int
)