We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff3ec69 commit 93249bcCopy full SHA for 93249bc
1 file changed
cmd/contacts.go
@@ -55,17 +55,16 @@ var contactsFindCmd = &cobra.Command{
55
}
56
57
w := newTableWriter(cmd.OutOrStdout())
58
- fmt.Fprintln(w, "ID\tEMAIL\tFIRST NAME\tLAST NAME\tSUBSCRIBED\tSOURCE\tUSER GROUP\tUSER ID\tOPT-IN STATUS")
+ fmt.Fprintln(w, "USER ID\tEMAIL\tFIRST NAME\tLAST NAME\tSUBSCRIBED\tSOURCE\tUSER GROUP\tOPT-IN STATUS")
59
for _, c := range contacts {
60
- fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",
61
- c.ID,
+ fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",
+ deref(c.UserID),
62
c.Email,
63
deref(c.FirstName),
64
deref(c.LastName),
65
strconv.FormatBool(c.Subscribed),
66
c.Source,
67
c.UserGroup,
68
- deref(c.UserID),
69
deref(c.OptInStatus),
70
)
71
0 commit comments