-
Notifications
You must be signed in to change notification settings - Fork 0
Kura CLI Reference
github-actions[bot] edited this page Jun 29, 2026
·
3 revisions
Every command in the kura compiler (Kyto's CLI).
kura --versionPrints: kura 0.5.0-asm
kuraPrints usage when no subcommand given.
Scaffold a new Kyto project.
kura init --name my-appCreates:
kyto.toml.kyto.config.example-
kyto/main.kyto(starter source)
Read project config and write all emit artifacts.
kura compileReads:
-
kyto.toml(paths and toggles) -
.kyto.config(if present) -
kyto/main.kyto(unlessconfig_only = true)
Writes:
- Env files, user SQL/JSON/TS, deploy script (per
kyto.toml)
Exit 0 on success, non-zero on error.
Parse and evaluate without writing files.
kura checkUse in CI to validate config before deploy.
Copy compiler binary to user-local PATH.
kura install| Platform | Destination |
|---|---|
| Linux | ~/.local/bin/kura |
| Windows | %USERPROFILE%\.local\bin\kura.exe |
Encrypt a secrets file with ChaCha20-Poly1305 (RFC 8439).
export KYTO_KEY=$(openssl rand -hex 32)
kura encrypt kyto/local.kyto -o kyto/local.kyto.encKey sources:
-
KYTO_KEYenvironment variable (64 hex chars) -
~/.config/kyto/keyfile
Decrypt an encrypted file.
kura decrypt kyto/local.kyto.enc -o kyto/local.kytoSame key requirements as encrypt.
kura encrypt <input> -o <output>
kura decrypt <input> -o <output>| Variable | Purpose |
|---|---|
KYTO_KEY |
32-byte hex key for encrypt/decrypt |
docker run --rm -v "$PWD:/work" -w /work ghcr.io/voidmute/kyto:latest compile
docker run --rm -v "$PWD:/work" -w /work ghcr.io/voidmute/kyto:latest checkImage entrypoint is kura — pass subcommands as arguments.
| Code | Meaning |
|---|---|
0 |
Success |
1 |
Error (missing config, parse failure, I/O error) |