Commit Graph

5 Commits

Author SHA1 Message Date
b985940483 Refactor and fix argument handling
- Move all Typst arguments into the respective Args methods the Options* types
- Simplify the logic in the Caller implementations
- Add docker volume handling for other commands than compile
- Get rid of options_test.go as its test got replaced with the TestCLI_FontsWithFontPaths test
2025-11-16 16:07:00 +00:00
f6b2cda0d5 Clean up options.go 2025-11-16 14:19:06 +00:00
83d5fc35ea Add options to Fonts command 2025-11-16 12:35:13 +00:00
a075fb41bf Rename Options to OptionsCompile as there will be different options for different Typst commands in the future 2025-11-16 12:18:50 +00:00
1294d5f009 Add support for multiple Typst callers
- Add Caller interface type
- Rename CLIOptions to Options
2025-11-15 20:38:58 +01:00