Skip to content

Commit 54e11b1

Browse files
committed
refactor: update to pcli v0.4.1
1 parent bed960c commit 54e11b1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/root.go

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func init() {
5757
rootCmd.PersistentFlags().BoolVarP(&pcli.DisableUpdateChecking, "disable-update-checks", "", false, "disables update checks")
5858

5959
// Use https://github.com/pterm/pcli to style the output of cobra.
60+
pcli.SetRepo("pterm/cli-template")
6061
pcli.SetRootCmd(rootCmd)
6162
pcli.Setup()
6263

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/pterm/cli-template
33
go 1.16
44

55
require (
6-
github.com/pterm/pcli v0.4.0
6+
github.com/pterm/pcli v0.4.1
77
github.com/pterm/pterm v0.12.20
88
github.com/spf13/cobra v1.1.3
99
)

0 commit comments

Comments
 (0)