diff --git a/cmd/admin.go b/cmd/admin.go index 362304d..5974889 100644 --- a/cmd/admin.go +++ b/cmd/admin.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" + "github.com/AGLEnergyPublic/tfectl/resources" tfe "github.com/hashicorp/go-tfe" - "tfectl/resources" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" diff --git a/cmd/run.go b/cmd/run.go index 5de5fb6..4f13e4a 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" + "github.com/AGLEnergyPublic/tfectl/resources" tfe "github.com/hashicorp/go-tfe" - "tfectl/resources" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" diff --git a/cmd/team.go b/cmd/team.go index e0fbe67..b850685 100644 --- a/cmd/team.go +++ b/cmd/team.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" + "github.com/AGLEnergyPublic/tfectl/resources" tfe "github.com/hashicorp/go-tfe" - "tfectl/resources" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" diff --git a/cmd/variable.go b/cmd/variable.go index 9d42431..3ce1319 100644 --- a/cmd/variable.go +++ b/cmd/variable.go @@ -8,8 +8,8 @@ import ( "os" "strings" + "github.com/AGLEnergyPublic/tfectl/resources" tfe "github.com/hashicorp/go-tfe" - "tfectl/resources" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" diff --git a/cmd/workspace.go b/cmd/workspace.go index de07540..5fcb2ac 100644 --- a/cmd/workspace.go +++ b/cmd/workspace.go @@ -8,8 +8,8 @@ import ( "sync" "time" + "github.com/AGLEnergyPublic/tfectl/resources" tfe "github.com/hashicorp/go-tfe" - "tfectl/resources" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" diff --git a/go.mod b/go.mod index 00f8e4a..d2155c7 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module tfectl +module github.com/AGLEnergyPublic/tfectl go 1.18 diff --git a/go.sum b/go.sum index 8fee563..782d7a0 100644 --- a/go.sum +++ b/go.sum @@ -24,6 +24,8 @@ github.com/hashicorp/jsonapi v0.0.0-20210826224640-ee7dae0fb22d h1:9ARUJJ1VVynB1 github.com/hashicorp/jsonapi v0.0.0-20210826224640-ee7dae0fb22d/go.mod h1:Yog5+CPEM3c99L1CL2CFCYoSzgWm5vTU58idbRUaLik= github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/itchyny/gojq v0.12.10 h1:6TcS0VYWS6wgntpF/4tnrzwdCMjiTxRAxIqZWfDsDQU= github.com/itchyny/gojq v0.12.10/go.mod h1:o3FT8Gkbg/geT4pLI0tF3hvip5F3Y/uskjRz9OYa38g= github.com/itchyny/timefmt-go v0.1.5 h1:G0INE2la8S6ru/ZI5JecgyzbbJNs5lG1RcBqa7Jm6GE= @@ -49,8 +51,12 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= +golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/time v0.2.0 h1:52I/1L54xyEQAYdtcSuxtiT84KGYTBGXwayxmIpNJhE= golang.org/x/time v0.2.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= +golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 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= diff --git a/main.go b/main.go index 18713df..9df4ab3 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "tfectl/cmd" +import "github.com/AGLEnergyPublic/tfectl/cmd" func main() { cmd.Execute()