MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / formatUser

Function formatUser

pkg/cmd/space/create/create_test.go:83–85  ·  view source on GitHub ↗
(user *users.User)

Source from the content-addressed store, hash-verified

81}
82
83func formatUser(user *users.User) string {
84 return fmt.Sprintf("%s (%s)", user.DisplayName, output.Dim(user.Username))
85}
86
87func formatTeam(team *teams.Team) string {
88 return fmt.Sprintf("%s %s", team.Name, output.Dimf("(System Team)"))

Callers 1

Calls 1

DimFunction · 0.92

Tested by

no test coverage detected