M0.9: allow literal dash-prefixed CLI filenames

This commit is contained in:
Mex
2026-10-20 21:25:49 +02:00
committed by GitHub
parent d9c924c3ba
commit df5ffec87b
5 changed files with 68 additions and 15 deletions
+4
View File
@@ -6,6 +6,10 @@ commands, serve MCP and measure performance. Build it with
Bad arguments print usage and exit with code 2; failures exit with 1. The CLI never panics on input.
Put options before `--` to pass a filename beginning with a dash, for example
`figcraft-cli info --json -- --drawing.figcraft`. Every argument after `--` is literal,
including a filename named `--no-system-fonts`.
## Fonts
Text lays out and renders with the same fonts as the desktop app: the fonts built into FigCraft