MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NotLoggedInText

Function NotLoggedInText

cf/terminal/ui.go:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19type ColoringFunction func(value string, row int, col int) string
20
21func NotLoggedInText() string {
22 return T("Not logged in. Use '{{.CFLoginCommand}}' or '{{.CFLoginCommandSSO}}' to log in.", map[string]interface{}{"CFLoginCommand": CommandColor(cf.Name + " " + "login"),
23 "CFLoginCommandSSO": CommandColor(cf.Name + " " + "login --sso")})
24}
25
26//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . UI
27type UI interface {

Callers 2

ExecuteMethod · 0.92
ShowConfigurationMethod · 0.85

Calls 1

CommandColorFunction · 0.85

Tested by

no test coverage detected