Advanced usage
July 30, 2016 · View on GitHub
Forever mode --forever
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.
Polling interval --interval
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.
Formatting output --format
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.