Skip to content

Feature request: --avoid-tolls flag for directions command #7

Description

@gabob23

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions