tytanic-new(1)

πŸ“¦ version 0.4.1, in nixpkgs unstable

πŸ’– tytanic-new(1) πŸ’–

okay so this is the tytanic-new page from the General Commands Manual, section 1. Bestie, it’s literally the β€œmake a new test” command, and it’s giving fresh test energy. ✨


🌸 NAME 🌸

tytanic-new β€” create a new test. That’s the whole assignment, no cap. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

tt new [-k|--type] [-P|--persistent] [-E|--ephemeral]
[-C|--compile-only] [--template] [--no-template] [--timestamp]
[-r|--root] [--warnings] [--diagnostic-format] [-j|--jobs] [--dir]
[--vcs] [--ppi] [--use-embedded-fonts] [--no-use-embedded-fonts]
[--render-bleed] [--export-ephemeral] [--use-system-fonts]
[--no-export-ephemeral] [--no-use-system-fonts] [--font-path]
[--optimize-refs] [--no-optimize-refs] [--package-path]
[--package-cache-path] [--certificate] [--color] [-v|--verbose]...
[-h|--help] <NAME>

✨ DESCRIPTION ✨

Create a new test. Literally that’s the vibe: new test, brand-new test, test creation moment. 🫢

πŸ‘‘ OPTIONS πŸ‘‘

  • -k, --type <KIND> [default: persistent] β€” picks what kind of test you’re making. Possible values:
    • persistent β€” create a persistent test
    • ephemeral β€” create an ephemeral test
    • compile-only β€” create a compile-only test
  • -P, --persistent β€” shorthand for --type=persistent. easy mode ✨
  • -E, --ephemeral β€” shorthand for --type=ephemeral. πŸŒ€
  • -C, --compile-only β€” shorthand for --type=compile-only. πŸ”₯
  • --template β€” use the template (this is the default). πŸŽ€
  • --no-template β€” don’t use the template. πŸ™…
  • --timestamp <now|<UNIX_TIMESTAMP>> [default: 0] β€” the timestamp used for compilation. for more information, see https://reproducible-builds.org/specs/source-date-epoch/. may also be specified with the SOURCE_DATE_EPOCH environment variable. πŸ•°οΈ
  • -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. 🌱
  • --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
  • -j, --jobs <JOBS> β€” the number of threads to use for compilation. ⚑
  • --dir <DIR> β€” the document direction. this is used to correctly align images with different dimensions when generating diff images. defaults to ltr, and can be configured in the manifest. Possible values:
    • ltr β€” the document is read left-to-right
    • rtl β€” the document is read right-to-left
  • --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
  • --ppi <PPI> β€” the pixel-per-inch value to use for export. defaults to 144.0, and can be configured in the manifest. 🎨
  • --render-bleed <RENDER_BLEED> β€” whether the rendered export should have its bleed regions rendered. defaults to false, and can be configured in the manifest. Possible values:
    • true
    • false
  • --export-ephemeral β€” export ephemeral documents (this is the 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 (this is the default). ✨
  • --no-optimize-refs β€” don’t optimize persistent references. 🚫
  • -h, --help β€” print help (see a summary with -h). πŸ†˜
  • <NAME> β€” the name of the new test. this is the star of the show, bestie. 🌟

πŸŽ€ FONT OPTIONS πŸŽ€

  • --use-embedded-fonts β€” use embedded fonts (this is the 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 (this is the 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, and the increasing number of verbose flags corresponds to the log levels ERROR, WARN, INFO, DEBUG, TRACE. πŸ—£οΈ

πŸ’– cute sign-off: footer deets are source/version new, manual tytanic-new(1), and no date was listed on the original footer β€” so I’m not inventing one, bestie. mwah! πŸ’–

πŸ“¦ where this page comes from