nolint: revive
(inv *serpent.Invocation, daemonTitle string)
| 1683 | |
| 1684 | // nolint: revive |
| 1685 | func PrintLogo(inv *serpent.Invocation, daemonTitle string) { |
| 1686 | // Only print the logo in TTYs. |
| 1687 | if !isTTYOut(inv) { |
| 1688 | return |
| 1689 | } |
| 1690 | |
| 1691 | versionString := cliui.Bold(daemonTitle + " " + buildinfo.Version()) |
| 1692 | |
| 1693 | _, _ = fmt.Fprintf(inv.Stdout, "%s - Your Self-Hosted Remote Development Platform\n", versionString) |
| 1694 | } |
| 1695 | |
| 1696 | func loadCertificates(tlsCertFiles, tlsKeyFiles []string) ([]tls.Certificate, error) { |
| 1697 | if len(tlsCertFiles) != len(tlsKeyFiles) { |
no test coverage detected