Interactively go through your bluesky follow graph and decide to keep or remove follow records
0
fork

Configure Feed

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

Ask for user input until a valid input is given

yemou c44eec8d 27fceeb2

+4 -2
+4 -2
main.go
··· 234 234 fmt.Printf("Description:\n%s\n\n", *profile.Description) 235 235 fmt.Print("Keep this record ([Y]es / [n]o / [q]uit)? ") 236 236 237 + user_input: 237 238 var answer string 238 239 _, err = fmt.Scanln(&answer) 239 240 if err != nil { ··· 251 252 fmt.Println("Quit") 252 253 return 253 254 default: 254 - // TODO: Replace this, just ask the user again 255 - panic("Input should be either y, n, or q") 255 + fmt.Println("Expected either 'y', 'n', or 'q'") 256 + fmt.Print("Keep this record ([Y]es / [n]o / [q]uit)? ") 257 + goto user_input 256 258 } 257 259 258 260 fmt.Printf("\x1b[2J")