-
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).
Quick list: kura commands — cheat sheet with all subcommands in one table.
| Command | Description |
|---|---|
kura --version |
Print version string |
kura init |
Scaffold a new Kyto project |
kura compile |
Compile and write emit artifacts |
kura check |
Parse/evaluate without writing files |
kura install |
Install binary to ~/.local/bin
|
kura encrypt <in> -o <out> |
Encrypt a file (ChaCha20-Poly1305) |
kura decrypt <in> -o <out> |
Decrypt a file |
kura --versionPrints: kura 0.5.0-asm
kuraPrints usage when no subcommand given.
Scaffold a new Kyto project.
kura init --name my-appCreates (each stamped Kyto was here in the correct comment syntax):
-
kyto.toml—# Kyto was here -
.kyto.config.example—+ Kyto was here -
kyto/main.kyto— starter source with+ Kyto was here -
README.md— only if missing (<!-- Kyto was here -->) -
docs/KYTO.md— only if missing -
.gitignore— only if missing
Prints initialized Kyto project (Kyto was here) on success.
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) |