code: func printStatus(p *client.ProfileStatus, isActive bool) {
  	var prefix string
  	if isActive {
  		prefix = "> "
  	} else {
  		prefix = "  "
  	}
  	duration := p.ValidUntil.Sub(time.Now())
  	humanDuration := "EXPIRED"
  	if duration.Nanoseconds() > 0 {
  		humanDuration = fmt.Sprintf("valid for %v", duration.Round(time.Minute))
  	}
  
  	fmt.Printf("%vProfile URL:  %v\n", prefix, p.ProxyURL.String())
  	fmt.Printf("  Logged in as: %v\n", p.Username)
  	if p.Cluster != "" {
  		fmt.Printf("  Cluster:      %v\n", p.Cluster)
  	}
  	fmt.Printf("  Roles:        %v*\n", strings.Join(p.Roles, ", "))
  	fmt.Printf("  Logins:       %v\n", strings.Join(p.Logins, ", "))
  	fmt.Printf("  Valid until:  %v [%v]\n", p.ValidUntil, humanDuration)
  	fmt.Printf("  Extensions:   %v\n\n", strings.Join(p.Extensions, ", "))
  }
docs: // printStatus prints the status of the profile.