When the PokéVision API is down, the CLI will exit. If you wish to keep the CLI running "forever", add the --forever
flag.
Beware of this mode, as it will swallow potentially useful error information.
By default the CLI will poll the location on the PokéVision API every 30 seconds. To change it to be a longer interval, simply pass the number of seconds to the --interval
flag.
The CLI will not allow you to specify an interval any lower than 30 seconds.
You can customise the output of the console by passing a valid text/template
string into the --format
flag.
For example: --format="{{.Name}} ({{.Distance}}m)
would output something like Pidgey (55m)
.
The root pipeline is the PokemonMeta
struct.