Skip to content

Commit ed0940c

Browse files
committed
update dependencies and migrate cli-log -> cli
1 parent fb64d98 commit ed0940c

File tree

8 files changed

+33
-20
lines changed

8 files changed

+33
-20
lines changed

cmd/add.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import (
44
"os"
55

6-
cli "github.com/gesquive/cli-log"
6+
"github.com/gesquive/cli"
77
"github.com/spf13/cobra"
88
)
99

cmd/del.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import (
44
"os"
55

6-
cli "github.com/gesquive/cli-log"
6+
"github.com/gesquive/cli"
77
"github.com/spf13/cobra"
88
)
99

cmd/edit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cmd
22

33
import (
4-
cli "github.com/gesquive/cli-log"
4+
"github.com/gesquive/cli"
55
"github.com/spf13/cobra"
66
"os"
77
)

cmd/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cmd
22

33
import (
4-
cli "github.com/gesquive/cli-log"
4+
"github.com/gesquive/cli"
55
"github.com/gesquive/git-user/git"
66
"github.com/spf13/cobra"
77
"path/filepath"

cmd/rem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cmd
22

33
import (
4-
cli "github.com/gesquive/cli-log"
4+
"github.com/gesquive/cli"
55
"github.com/gesquive/git-user/git"
66
"github.com/spf13/cobra"
77
"os"

cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66

7-
cli "github.com/gesquive/cli-log"
7+
"github.com/gesquive/cli"
88
"github.com/gesquive/git-user/git"
99
"github.com/gesquive/git-user/user"
1010
"github.com/spf13/cobra"
@@ -66,7 +66,7 @@ func init() {
6666

6767
func initConfig() {
6868
if logDebug {
69-
cli.SetLogLevel(cli.LevelDebug)
69+
cli.SetPrintLevel(cli.LevelDebug)
7070
}
7171
if showVersion {
7272
cli.Info(displayVersion)

cmd/set.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cmd
22

33
import (
4-
cli "github.com/gesquive/cli-log"
4+
"github.com/gesquive/cli"
55
"github.com/gesquive/git-user/git"
66
"github.com/spf13/cobra"
77
"os"

glide.lock

Lines changed: 25 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)