Skip to main content
The decktalk command runs one stage, the whole pipeline, or one reading of the project or the machine. Every command prints one flat JSON object with --json, carrying its own fields beside schema, ok, findings and error, and the two declared fields run and written on the commands that open a run or write a file.

Global options

These work with every command, before the command name or after the whole command, as in decktalk --json status or decktalk config list --json. --version is the one exception, and it works before a command name alone.

Exit codes

Error codes

An error means DeckTalk could not run or did not finish. A result that carries an error beside its own fields is a run that stopped after it made something, and its cost and findings say what it made. A finding is the other thing entirely, which is a judgement about a film that did get made.

Finding codes

A finding carries its code, its sentence, its severity and often a fix an agent can apply. --allow CODE carries on past one, and --fail-on decides which of them fails a run.

Commands

Set up this machine

decktalk init

Create a project with a deck that already builds.
It answers with the init result: decktalk schema init.

decktalk install

Fetch Chromium and ffmpeg before a build needs them.
It answers with the install result: decktalk schema install.

decktalk doctor

Report what is installed and what a run would use.
It answers with the doctor result: decktalk schema doctor.

Read the project, buying nothing

decktalk status

Report what is written, what is built and what is stale.
It answers with the status result: decktalk schema status.

decktalk check

Judge script.md, cues.json and the pages before a build.
It answers with the check result: decktalk schema check.

decktalk words

Print every spoken word with its start and end.
It answers with the words result: decktalk schema words.

decktalk storyboard

Freeze every slide at every cue onto one page.
It answers with the storyboard result: decktalk schema storyboard.

decktalk serve

Serve the project on a local origin over http.
It answers with the serve result: decktalk schema serve.

Read the settings and the schemas

decktalk schema

Print the JSON Schema of a command, a setting or an event.

decktalk config list

Print every key, its value and the layer that set it.
It answers with the config-list result: decktalk schema config-list.

decktalk config get

Print one key’s value and the layer that set it.
It answers with the config-get result: decktalk schema config-get.

decktalk config set

Write one key into decktalk.toml or into this machine’s file.
It answers with the config-set result: decktalk schema config-set.

decktalk config unset

Remove one key so the layer below it wins again.
It answers with the config-unset result: decktalk schema config-unset.

decktalk config explain

Print one key whole: what it does, what may be set, and what set it.
It answers with the config-explain result: decktalk schema config-explain.

Run one stage, in this order

decktalk narrate

Voice each turn of script.md and time every word.
It answers with the narrate result: decktalk schema narrate.

decktalk cue

Turn each cue phrase into a second on its section clock.
It answers with the cue result: decktalk schema cue.

decktalk record

Record each page in headless Chromium and run each render program.
It answers with the record result: decktalk schema record.

decktalk score

Compose the music, the ambience bed and the effects.
It answers with the score result: decktalk schema score.

decktalk assemble

Cut, mix and encode the sections into one mp4.
It answers with the assemble result: decktalk schema assemble.

decktalk verify

Measure the finished mp4: every start, cut, seam and landing.
It answers with the verify result: decktalk schema verify.

Run them all, or cut one piece out

decktalk build

Run every stage in order, or a span of them.
It answers with the build result: decktalk schema build.

decktalk clip

Cut a span of a built section into its own file.
It answers with the clip result: decktalk schema clip.

The schemas

decktalk schema prints the whole instruction set. decktalk schema NAME takes apply, assemble, build, check, clip, config-explain, config-get, config-list, config-set, config-unset, cue, doctor, error, init, install, narrate, record, score, serve, status, storyboard, verify, words, event, finding, cues, page, setting.