-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patha2ml.1
More file actions
44 lines (44 loc) · 847 Bytes
/
Copy patha2ml.1
File metadata and controls
44 lines (44 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.TH A2ML 1 "2026-01-26" "0.5.0" "A2ML Manual"
.SH NAME
A2ML \- Attested Markup Language CLI
.SH SYNOPSIS
.B a2ml
<render|validate|ast> <file...|-> [options]
.SH DESCRIPTION
Prototype CLI for parsing, validating, and rendering A2ML.
.SH COMMANDS
.TP
.B render
Render HTML to stdout (or --out).
.TP
.B validate
Validate in checked mode, exit nonzero on errors.
.TP
.B ast
Output JSON surface AST.
.SH OPTIONS
.TP
.B --mode <lax|checked>
Parse mode (default: lax).
.TP
.B --out <path>
Write output to file.
.TP
.B --concat
Concatenate outputs when multiple inputs are provided.
.TP
.B --stdin
Read input from stdin (equivalent to '-').
.TP
.B -h, --help
Show help.
.SH EXAMPLES
.TP
.B a2ml render file.a2ml
Render HTML.
.TP
.B a2ml validate file.a2ml
Validate and exit with status 0/2.
.TP
.B cat file.a2ml | a2ml render - --stdin
Render from stdin.