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

@@ -17,6 +17,7 @@ import (
"sync"
"time"
"github.com/hashicorp/cli"
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-secure-stdlib/gatedwriter"
"github.com/hashicorp/go-secure-stdlib/strutil"
@@ -26,7 +27,6 @@ import (
"github.com/hashicorp/vault/sdk/helper/logging"
"github.com/hashicorp/vault/version"
"github.com/mholt/archiver/v3"
"github.com/mitchellh/cli"
"github.com/oklog/run"
"github.com/posener/complete"
)