texlive[71081] Master/tlpkg/doc/json-formats.txt: tlmgr search
commits+preining at tug.org
commits+preining at tug.org
Fri Apr 26 01:13:22 CEST 2024
Revision: 71081
https://tug.org/svn/texlive?view=revision&revision=71081
Author: preining
Date: 2024-04-26 01:13:22 +0200 (Fri, 26 Apr 2024)
Log Message:
-----------
tlmgr search --json: document json format in json-formats.txt
Modified Paths:
--------------
trunk/Master/tlpkg/doc/json-formats.txt
Modified: trunk/Master/tlpkg/doc/json-formats.txt
===================================================================
--- trunk/Master/tlpkg/doc/json-formats.txt 2024-04-25 22:46:13 UTC (rev 71080)
+++ trunk/Master/tlpkg/doc/json-formats.txt 2024-04-25 23:13:22 UTC (rev 71081)
@@ -156,3 +156,17 @@
TLSEARCH
--------
+A hash with two keys, "packages" and "files".
+Value for "packages" is a hash with <pkg> -> <shortdescription>.
+Value for "files" is a hash with <pkg> -> array of matching files
+{
+ "packages": {
+ "<PKG1>": "<SHORTDESC1>",
+ ...
+ },
+ "files": {
+ "<PKG1>": [ "<FILE1>", ... ],
+ ...
+ }
+}
+
More information about the tex-live-commits
mailing list.