MCPcopy Index your code
hub / github.com/coder/coder / PrintLogo

Function PrintLogo

cli/server.go:1685–1694  ·  view source on GitHub ↗

nolint: revive

(inv *serpent.Invocation, daemonTitle string)

Source from the content-addressed store, hash-verified

1683
1684// nolint: revive
1685func 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
1696func loadCertificates(tlsCertFiles, tlsKeyFiles []string) ([]tls.Certificate, error) {
1697 if len(tlsCertFiles) != len(tlsKeyFiles) {

Callers 2

proxyServerMethod · 0.92
ServerMethod · 0.85

Calls 3

BoldFunction · 0.92
VersionFunction · 0.92
isTTYOutFunction · 0.85

Tested by

no test coverage detected