Closed jmtellez closed 3 years ago
The following command returns actual data haha!
cli-mate --u=m Dallas
https://api.mapbox.com/geocoding/v5/mapbox.places/--u%3Dm.json?access_token=
Right it's taking the first argument as the location.
We can improve argument parsing using a library like argparse and it will also auto-generate the help menu based on the configs. I'll fork the repo and open a PR making this changes.
Sorry @jsilvaigor. I didn't see your comment and I managed to solve this issue. Please refer to #13
No problem @vzsky
Work on the order on how the location and units are passed. Order should not matter:
both should return the same output: