tytanic-run(1)

πŸ“¦ version 0.4.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay bestie, you're reading tytanic-run(1) from the General Commands Manual β€” the tt run command. It compiles and compares tests, and yes, she ate. πŸ’–


✨ SYNOPSIS ✨

tt run [--timestamp] [--warnings] [--diagnostic-format] [--compare]
       [--no-compare] [--max-delta] [--max-deviations] [--dir] [-r|--root]
       [-j|--jobs] [--ppi] [--render-bleed] [--vcs] [--export-ephemeral]
       [--use-embedded-fonts] [--no-export-ephemeral] [--no-use-embedded-fonts]
       [--optimize-refs] [--use-system-fonts] [--no-optimize-refs]
       [--no-use-system-fonts] [-f|--fail-fast] [--font-path]
       [-F|--no-fail-fast] [--package-path] [-e|--expression]
       [--package-cache-path] [--certificate] [-s|--skip] [--color]
       [-S|--no-skip] [-v|--verbose]... [-h|--help] [TEST]

🌸 DESCRIPTION 🌸

Compile and compare tests. That's the whole main-character job, bestie β€” compiling and comparing, no cap. ✨


πŸŽ€ OPTIONS πŸŽ€

  • --timestamp <now|<UNIX_TIMESTAMP>> [default: 0] β€” The timestamp used for compilation. For more info, see https://reproducible-builds.org/specs/source-date-epoch/. May also be specified with the SOURCE_DATE_EPOCH environment variable. ⏰
  • --warnings <WHAT> [default: emit] β€” How to handle warnings. Possible values:
    • ignore: Ignore warnings
    • emit: Emit warnings
    • promote: Promote warnings to errors
  • --diagnostic-format <FORMAT> [default: human] β€” The diagnostic format to use. Possible values:
    • human: Display richly formatted messages showing the source code and context
    • short: Display short single-line diagnostics
  • --compare β€” Compare tests if they have references (default). πŸ’…
  • --no-compare β€” Don't compare tests.
  • --max-delta <MAX_DELTA> β€” The maximum allowed delta per pixel. If a single channel (red/green/blue/alpha component) of a pixel differs by more than this much between reference and output the pixel is counted as a deviation. Defaults to 1, can be configured in the manifest. πŸ”
  • --max-deviations <MAX_DEVIATIONS> β€” The maximum allowed deviations per comparison. If a reference and output image have more than this, then it is counted as a comparison failure. Defaults to 0, can be configured in the manifest. 😭
  • --dir <DIR> β€” The document direction. This is used to correctly align images with different dimensions when generating diff images. Defaults to ltr, can be configured in the manifest. Possible values:
    • ltr: The document is read left-to-right
    • rtl: The document is read right-to-left
  • -r, --root <ROOT> β€” The project root directory. If none is given, then the first ancestor with a typst.toml is used. May also be specified with the TYPST_ROOT environment variable. 🌱
  • -j, --jobs <JOBS> β€” The number of threads to use for compilation.
  • --ppi <PPI> β€” The pixel-per-inch value to use for export. Defaults to 144.0, can be configured in the manifest. πŸ–ΌοΈ
  • --render-bleed <RENDER_BLEED> β€” Whether the rendered export should have its bleed regions rendered. Defaults to false, can be configured in the manifest. Possible values:
    • true
    • false
  • --vcs <VCS> [default: auto] β€” The version control system to use. Possible values:
    • auto: Auto detect the VCS from the current directory
    • git: Git
    • sapling: A git-compatible VCS developed at Meta
    • jujutsu: A git-compatible VCS
  • --export-ephemeral β€” Export ephemeral documents (default). Ephemeral documents are those which are created for each test run, i.e. non-persistent ones. 🫧
  • --no-export-ephemeral β€” Don't export temporaries.
  • --optimize-refs β€” Optimize persistent references (default). ✨
  • --no-optimize-refs β€” Don't optimize persistent references.
  • -f, --fail-fast β€” Abort after the first test failure (default). πŸ’€
  • -F, --no-fail-fast β€” Don't abort after the first test failure.
  • -e, --expression <EXPR> β€” A test set expression for filtering tests. See the language reference and guide at https://typst-community.github.io/tytanic/index.html for more info. 🧚
  • -s, --skip β€” Automatically remove skipped tests from test sets (default). Equivalent to wrapping the test set expression in (...) ~ skip(). 🌈
  • -S, --no-skip β€” Don't automatically remove skipped tests from test sets.
  • -h, --help β€” Print help (see a summary with -h).
  • [TEST] β€” The tests to operate on. This will always ignore the [skip] annotation and fail if a test can't be found. πŸ”₯

πŸ¦‹ FONT OPTIONS πŸ¦‹

  • --use-embedded-fonts β€” Use embedded fonts (default). πŸŽ€
  • --no-use-embedded-fonts β€” Don't use embedded fonts.
  • --use-system-fonts β€” Use system fonts.
  • --no-use-system-fonts β€” Don't use system fonts (default).
  • --font-path <DIR> β€” Add a directory to read fonts from (can be repeated). May also be specified with the TYPST_FONT_PATHS environment variable. πŸ’–

πŸ“ PACKAGE OPTIONS πŸ“

  • --package-path <DIR> β€” Custom path to local packages, defaults to system-dependent location. May also be specified with the TYPST_PACKAGE_PATH environment variable. πŸ“¦
  • --package-cache-path <DIR> β€” Custom path to package cache, defaults to system-dependent location. May also be specified with the TYPST_PACKAGE_CACHE_PATH environment variable. πŸ—‚οΈ
  • --certificate <CERTIFICATE> β€” Path to a custom CA certificate to use when making network requests. May also be specified with the TYPST_CERT environment variable. πŸ”

🌈 OUTPUT OPTIONS 🌈

  • --color[=<WHEN>] [default: auto] β€” When to use colorful output. If set to auto, color will only be enabled if a capable terminal is detected. Possible values:
    • auto
    • always
    • never
  • -v, --verbose β€” Produce more logging output [-v ... -vvvvv]. Logs are written to stderr, the increasing number of verbose flags corresponds to the log levels ERROR, WARN, INFO, DEBUG, TRACE. πŸ‘‘

okay that's the whole tytanic-run(1) page, bestie πŸ’– the footer just gives us run and tytanic-run(1) β€” no source version or date listed, so no extra lore there. mwah! πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from