The Google Routes API supports routeModifiers.avoidTolls (and avoidHighways, avoidFerries), but the directions command doesn't expose these options.
It would be great to have flags like:
goplaces directions --from "Paris" --to "Brest" --mode drive --avoid-tolls
This is useful in countries like France where toll vs non-toll routes can have very different costs and travel times.
Reference: https://developers.google.com/maps/documentation/routes/reference/rest/v2/RouteModifiers
Could also be useful to add --avoid-highways and --avoid-ferries while at it, since they're all in the same routeModifiers object.
THANKS
The Google Routes API supports
routeModifiers.avoidTolls(andavoidHighways,avoidFerries), but thedirectionscommand doesn't expose these options.It would be great to have flags like: