MCPcopy Create free account
hub / github.com/cli/cli / keyList

Function keyList

script/ghmock/terminal_common.go:52–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func keyList() string {
53 names := make([]string, 0, len(keyNames))
54 for name := range keyNames {
55 names = append(names, "{"+name+"}")
56 }
57 slices.Sort(names)
58 return strings.Join(names, " ")
59}
60
61type terminalStep struct {
62 Keys string `json:"keys"`

Callers 1

parseKeysFunction · 0.85

Calls 1

JoinMethod · 0.80

Tested by

no test coverage detected