หน้านี้ถูกแปลด้วยเครื่อง อ่านต้นฉบับภาษาอังกฤษ
aggrega version
aggrega version พิมพ์aggrega
เอาต์พุต
โดยaggrega version พิมพ์
เมื่อ-o json คำaggrega ใช้
{ "version": "1.2.3", "committed": "2026-07-09T18:07:57Z", "commit": "a1b2c3d", "abiVersion": "v1beta1", "goVersion": "go1.23.0", "platform": "linux/amd64"}ฟิลด์committed คือabiVersion คือ(devel)) แทนที่
เมื่อใดควรใช้ -o json
- ส่วน
ขยาย ตัว แก้ไข เปรียบ เทียบ เวอร์ชัน ที่ daemon รายงาน กับ เวอร์ชัน ที่ ส่วน ขยาย ถูก บิลด์ มา เพื่อ ใช้ ด้วย เพื่อ ตรวจ จับ ไบนารี aggrega serveที่เข้า กัน ไม่ ได้ ก่อน สั่ง งาน ไบนารี นั้น - เครื่อง
มือ CI และ เครื่อง มือ ด้าน ที่มา บันทึก บิลด์ ของ คอมไพเลอร์ ที่ ผลิต อาร์ติแฟกต์ นั้น อย่าง แม่นยำ
ดูเพิ่มเติม
- ./aggrega-serve.md — daemon ที่
ไคลเอนต์ ตรวจ สอบ เวอร์ชัน เพื่อ ดู ความ เข้า กัน ได้
รูป
aggrega version [flags]คำ
Print the aggrega CLI's build identity.
By default the output is a single human-readable line followed by aone-line pointer to the plugins compiled into the binary. With-o json, the output is a structured JSON object suitable forprogrammatic consumption (the VS Code extension uses this form toread the binary's version at activation time), in the same indentedshape every aggrega command's JSON output uses.
With --verbose, the output replaces the pointer line with a table ofthe embedded plugins — type, name, served capabilities, and commit —under a header naming the count and their shared version. With--verbose -o json, the JSON object gains an embeddedPlugins arraycarrying the same detail.
With --licenses, the output is the third-party notices of everythingcompiled into the binary: the host and each embedded plugin, everydependency with its version, license and copyright lines, then eachlicense text once. It is printed as plain text, so --licenses cannot becombined with -o json or --verbose.
Version strings are v-less (1.0.0, not v1.0.0), homogeneous with theversion form catalog entities use. Tagged release builds report therelease version, a build stamped with a version reports that version,and a build carrying no version stamp reports the literal "(devel)",which marks an unreleased build.แฟล็ก
| แฟล็ก | ค่า | คำ |
|---|---|---|
--licenses | false | พิมพ์ |
--output, -o | text | รูป |
--verbose | false | รวม |