返回顶部
c

corelocationcli

Get the physical location of your macOS device and print it to stdout.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
69
下载量
0
收藏
概述
安装方式
版本历史

corelocationcli

# CoreLocationCLI Gets the physical location of your device and prints it to standard output. Kill it with CTRL-C. **Note:** Make sure Wi-Fi is turned on, otherwise you will see `kCLErrorDomain error 0`. ## Usage ```bash CoreLocationCLI --help CoreLocationCLI --version CoreLocationCLI [--watch] [--verbose] [--format FORMAT] CoreLocationCLI [--watch] [--verbose] --json ``` | Switch | Description | | ----------------- | ----------------------------------------------- | | `-h`, `--help` | Display help message and exit | | `--version` | Display the program version | | `-w`, `--watch` | Continually print location updates | | `-v`, `--verbose` | Show debugging output | | `-f`, `--format` | Print a string with the specified substitutions | | `-j`, `--json` | Print a JSON object with all available information | ## Format Specifiers Location: `%latitude` `%longitude` `%altitude` `%direction` `%speed` `%h_accuracy` `%v_accuracy` `%time` Reverse geocoding: `%address` `%name` `%isoCountryCode` `%country` `%postalCode` `%administrativeArea` `%subAdministrativeArea` `%locality` `%subLocality` `%thoroughfare` `%subThoroughfare` `%region` `%timeZone` `%time_local` Default format: `%latitude %longitude` ## Examples ```bash CoreLocationCLI # 50.943829 6.941043 CoreLocationCLI --format "%latitude %longitude\n%address" # 50.943829 6.941043 # Kaiser-Wilhelm-Ring 21 # Cologne North Rhine-Westphalia 50672 # Germany CoreLocationCLI --json # {"latitude":"40.141196","longitude":"-75.034815","altitude":"92.00",...} ``` ## Installation ```bash brew install cask corelocationcli ``` ## Gatekeeper First run may be blocked by macOS Gatekeeper. Go to System Settings → Privacy & Security → Security to approve.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 corelocationcli-1776057199 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 corelocationcli-1776057199 技能

通过命令行安装

skillhub install corelocationcli-1776057199

下载 Zip 包

⬇ 下载 corelocationcli v1.0.0

文件大小: 1.59 KB | 发布时间: 2026-4-14 14:31

v1.0.0 最新 2026-4-14 14:31
Initial release of corelocationcli.

- Get the physical location of your macOS device and print it to stdout.
- Supports output in plain text (with customizable format) or JSON.
- Options include: watch mode, verbose/debug output, formatting, and version/help commands.
- Reverse geocoding supported with detailed fields.
- Installation instructions provided for Homebrew.
- Notes on Wi-Fi requirements and macOS Gatekeeper approval included.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部