fix: remove create first user from the cli message (#6493)

This adjusts our setup to just show the Web UI, since you
can now create everything from there!
This commit is contained in:
Kyle Carberry
2023-03-08 20:54:46 -06:00
committed by GitHub
parent db2bdd1cab
commit 9d40d2ffdc

View File

@ -1044,14 +1044,6 @@ flags, and YAML configuration. The precedence is as follows:
}
}()
hasFirstUser, err := client.HasFirstUser(ctx)
if err != nil {
cmd.Println("\nFailed to check for the first user: " + err.Error())
} else if !hasFirstUser {
cmd.Println("\nGet started by creating the first user (in a new terminal):")
cmd.Println(cliui.Styles.Code.Render("coder login " + cfg.AccessURL.String()))
}
cmd.Println("\n==> Logs will stream in below (press ctrl+c to gracefully exit):")
// Updates the systemd status from activating to activated.
@ -1367,7 +1359,7 @@ func printLogo(cmd *cobra.Command) {
return
}
_, _ = fmt.Fprintf(cmd.OutOrStdout(), "%s - Software development on your infrastucture\n", cliui.Styles.Bold.Render("Coder "+buildinfo.Version()))
_, _ = fmt.Fprintf(cmd.OutOrStdout(), "%s - Your Self-Hosted Remote Development Platform\n", cliui.Styles.Bold.Render("Coder "+buildinfo.Version()))
}
func loadCertificates(tlsCertFiles, tlsKeyFiles []string) ([]tls.Certificate, error) {