We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffea345 commit 8a06abbCopy full SHA for 8a06abb
1 file changed
docs/src/v2cli/show.md
@@ -34,3 +34,33 @@ $ tectonic -X show user-cache-dir
34
$ tectonic -X show user-cache-dir
35
C:\Users\knuth\AppData\Local\TectonicProject\Tectonic # Windows
36
```
37
+
38
39
+## tectonic -X show metadata
40
41
+Read metadata from the current workspace. Great for automated scripts!
42
43
+#### Usage Synopsis
44
45
+Given a `Tectonic.toml` that contains the following:
46
47
+```toml
48
+[doc.metadata]
49
+title = "Title"
50
+arr = [1, 2, [6, 7]]
51
+```
52
53
54
+```sh
55
+$ tectonic -X show metadata title
56
+Title
57
58
+$ tectonic -X show metadata arr.len
59
+3
60
61
+$ tectonic -X show metadata arr.2.0
62
+6
63
64
65
+Note that `tectonic -X show metadata arr` returns an error.
66
+Lists and tables may not be accessed directly.
0 commit comments