Skip to content

Commit a2826a9

Browse files
authored
Merge pull request #141 from smallstep/rename-module
Rename module
2 parents ca735cc + 2e5c1ab commit a2826a9

File tree

11 files changed

+27
-18
lines changed

11 files changed

+27
-18
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# cli-utils
22

33
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4-
[![Build Status](https://travis-ci.com/smallstep/crypto.svg?branch=master)](https://travis-ci.com/smallstep/cli-utils)
5-
[![Documentation](https://godoc.org/go.step.sm/crypto?status.svg)](https://pkg.go.dev/mod/go.step.sm/cli-utils)
4+
[![Build Status](https://travis-ci.com/smallstep/cli-utils.svg?branch=main)](https://travis-ci.com/smallstep/cli-utils)
5+
[![Documentation](https://godoc.org/github.com/smallstep/cli-utils?status.svg)](https://pkg.go.dev/mod/github.com/smallstep/cli-utils)
66

7-
Cli-utils is a collection of packages used in [smallstep](https://smallstep.com) products. See:
7+
Cli-utils is a collection of packages used in [Smallstep](https://smallstep.com) products. See:
88

99
* [step](https://github.com/smallstep/cli): A zero trust swiss army knife for
1010
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)
1919
To add this to a project just run:
2020

2121
```sh
22-
go get go.step.sm/cli-utils
22+
go get github.com/smallstep/cli-utils
2323
```

command/command.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import (
44
"os"
55

66
"github.com/urfave/cli"
7-
"go.step.sm/cli-utils/step"
8-
"go.step.sm/cli-utils/usage"
7+
8+
"github.com/smallstep/cli-utils/step"
9+
"github.com/smallstep/cli-utils/usage"
910
)
1011

1112
var cmds []cli.Command

command/version/version.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import (
44
"fmt"
55

66
"github.com/urfave/cli"
7-
"go.step.sm/cli-utils/command"
8-
"go.step.sm/cli-utils/step"
7+
8+
"github.com/smallstep/cli-utils/command"
9+
"github.com/smallstep/cli-utils/step"
910
)
1011

1112
func init() {

fileutil/write.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ import (
1010
"time"
1111

1212
"github.com/pkg/errors"
13-
"go.step.sm/cli-utils/command"
14-
"go.step.sm/cli-utils/ui"
13+
14+
"github.com/smallstep/cli-utils/command"
15+
"github.com/smallstep/cli-utils/ui"
1516
)
1617

1718
var (

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module go.step.sm/cli-utils
1+
module github.com/smallstep/cli-utils
22

33
go 1.22
44

step/context.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ import (
1111

1212
"github.com/pkg/errors"
1313
"github.com/urfave/cli"
14-
"go.step.sm/cli-utils/errs"
15-
"go.step.sm/cli-utils/ui"
14+
15+
"github.com/smallstep/cli-utils/errs"
16+
"github.com/smallstep/cli-utils/ui"
1617
)
1718

1819
// IgnoreEnvVar is a value added to a flag EnvVar to avoid the use of

token/provision/provision.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package provision
22

33
import (
4-
"go.step.sm/cli-utils/token"
54
"go.step.sm/crypto/jose"
5+
6+
"github.com/smallstep/cli-utils/token"
67
)
78

89
// Token defines a one time use token that is intended to be exchanged

token/provision/provision_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ import (
77
"time"
88

99
"github.com/stretchr/testify/assert"
10-
"go.step.sm/cli-utils/token"
10+
1111
"go.step.sm/crypto/jose"
1212
"go.step.sm/crypto/pemutil"
13+
14+
"github.com/smallstep/cli-utils/token"
1315
)
1416

1517
func withFixedTime(tok *Token, t time.Time) {

usage/html.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import (
99
"time"
1010

1111
"github.com/urfave/cli"
12-
"go.step.sm/cli-utils/errs"
12+
13+
"github.com/smallstep/cli-utils/errs"
1314
)
1415

1516
func httpHelpAction(ctx *cli.Context) error {

usage/printer.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import (
1010
"unicode"
1111

1212
"github.com/urfave/cli"
13-
md "go.step.sm/cli-utils/pkg/blackfriday"
13+
14+
md "github.com/smallstep/cli-utils/pkg/blackfriday"
1415
)
1516

1617
var sectionRe = regexp.MustCompile(`(?m:^##)`)

0 commit comments

Comments
 (0)