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

@@ -18,6 +18,7 @@ import (
"time"
systemd "github.com/coreos/go-systemd/daemon"
"github.com/hashicorp/cli"
ctconfig "github.com/hashicorp/consul-template/config"
log "github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-multierror"
@@ -42,7 +43,6 @@ import (
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/version"
"github.com/kr/pretty"
"github.com/mitchellh/cli"
"github.com/oklog/run"
"github.com/posener/complete"
"golang.org/x/text/cases"