divekit run init
Create a run workflow extension
Synopsis
Create a workflow extension in .divekit/scripts/run/.
Lua workflows are generated as .divekit/scripts/run/<name>.lua. Other languages are generated as workflow folders under .divekit/scripts/run/<name>/. If name or language are omitted, Divekit prompts for them. Existing files are not overwritten unless –force is used or overwrite is confirmed interactively.
Usage
divekit run init [name] [flags]
Examples
divekit run init
divekit run init has_readme --language lua
divekit run init used_ai --language javascript --runner bun
Flags
--force Overwrite generated files if they already exist
--language string Workflow language: lua|shell|python|javascript|typescript|go|java|kotlin
--runner string Optional JavaScript or TypeScript runner, for example node|bun|deno
Inherited Flags
-l, --loglevel string log level (debug, info, warn, error, fatal) (default "info")
--no-index skip project index update
--non-interactive run in non-interactive mode (fails if interactive input is required)
-y, --yes assume yes/default for all prompts (non-interactive with automatic defaults)