diff --git a/cmd/tfplugingen-framework/main.go b/cmd/tfplugingen-framework/main.go index 1d240e80..2d74e6d5 100644 --- a/cmd/tfplugingen-framework/main.go +++ b/cmd/tfplugingen-framework/main.go @@ -8,8 +8,8 @@ import ( "io" "os" + "github.com/hashicorp/cli" "github.com/mattn/go-colorable" - "github.com/mitchellh/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/cmd" ) diff --git a/go.mod b/go.mod index 6824a618..44fd775f 100644 --- a/go.mod +++ b/go.mod @@ -4,10 +4,10 @@ go 1.21 require ( github.com/google/go-cmp v0.6.0 + github.com/hashicorp/cli v1.1.6 github.com/hashicorp/terraform-plugin-codegen-spec v0.1.1-0.20231024091233-c659ac8a54fc github.com/hashicorp/terraform-plugin-framework v1.4.2 github.com/mattn/go-colorable v0.1.13 - github.com/mitchellh/cli v1.1.5 ) require ( @@ -16,7 +16,7 @@ require ( github.com/Masterminds/sprig/v3 v3.2.3 // indirect github.com/armon/go-radix v1.0.0 // indirect github.com/bgentry/speakeasy v0.1.0 // indirect - github.com/fatih/color v1.15.0 // indirect + github.com/fatih/color v1.16.0 // indirect github.com/google/uuid v1.4.0 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-hclog v1.5.0 // indirect diff --git a/go.sum b/go.sum index b3fed3d2..edc23b29 100644 --- a/go.sum +++ b/go.sum @@ -1,13 +1,10 @@ github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0= github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= -github.com/Masterminds/sprig/v3 v3.2.1/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA= github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= @@ -15,18 +12,18 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= -github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= +github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= +github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/hashicorp/cli v1.1.6 h1:CMOV+/LJfL1tXCOKrgAX0uRKnzjj/mpmqNXloRSy2K8= +github.com/hashicorp/cli v1.1.6/go.mod h1:MPon5QYlgjjo0BSoAiN0ESeT5fRzDjVRp+uioJ0piz4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -43,8 +40,6 @@ github.com/hashicorp/terraform-plugin-go v0.19.0 h1:BuZx/6Cp+lkmiG0cOBk6Zps0Cb2t github.com/hashicorp/terraform-plugin-go v0.19.0/go.mod h1:EhRSkEPNoylLQntYsk5KrDHTZJh9HQoumZXbOGOXmec= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= -github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= @@ -55,19 +50,15 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mitchellh/cli v1.1.5 h1:OxRIeJXpAMztws/XHlN2vu6imG5Dpq+j61AzAX5fLng= -github.com/mitchellh/cli v1.1.5/go.mod h1:v8+iFts2sPIKUV1ltktPXMCC8fumSKFItNcD2cLtRR4= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= @@ -78,7 +69,6 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= @@ -94,7 +84,6 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= @@ -110,14 +99,11 @@ github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17 github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= 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/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= @@ -125,7 +111,6 @@ golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -154,6 +139,5 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/internal/cmd/generate.go b/internal/cmd/generate.go index 0acae157..8183636b 100644 --- a/internal/cmd/generate.go +++ b/internal/cmd/generate.go @@ -6,7 +6,7 @@ package cmd import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type GenerateCommand struct { diff --git a/internal/cmd/generate_all.go b/internal/cmd/generate_all.go index a97ed3e3..533f1791 100644 --- a/internal/cmd/generate_all.go +++ b/internal/cmd/generate_all.go @@ -11,8 +11,8 @@ import ( "os" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-spec/spec" - "github.com/mitchellh/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/input" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/validate" diff --git a/internal/cmd/generate_all_test.go b/internal/cmd/generate_all_test.go index 03dc7938..5b0df5a0 100644 --- a/internal/cmd/generate_all_test.go +++ b/internal/cmd/generate_all_test.go @@ -6,7 +6,7 @@ package cmd_test import ( "testing" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/cmd" ) diff --git a/internal/cmd/generate_data_sources.go b/internal/cmd/generate_data_sources.go index d86df23b..5b225477 100644 --- a/internal/cmd/generate_data_sources.go +++ b/internal/cmd/generate_data_sources.go @@ -12,8 +12,8 @@ import ( "os" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-spec/spec" - "github.com/mitchellh/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/datasource" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/format" diff --git a/internal/cmd/generate_data_sources_test.go b/internal/cmd/generate_data_sources_test.go index 83dd85ae..88b792ff 100644 --- a/internal/cmd/generate_data_sources_test.go +++ b/internal/cmd/generate_data_sources_test.go @@ -6,8 +6,8 @@ package cmd_test import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/cmd" - "github.com/mitchellh/cli" ) func TestGenerateDataSourcesCommand(t *testing.T) { diff --git a/internal/cmd/generate_provider.go b/internal/cmd/generate_provider.go index ce8e0993..7e87a241 100644 --- a/internal/cmd/generate_provider.go +++ b/internal/cmd/generate_provider.go @@ -12,8 +12,8 @@ import ( "os" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-spec/spec" - "github.com/mitchellh/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/format" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/input" diff --git a/internal/cmd/generate_provider_test.go b/internal/cmd/generate_provider_test.go index 882a8b33..7c262de7 100644 --- a/internal/cmd/generate_provider_test.go +++ b/internal/cmd/generate_provider_test.go @@ -6,8 +6,8 @@ package cmd_test import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/cmd" - "github.com/mitchellh/cli" ) func TestGenerateProviderCommand(t *testing.T) { diff --git a/internal/cmd/generate_resources.go b/internal/cmd/generate_resources.go index a82d8a6b..4630ecad 100644 --- a/internal/cmd/generate_resources.go +++ b/internal/cmd/generate_resources.go @@ -12,8 +12,8 @@ import ( "os" "strings" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-spec/spec" - "github.com/mitchellh/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/format" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/input" diff --git a/internal/cmd/generate_resources_test.go b/internal/cmd/generate_resources_test.go index a1aad613..15f197d7 100644 --- a/internal/cmd/generate_resources_test.go +++ b/internal/cmd/generate_resources_test.go @@ -6,8 +6,8 @@ package cmd_test import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/cmd" - "github.com/mitchellh/cli" ) func TestGenerateResourcesCommand(t *testing.T) { diff --git a/internal/cmd/scaffold.go b/internal/cmd/scaffold.go index ad582398..7179d014 100644 --- a/internal/cmd/scaffold.go +++ b/internal/cmd/scaffold.go @@ -6,7 +6,7 @@ package cmd import ( "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" ) type ScaffoldCommand struct { diff --git a/internal/cmd/scaffold_data_source.go b/internal/cmd/scaffold_data_source.go index 1350c383..f652ec72 100644 --- a/internal/cmd/scaffold_data_source.go +++ b/internal/cmd/scaffold_data_source.go @@ -12,7 +12,7 @@ import ( "path/filepath" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/output" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/scaffold" diff --git a/internal/cmd/scaffold_data_source_test.go b/internal/cmd/scaffold_data_source_test.go index 67f044b1..670709ec 100644 --- a/internal/cmd/scaffold_data_source_test.go +++ b/internal/cmd/scaffold_data_source_test.go @@ -6,8 +6,8 @@ package cmd_test import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/cmd" - "github.com/mitchellh/cli" ) func TestScaffoldDataSourceCommand(t *testing.T) { diff --git a/internal/cmd/scaffold_provider.go b/internal/cmd/scaffold_provider.go index a58ad43e..3b16d4d2 100644 --- a/internal/cmd/scaffold_provider.go +++ b/internal/cmd/scaffold_provider.go @@ -12,7 +12,7 @@ import ( "path/filepath" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/output" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/scaffold" diff --git a/internal/cmd/scaffold_provider_test.go b/internal/cmd/scaffold_provider_test.go index 6f98ba06..9fb67451 100644 --- a/internal/cmd/scaffold_provider_test.go +++ b/internal/cmd/scaffold_provider_test.go @@ -6,8 +6,8 @@ package cmd_test import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/cmd" - "github.com/mitchellh/cli" ) func TestScaffoldProviderCommand(t *testing.T) { diff --git a/internal/cmd/scaffold_resource.go b/internal/cmd/scaffold_resource.go index 25046f59..a8f8d3be 100644 --- a/internal/cmd/scaffold_resource.go +++ b/internal/cmd/scaffold_resource.go @@ -12,7 +12,7 @@ import ( "path/filepath" "strings" - "github.com/mitchellh/cli" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/output" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/scaffold" diff --git a/internal/cmd/scaffold_resource_test.go b/internal/cmd/scaffold_resource_test.go index 4c04dcad..4bb094ac 100644 --- a/internal/cmd/scaffold_resource_test.go +++ b/internal/cmd/scaffold_resource_test.go @@ -6,8 +6,8 @@ package cmd_test import ( "testing" + "github.com/hashicorp/cli" "github.com/hashicorp/terraform-plugin-codegen-framework/internal/cmd" - "github.com/mitchellh/cli" ) func TestScaffoldResourceCommand(t *testing.T) {