Ebi Command-Line Tools¶
Run Ebi development tools through shrimply ebi (or the standalone
ebi binary—both use the same implementation):
$ shrimply ebi lint scene.ebi --json
$ shrimply ebi check scene.ebi --deny-warnings
$ shrimply ebi fmt scene.ebi --write
$ shrimply ebi duration scene.ebi --json
$ shrimply ebi inspect scene.ebi
$ shrimply ebi profile scene.ebi --samples 60 --json
$ shrimply ebi render scene.ebi --time 500ms --output preview.png
$ shrimply ebi watch scene.ebi --output preview.png
$ shrimply ebi video scene.ebi --output animation.mp4
$ shrimply ebi video indefinite.ebi --duration 10s --output animation.mp4
Discover commands with shrimply cli search "ebi" and inspect schemas with
shrimply schema ebi profile. (For editing reflected parameters on a clip
inside a .shrimp project, see shrimply ebi get / set in
Shrimply Editor and Presenter and Agent Editing CLI.)
Subcommands¶
lint: parses and type-checks the entry file and its imports, reporting static performance warnings without loading data assets or building frames.check: fully evaluates values, validates visual contracts, and forces native geometry checks.fmt FILE: prints canonical formatted source without evaluating it. Use--checkto exit 1 if changes are needed,--writeto update in place atomically, or-for stdin. Layout flags:--indent-width 4,--line-width 100,--tabs. Combinelint/check --check-formatwith--deny-warningsto enforce formatting (codeF101).duration: computes exact timeline duration without rendering. Reportsforever(with the finite prefix) for explicit indefinite animations.inspect: exports source dependencies, reflected inputs, resolved types and symbols, temporal layout, verification evidence, and diagnostics as JSON.render/video/watch: render a single frame (--timeor--frame), stream H.264 MP4 video via FFmpeg, or watch for filesystem changes and re-render automatically. Video export requires a finite--durationfor indefinite scenes.profile: measures preparation and cold/warm frame passes without rasterizing or encoding PNGs.
Reflected input overrides¶
Pass typed JSON values to reflect(...) inputs with --set:
$ shrimply ebi check examples/hello.ebi --set hello.ebi::repetitions=4
$ shrimply ebi check examples/data.ebi --set data.ebi::bar_color='"#FF8800"'
Defaults, flags, and exit codes¶
Defaults:
1920×1080,30FPS, and96DPI (override with--width,--height,--fps,--dpi).--progressemits phase-local JSON progress on stderr without altering stdout.--warn-operations Nand--warn-prepare-ms Nadjust warning thresholds (not execution limits).Exit status:
0for success,1for validation/evaluation errors or warnings rejected by--deny-warnings,2for invalid arguments.