this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

flag for checkUser to list invited dids (#168)

authored by

Whyrusleeping and committed by
GitHub
696c2527 aeb8561d

+9
+9
cmd/gosky/admin.go
··· 41 41 &cli.BoolFlag{ 42 42 Name: "raw", 43 43 }, 44 + &cli.BoolFlag{ 45 + Name: "list-invited-dids", 46 + }, 44 47 }, 45 48 ArgsUsage: `[handle]`, 46 49 Action: func(cctx *cli.Context) error { ··· 73 76 74 77 if cctx.Bool("raw") { 75 78 fmt.Println(string(b)) 79 + } else if cctx.Bool("list-invited-dids") { 80 + for _, inv := range rep.Invites { 81 + for _, u := range inv.Uses { 82 + fmt.Println(u.UsedBy) 83 + } 84 + } 76 85 } else { 77 86 var invby string 78 87 if fa := rep.InvitedBy.ForAccount; fa != "" {