Switch from mitchellh/cli to hashicorp/cli (#24239)

@mitchellh suggested we fork `cli` and switch to that.

Since we primarily use the interfaces in `cli`, and the new
fork has not changed those, this is (mostly) a drop-in replacement.

A small fix will be necessary for Vault Enterprise, I believe.
This commit is contained in:
Christopher Swenson
2023-12-04 11:05:02 -08:00
committed by GitHub
parent 91ec1a788b
commit 6ed8b88f5f
207 changed files with 217 additions and 221 deletions

View File

@@ -20,6 +20,7 @@ import (
"testing"
"time"
"github.com/hashicorp/cli"
"github.com/hashicorp/go-hclog"
vaultjwt "github.com/hashicorp/vault-plugin-auth-jwt"
logicalKv "github.com/hashicorp/vault-plugin-secrets-kv"
@@ -35,7 +36,6 @@ import (
"github.com/hashicorp/vault/sdk/helper/pointerutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/vault"
"github.com/mitchellh/cli"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)