We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 542a94c commit 73e8d4aCopy full SHA for 73e8d4a
subcmd/list.go
@@ -7,6 +7,7 @@ import (
7
"os"
8
"path/filepath"
9
10
+ "github.com/fatih/color"
11
"github.com/pkg/errors"
12
"github.com/utahta/pythonbrew/flagset"
13
"github.com/utahta/pythonbrew/log"
@@ -78,9 +79,9 @@ func (c *List) Run(args []string) error {
78
79
for _, f := range fs {
80
var name string
81
if filepath.Join(path.InstallDir(), f.Name()) == current {
- name = fmt.Sprintf("* %s", f.Name())
82
+ name = color.New(color.FgYellow, color.BgBlack).Sprintf("%s", f.Name())
83
} else {
- name = fmt.Sprintf(" %s", f.Name())
84
+ name = fmt.Sprintf("%s", f.Name())
85
}
86
c.log.Printf(name)
87
0 commit comments