We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71b8578 + 386207f commit 63286ceCopy full SHA for 63286ce
pkg/cli/root.go
@@ -18,6 +18,7 @@ package cli
18
19
import (
20
"fmt"
21
+ "sort"
22
"strings"
23
24
"github.com/spf13/cobra"
@@ -113,6 +114,8 @@ func (c cli) getPluginTable() string {
113
114
maxPluginKeyLength, pluginKeysHeader, maxProjectVersionLength, projectVersionsHeader))
115
lines = append(lines, strings.Repeat("-", maxPluginKeyLength+2)+"+"+
116
strings.Repeat("-", maxProjectVersionLength+2))
117
+
118
+ sort.Strings(pluginKeys)
119
for i, pluginKey := range pluginKeys {
120
supportedProjectVersions := projectVersions[i]
121
lines = append(lines, fmt.Sprintf(" %[1]*[2]s | %[3]*[4]s",
0 commit comments