chore: anonymize remaining CLI examples and hostnames
Keep public docs/help free of client names and fixed portal URLs.
This commit is contained in:
+1
-1
@@ -308,7 +308,7 @@ func personsFixNamesCmd() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "fix-names",
|
||||
Short: "Strip company annotations from last names; keep companyId link",
|
||||
Long: `Repairs CRM persons whose lastName embeds a company ("Thomsen (Acme)")
|
||||
Long: `Repairs CRM persons whose lastName embeds a company ("Doe (Acme)")
|
||||
or whose firstName is an email. Company belongs on companyId, not in the name.
|
||||
|
||||
With --company-id, only persons linked to that company are scanned.`,
|
||||
|
||||
+2
-1
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
@@ -274,7 +275,7 @@ Best regards`, number, cost)
|
||||
return nil
|
||||
}
|
||||
fmt.Printf("draft %s to=%s subject=%q pdfFileId=%d\n", mid, to, subject, fileID)
|
||||
fmt.Printf("open: https://office.example.com/addons/mail/#drafts\n")
|
||||
fmt.Printf("open: %s/addons/mail/#drafts\n", strings.TrimRight(os.Getenv("ONLYOFFICE_URL"), "/"))
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user