diff --git a/Makefile b/Makefile index 230a5c9..4250054 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,11 @@ push: -git commit -a -s git push +redomod: + rm -f go.* + unset GO111MODULES && go mod init + unset GO111MODULES && go mod tidy + # should update every go dependancy (?) update: git pull diff --git a/args.go b/args.go index cfb8ebb..35e1b8c 100644 --- a/args.go +++ b/args.go @@ -1,4 +1,4 @@ -package cloudflare +package shell // initializes logging and command line options diff --git a/go.mod b/go.mod index 9db1c34..21f770f 100644 --- a/go.mod +++ b/go.mod @@ -3,15 +3,17 @@ module go.wit.com/shell go 1.21.4 require ( - github.com/sirupsen/logrus v1.9.3 github.com/svent/go-nbreader v0.0.0-20150201200112-7cef48da76dc github.com/tmc/scp v0.0.0-20170824174625-f7b48647feef github.com/wercker/journalhook v0.0.0-20230927020745-64542ffa4117 + go.wit.com/log v0.3.1 golang.org/x/crypto v0.17.0 ) require ( github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect + github.com/sirupsen/logrus v1.9.3 // indirect + go.wit.com/spew v0.0.0-20240101141411-c7b8e91573c9 // indirect golang.org/x/sys v0.15.0 // indirect ) diff --git a/go.sum b/go.sum index db8ed0b..bf5735d 100644 --- a/go.sum +++ b/go.sum @@ -18,6 +18,10 @@ github.com/tmc/scp v0.0.0-20170824174625-f7b48647feef h1:7D6Nm4D6f0ci9yttWaKjM1T github.com/tmc/scp v0.0.0-20170824174625-f7b48647feef/go.mod h1:WLFStEdnJXpjK8kd4qKLwQKX/1vrDzp5BcDyiZJBHJM= github.com/wercker/journalhook v0.0.0-20230927020745-64542ffa4117 h1:67A5tweHp3C7osHjrYsy6pQZ00bYkTTttZ7kiOwwHeA= github.com/wercker/journalhook v0.0.0-20230927020745-64542ffa4117/go.mod h1:XCsSkdKK4gwBMNrOCZWww0pX6AOt+2gYc5Z6jBRrNVg= +go.wit.com/log v0.3.1 h1:UXtgJ4dwyWL0Yv4mw6gQnlmrIQU/zz6nClCB7NGKBQs= +go.wit.com/log v0.3.1/go.mod h1:GmsggfsKrqdZdAj26fEOlcTz6qEIazbV33uyuuktvB8= +go.wit.com/spew v0.0.0-20240101141411-c7b8e91573c9 h1:UEX2EzLQPzLTfy/kUFQD7OXtvKn8wk/+jpDOkbl4ff4= +go.wit.com/spew v0.0.0-20240101141411-c7b8e91573c9/go.mod h1:qBpgJXThMMT15vym7/E4Ur9y8oOo2nP7t2RP52QHUNw= golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k= golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=