tingerrr / typst-test

A test runner for typst projects.
https://tingerrr.github.io/typst-test/
MIT License
27 stars 2 forks source link

FR: Merge `compile` and `run` command #52

Closed tingerrr closed 3 months ago

tingerrr commented 4 months ago

Description

In order to reduce the surface of the CLI, the compile and run command should be merged into one. This reduces the possibility of errors and helps unify the CLI arguments used in both of them.

Proposed Solution

The run command gets a new option called --no-compare which changes the behavior of run to that of compile. Additional options used to configure comparison are ignored.

Alternative Solutions

The commands stay as is.