gitmap
bởi 14-tr
Web & Frontend DevelopmentTóm tắt
Version control for ArcGIS web maps — exposed as native OpenClaw tools.
Mô tả
Kỹ năng này làm gì
GitMap wraps the `gitmap` CLI to expose Git-like version control for ArcGIS web maps as callable tools. It covers branch, commit, diff, push/pull, and map discovery against ArcGIS Online and Enterprise Portal. No local database is required.
ArcGIS Online has no native version history for web maps; GitMap adds branching, diffing, and commit history without requiring a local database.
Khi nào nên dùng
- Tracking layer symbology changes before publishing to Portal
- Creating feature branches for experimental basemap updates
- Reviewing commit history of a shared team web map
- Syncing local map edits back to ArcGIS Online
- Discovering and filtering web maps owned by a specific user
Quy trình ví dụ
User asks: Commit my current web map edits and push them to Portal
- 1
Calls gitmap_status to show what changed in the local repo
- 2
Calls gitmap_commit with the user's message to snapshot the current map state
- 3
Calls gitmap_push to sync committed changes to ArcGIS Portal
Status summary, commit hash confirmation, and push result indicating the map is up to date on Portal
Yêu cầu
- gitmap-core Python package (pip install gitmap-core)
- ArcGIS Online or Enterprise Portal account
- PORTAL_URL environment variable
- ARCGIS_USERNAME environment variable
- ARCGIS_PASSWORD environment variable (scoped API token preferred)
Cài đặt
clawhub install 14-tr/gitmapChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.