()
| 60 | ) |
| 61 | |
| 62 | func usage() { |
| 63 | fmt.Fprintf(os.Stderr, |
| 64 | `Usage: pk-devimport <importerType> <accountNodeRef> |
| 65 | |
| 66 | -importerType is one of the supported importers: feed, flickr, foursquare, gphotos, pinboard, plaid, twitter. |
| 67 | -accountNodeRef is the permanode of camliNodeType importerAccount representing the account to import. |
| 68 | `) |
| 69 | } |
| 70 | |
| 71 | func newImporterHost(server string, importerType string) (*importer.Host, error) { |
| 72 | cl := newClient(server) |