Documentation
¶
Overview ¶
The config file (CFG-1..CFG-6): an optional TOML file naming the model folder and the Service's address, and the site's folder, title and base URL. A value the user gave on the command line wins over the file; the file wins over the defaults (CFG-3, CLI-2, CLI-3, CLI-9).
Command sysml-publish builds a static HTML page tree from the AsciiDoc textual representations of a SysML v2 model, which a sysml-grpc service parses and holds (DS-1).
sysml-publish -api ADDR [-config FILE] [-model DIR] [-out DIR] [-v] [-log-format text|json] [-dot CMD]
An optional TOML config file (CFG-1..CFG-6) names the model folder, the service's address and the site's folder, title and base URL; command-line flags win over it.
Everything it reports goes to stderr as structured log records (log/slog): human-readable text by default, JSON with -log-format json.