robmathers / WhereAmI

A quick command line tool for OS X to get your geographic coordinates using the CoreLocation framework.
MIT License
197 stars 20 forks source link

JSON output #2

Open gawin opened 9 years ago

gawin commented 9 years ago

Thank you for this useful tool!

Feature request: Would be great if you can print the result in JSON.

jrschumacher commented 9 years ago

It would be nice if there were multiple formats.

whereami -f '{"lon": %LONGITUDE%, "lat": %LATITUDE%}'
whereami -f '{"longitude": %LONGITUDE%, "latitude": %LATITUDE%}'
whereami -f '%LONGITUDE%,%LATITUDE%'
whereami -f 'Longitude,Latitude\n%LONGITUDE%,%LATITUDE%' > whereami.csv
sneak commented 8 years ago

:+1: