diff --git a/README.md b/README.md index beb6538..aafdf6d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # cli-utils [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -[![Build Status](https://travis-ci.com/smallstep/crypto.svg?branch=master)](https://travis-ci.com/smallstep/cli-utils) -[![Documentation](https://godoc.org/go.step.sm/crypto?status.svg)](https://pkg.go.dev/mod/go.step.sm/cli-utils) +[![Build Status](https://travis-ci.com/smallstep/cli-utils.svg?branch=main)](https://travis-ci.com/smallstep/cli-utils) +[![Documentation](https://godoc.org/github.com/smallstep/cli-utils?status.svg)](https://pkg.go.dev/mod/github.com/smallstep/cli-utils) -Cli-utils is a collection of packages used in [smallstep](https://smallstep.com) products. See: +Cli-utils is a collection of packages used in [Smallstep](https://smallstep.com) products. See: * [step](https://github.com/smallstep/cli): A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc. @@ -19,5 +19,5 @@ Cli-utils is a collection of packages used in [smallstep](https://smallstep.com) To add this to a project just run: ```sh -go get go.step.sm/cli-utils +go get github.com/smallstep/cli-utils ``` diff --git a/command/command.go b/command/command.go index a51c2ff..5da6e85 100644 --- a/command/command.go +++ b/command/command.go @@ -4,8 +4,9 @@ import ( "os" "github.com/urfave/cli" - "go.step.sm/cli-utils/step" - "go.step.sm/cli-utils/usage" + + "github.com/smallstep/cli-utils/step" + "github.com/smallstep/cli-utils/usage" ) var cmds []cli.Command diff --git a/command/version/version.go b/command/version/version.go index 69cd272..06f2663 100644 --- a/command/version/version.go +++ b/command/version/version.go @@ -4,8 +4,9 @@ import ( "fmt" "github.com/urfave/cli" - "go.step.sm/cli-utils/command" - "go.step.sm/cli-utils/step" + + "github.com/smallstep/cli-utils/command" + "github.com/smallstep/cli-utils/step" ) func init() { diff --git a/fileutil/write.go b/fileutil/write.go index fd8b2cb..ba8194b 100644 --- a/fileutil/write.go +++ b/fileutil/write.go @@ -10,8 +10,9 @@ import ( "time" "github.com/pkg/errors" - "go.step.sm/cli-utils/command" - "go.step.sm/cli-utils/ui" + + "github.com/smallstep/cli-utils/command" + "github.com/smallstep/cli-utils/ui" ) var ( diff --git a/go.mod b/go.mod index d3f95d7..775fa40 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.step.sm/cli-utils +module github.com/smallstep/cli-utils go 1.22 diff --git a/step/context.go b/step/context.go index 0372fc9..c4f7e4e 100644 --- a/step/context.go +++ b/step/context.go @@ -11,8 +11,9 @@ import ( "github.com/pkg/errors" "github.com/urfave/cli" - "go.step.sm/cli-utils/errs" - "go.step.sm/cli-utils/ui" + + "github.com/smallstep/cli-utils/errs" + "github.com/smallstep/cli-utils/ui" ) // IgnoreEnvVar is a value added to a flag EnvVar to avoid the use of diff --git a/token/provision/provision.go b/token/provision/provision.go index 2bd3d92..1c1e723 100644 --- a/token/provision/provision.go +++ b/token/provision/provision.go @@ -1,8 +1,9 @@ package provision import ( - "go.step.sm/cli-utils/token" "go.step.sm/crypto/jose" + + "github.com/smallstep/cli-utils/token" ) // Token defines a one time use token that is intended to be exchanged diff --git a/token/provision/provision_test.go b/token/provision/provision_test.go index 3751820..821d427 100644 --- a/token/provision/provision_test.go +++ b/token/provision/provision_test.go @@ -7,9 +7,11 @@ import ( "time" "github.com/stretchr/testify/assert" - "go.step.sm/cli-utils/token" + "go.step.sm/crypto/jose" "go.step.sm/crypto/pemutil" + + "github.com/smallstep/cli-utils/token" ) func withFixedTime(tok *Token, t time.Time) { diff --git a/usage/html.go b/usage/html.go index 7ea8fd0..b2aaeb8 100644 --- a/usage/html.go +++ b/usage/html.go @@ -9,7 +9,8 @@ import ( "time" "github.com/urfave/cli" - "go.step.sm/cli-utils/errs" + + "github.com/smallstep/cli-utils/errs" ) func httpHelpAction(ctx *cli.Context) error { diff --git a/usage/printer.go b/usage/printer.go index 2fbdeed..0a09680 100644 --- a/usage/printer.go +++ b/usage/printer.go @@ -10,7 +10,8 @@ import ( "unicode" "github.com/urfave/cli" - md "go.step.sm/cli-utils/pkg/blackfriday" + + md "github.com/smallstep/cli-utils/pkg/blackfriday" ) var sectionRe = regexp.MustCompile(`(?m:^##)`) diff --git a/usage/renderer.go b/usage/renderer.go index eff2743..7fb1506 100644 --- a/usage/renderer.go +++ b/usage/renderer.go @@ -12,7 +12,7 @@ import ( "github.com/mgutz/ansi" - md "go.step.sm/cli-utils/pkg/blackfriday" + md "github.com/smallstep/cli-utils/pkg/blackfriday" ) // Render renders the given data with a custom markdown renderer.