Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: remove promotional branding output

boojack5b2bd74bdbb7
diff --git a/cmd/memos/main.go b/cmd/memos/main.go
index 3cf4202e8..7c6da1933 100644
--- a/cmd/memos/main.go
+++ b/cmd/memos/main.go
@@ -33,7 +33,6 @@ func initSlogDefault() {
var (
rootCmd = &cobra.Command{
Use: "memos",
- Short: `An open source, lightweight note-taking service. Easily capture and share your great thoughts.`,
SilenceErrors: true,
SilenceUsage: true,
RunE: func(_ *cobra.Command, _ []string) error {
@@ -163,7 +162,7 @@ func runServer() error {
}
closeStore = false
- printGreetings(instanceProfile, accessSetting.AccessMode)
+ printServerInfo(instanceProfile, accessSetting.AccessMode)
<-signals
s.Shutdown(context.Background())
return nil
@@ -181,7 +180,7 @@ func privateWebhookAllowlist() []string {
return entries
}
-func printGreetings(profile *profile.Profile, accessMode storepb.InstanceAccessMode) {
+func printServerInfo(profile *profile.Profile, accessMode storepb.InstanceAccessMode) {
fmt.Printf("Memos %s started successfully!\n", profile.Version)
if profile.Demo {
@@ -210,11 +209,6 @@ func printGreetings(profile *profile.Profile, accessMode storepb.InstanceAccessM
accessModeLabel = "public"
}
fmt.Printf("Access mode: %s\n", accessModeLabel)
-
- fmt.Println()
- fmt.Printf("Documentation: %s\n", "https://usememos.com")
- fmt.Printf("Source code: %s\n", "https://github.com/usememos/memos")
- fmt.Println("\nHappy note-taking!")
}
func main() {