code: func getPassPhrase(prompt string, i int, passwords []string) string {
  	// non-interactive
  	if len(passwords) > 0 {
  		if i < len(passwords) {
  			return passwords[i]
  		}
  		return passwords[len(passwords)-1]
  	}
  
  	// fallback to interactive mode
  	if prompt != "" {
  		fmt.Println(prompt)
  	}
  	password, err := console.Stdin.PromptPassword("Passphrase: ")
  	if err != nil {
  		utils.Fatalf("Failed to read passphrase: %v", err)
  	}
  	return password
  }
docs: // getPassPhrase retrieves the password associated with bzz account, either by fetching
  // from a list of pre-loaded passwords, or by requesting it interactively from user.