Skip to content

Command line

tramme validate <doc> structure, references, types, plugins included
tramme check <doc> [--comp id] the picture checks, issues folded by cause
tramme still <doc> --t 0.5,1.2 [--samples n] PNG stills
tramme render <doc> [--format mp4|mov|webm|gif|png] [--from s --to s] [--samples n] [--mute] [--pages n] [--depth 8|10]
tramme export <doc> --format lottie|svg|wav [--t s] vector export, or sound only
tramme import <animation.json> [--out folder] Lottie to a Tramme project
tramme pack <folder> [--out project.tramme] a project folder as a .tramme archive (checked)
tramme unpack <project.tramme> [--out folder] a .tramme archive as a project folder (checked)
tramme nodes [<doc>] the available vocabulary
tramme agent [--origin https://…] [--port 4317] the assistant's local companion
tramme compare <ref> <test> [--diff folder] PSNR and an image of the differences
tramme check-export <doc> --format lottie|svg --t … export read back (lottie-web, Chrome) against Tramme
tramme check-media <file> [--width n --height n --fps n --frames n --duration s] [--json] decode and verify MP4, MOV or WebM delivery
tramme bench <url of an open project> how the editor holds up: playback, drag, hover
tramme load [case…] [--json file] [--before file] the load cases of bench/load: where a frame's time goes
tramme schema regenerates the JSON schema

(tramme = node packages/cli/src/main.ts, or npm run tramme -- <command>. <doc> is a project folder or a document file.)