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 indecktalk --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 anerror 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.
init result: decktalk schema init.
decktalk install
Fetch Chromium and ffmpeg before a build needs them.
install result: decktalk schema install.
decktalk doctor
Report what is installed and what a run would use.
doctor result: decktalk schema doctor.
Read the project, buying nothing
decktalk status
Report what is written, what is built and what is stale.
status result: decktalk schema status.
decktalk check
Judge script.md, cues.json and the pages before a build.
check result: decktalk schema check.
decktalk words
Print every spoken word with its start and end.
words result: decktalk schema words.
decktalk storyboard
Freeze every slide at every cue onto one page.
storyboard result: decktalk schema storyboard.
decktalk serve
Serve the project on a local origin over http.
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.
config-list result: decktalk schema config-list.
decktalk config get
Print one key’s value and the layer that set it.
config-get result: decktalk schema config-get.
decktalk config set
Write one key into decktalk.toml or into this machine’s file.
config-set result: decktalk schema config-set.
decktalk config unset
Remove one key so the layer below it wins again.
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.
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.
narrate result: decktalk schema narrate.
decktalk cue
Turn each cue phrase into a second on its section clock.
cue result: decktalk schema cue.
decktalk record
Record each page in headless Chromium and run each render program.
record result: decktalk schema record.
decktalk score
Compose the music, the ambience bed and the effects.
score result: decktalk schema score.
decktalk assemble
Cut, mix and encode the sections into one mp4.
assemble result: decktalk schema assemble.
decktalk verify
Measure the finished mp4: every start, cut, seam and landing.
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.
build result: decktalk schema build.
decktalk clip
Cut a span of a built section into its own file.
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.