Command-line reference
ggsvelte-render reads PortableSpec JSON and writes
deterministic SVG. Its option list below comes from the same package-private
registry as argument parsing and --help.
Input and output
Pass one JSON file or omit it to read stdin. SVG is the only stdout output.
ggsvelte-render spec.json > chart.svg 2> diagnostics.jsonlErrors, warnings, and advisories are JSON Lines on stderr.
Options
Exit codes
- 0
- Rendered successfully.
- 1
- The pipeline or renderer failed after structural validation.
- 2
- Usage, input, file, or JSON parsing failed.
- 3
- The PortableSpec failed validation.
Troubleshooting
Keep stdout and stderr separate. Search the source-qualified code in the Errors reference, correct the input, and rerun the same command.