इसे छोड़कर कंटेंट पर जाएं
AggregaAggregaAggregaAggrega
भाषा चुने: हिन्दी
इस पेज का मशीन अनुवाद किया गया है। मूल अंग्रेज़ी पढ़ें।

aggrega version

aggrega version aggrega CLI का संस्करण प्रिंट करता है।

आउटपुट

डिफ़ॉल्ट रूप से aggrega version मनुष्य-पठनीय संस्करण पंक्ति प्रिंट करता है।

-o json के साथ यह मशीन-पठनीय ऑब्जेक्ट जारी करता है, दो स्पेस से इंडेंट किया हुआ, उसी आकार में जिसका हर aggrega कमांड अपने JSON आउटपुट के लिए उपयोग करता है। इसे JSON पार्सर से पढ़ें; जो उपभोक्ता इसके बजाय टेक्स्ट पर मिलान करता है, उसे मिलान से पहले व्हाइटस्पेस हटा देना चाहिए, क्योंकि फ़ील्ड के नाम अनुबंध हैं और आसपास का लेआउट नहीं।

{
"version": "1.2.3",
"committed": "2026-07-09T18:07:57Z",
"commit": "a1b2c3d",
"abiVersion": "v1beta1",
"goVersion": "go1.23.0",
"platform": "linux/amd64"
}

फ़ील्ड बाइनरी के एम्बेडेड बिल्ड मेटाडेटा से आते हैं। committed कमिट टाइमस्टैम्प है, और यह केवल तभी मौजूद होता है जब बिल्ड ने उसे दर्ज किया हो। abiVersion वह प्लगइन ABI संस्करण है जो बाइनरी बोलती है, जिसे कोई पाइपलाइन किसी प्लगइन को लोड किए बिना प्लगइन संगतता जाँचने के लिए पढ़ सकती है। कोई एम्बेडेड संस्करण न रखने वाला डेवलपमेंट बिल्ड विफल होने के बजाय एक सेंटिनल मान (जैसे (devel)) रिपोर्ट करता है।

-o json का उपयोग कब करें

  • एडिटर एक्सटेंशन डेमन के रिपोर्ट किए गए संस्करण की तुलना उस संस्करण से करता है जिसके लिए वह बनाया गया था, ताकि उसे चलाने से पहले असंगत aggrega serve बाइनरी का पता लगा सके।
  • CI और प्रोवेनेंस टूलिंग वह सटीक कंपाइलर बिल्ड दर्ज करती है जिसने कोई आर्टिफ़ैक्ट बनाया।

यह भी देखें

  • ./aggrega-serve.md — वह डेमन जिसके संस्करण की जाँच कोई क्लाइंट संगतता के लिए करता है।

सारांश

aggrega version [flags]

विवरण

Print the aggrega CLI's build identity.
By default the output is a single human-readable line followed by a
one-line pointer to the plugins compiled into the binary. With
-o json, the output is a structured JSON object suitable for
programmatic consumption (the VS Code extension uses this form to
read the binary's version at activation time), in the same indented
shape every aggrega command's JSON output uses.
With --verbose, the output replaces the pointer line with a table of
the 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 array
carrying the same detail.
With --licenses, the output is the third-party notices of everything
compiled into the binary: the host and each embedded plugin, every
dependency with its version, license and copyright lines, then each
license text once. It is printed as plain text, so --licenses cannot be
combined with -o json or --verbose.
Version strings are v-less (1.0.0, not v1.0.0), homogeneous with the
version form catalog entities use. Tagged release builds report the
release 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.

फ़्लैग

फ़्लैगडिफ़ॉल्टविवरण
--licensesfalseबाइनरी में संकलित हर चीज़ की थर्ड-पार्टी सूचनाएँ प्रिंट करें
--output, -otextआउटपुट फ़ॉर्मेट: text|json।
--verbosefalseआउटपुट में एम्बेडेड-प्लगइन समुच्चय शामिल करें