diff --git a/command/crypto/key/format.go b/command/crypto/key/format.go index eac57d36e..4be2f8318 100644 --- a/command/crypto/key/format.go +++ b/command/crypto/key/format.go @@ -13,6 +13,7 @@ import ( "github.com/pkg/errors" "github.com/urfave/cli" + "github.com/smallstep/cli-utils/command" "github.com/smallstep/cli-utils/errs" "github.com/smallstep/cli-utils/fileutil" "github.com/smallstep/cli-utils/ui" @@ -27,7 +28,7 @@ import ( func formatCommand() cli.Command { return cli.Command{ Name: "format", - Action: cli.ActionFunc(formatAction), + Action: command.ActionFunc(formatAction), Usage: `reformat a public or private key`, UsageText: `**step crypto key format** [**--out**=]`, Description: `**step crypto key format** prints or writes the key in