App, Draft, and Version Commands
Last validated: 2026-05-20
App Commands
Top group:
dodil ignite app(aliases:function,fn)
Main subcommands:
creategetlistupdatedeletestate
Important behavior note
app create currently stores metadata. Runtime selection is effectively determined from draft code source path during save/compile flows; the CLI prints a warning if runtime flags are passed during create.
Draft Commands
Top group:
dodil ignite draft
Main subcommands:
saveinfocompilecompile-logstestpublish
Common sequence:
dodil ignite draft save hello --code ./src --runtime python
dodil ignite draft test hello --payload '{"name":"world"}'
dodil ignite draft publish helloRust sequence:
dodil ignite draft save hello-rs --code ./src --runtime rust --rust-target native
dodil ignite draft compile hello-rs --follow
dodil ignite draft publish hello-rsDraft caveat
--dependency flag on draft save is currently ignored by API path in this CLI implementation; include dependencies in source/build config.
Supported Runtime Flows
In compile-source CLI flows, runtime is selected on draft save:
- Python (
--runtime python) - Rust (
--runtime rust --rust-target native|wasm) - Go (
--runtime go) - Deno (
--runtime deno)
Use draft compile for runtime paths that require explicit compile stages (notably Rust-oriented flows).
BYOI and Image-Mode Drafts
BYOI (Bring Your Own Image) is supported by Ignite API through SaveDraft.code.image variants:
prebuiltimage referencefrom_codeimage build from archivefrom_gitimage build from repository
Current CLI command ergonomics are primarily compile-source oriented, so image-mode draft setup is typically done through direct API calls (grpcurl/HTTP). See workflow guide: docs/06-workflows/03-build-custom-image-and-use-it.md.
Version Commands
Top group:
dodil ignite version
Main subcommands:
list <id>get <id> <version>rollback <id> <version>code <id> [--version N]test <id> <version>
Recommended Release Flow
- Create app metadata once.
- Iterate in draft (
save->compileif needed ->test). - Publish immutable version.
- Use version commands for rollback/testing and release auditability.