github.com/sleungcy-sap/cli@v7.1.0+incompatible/command/display_not_logged_in.go (about)

     1  package command
     2  
     3  import "fmt"
     4  
     5  func DisplayNotLoggedInText(binaryName string, ui UI) {
     6  	ui.DisplayText("Not logged in. Use '{{.CFLoginCommand}}' or '{{.CFLoginCommandSSO}}' to log in.",
     7  		map[string]interface{}{
     8  			"CFLoginCommand":    fmt.Sprintf("%s login", binaryName),
     9  			"CFLoginCommandSSO": fmt.Sprintf("%s login --sso", binaryName),
    10  		})
    11  }