https://github.com/kiliankoe/location
🗺 cli to get your device's physical location and output it as json.
https://github.com/kiliankoe/location
cli corelocation location
Last synced: about 1 year ago
JSON representation
🗺 cli to get your device's physical location and output it as json.
- Host: GitHub
- URL: https://github.com/kiliankoe/location
- Owner: kiliankoe
- Created: 2018-02-06T20:47:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-25T12:10:55.000Z (almost 8 years ago)
- Last Synced: 2025-03-30T04:11:16.270Z (about 1 year ago)
- Topics: cli, corelocation, location
- Language: Swift
- Size: 21.5 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🗺 location
Get your device's physical location and output it as json.
```
OVERVIEW: Output your current location
USAGE: location
OPTIONS:
--address, -a
Lookup reverse geocoded address
--follow, -f
Keep polling for new location updates
--help Display available options
```
```
$ location
{"course":-1,"v_accuracy":10,"speed":-1,"longitude":37.3320045,"latitude":-122.0329752,"h_accuracy":65,"timestamp":1529408214.771167,"altitude":151.80}
```
## Installation
Make sure Xcode 9+ is installed first.
```
$ brew tap kiliankoe/location https://github.com/kiliankoe/location.git
$ brew install location
```