Global Flags
Every command supports these flags:| Flag | Type | Default | Description |
|---|---|---|---|
-c, --config | string | dokrypt.yaml | Path to configuration file |
-v, --verbose | bool | false | Enable verbose/debug output |
-q, --quiet | bool | false | Suppress non-error output |
--json | bool | false | Output results as JSON |
--runtime | string | docker | Container runtime (docker or podman) |
Command Groups
Project Lifecycle
| Command | Description |
|---|---|
dokrypt init | Scaffold a new project from a template |
dokrypt up | Start all services |
dokrypt down | Stop all services |
dokrypt restart | Restart services |
dokrypt status | Show running service status |
dokrypt logs | Stream service logs |
dokrypt exec | Execute command inside a service |
Blockchain Operations
| Command | Description |
|---|---|
dokrypt chain | Chain manipulation (mine, time-travel, balances, etc.) |
dokrypt fork | Fork a live network |
dokrypt accounts | Account management |
dokrypt snapshot | State snapshot management |
dokrypt bridge | Cross-chain bridge simulation |
Testing & CI
| Command | Description |
|---|---|
dokrypt test | Run tests, list suites, view reports |
dokrypt ci | Generate and validate CI/CD workflows |
Configuration & Templates
| Command | Description |
|---|---|
dokrypt config | Validate and display configuration |
dokrypt template | Template management |
dokrypt marketplace | Template marketplace |
dokrypt plugin | Plugin management |
System
| Command | Description |
|---|---|
dokrypt doctor | System diagnostics |
dokrypt version | Version info |
Configuration Resolution
Dokrypt resolves the configuration file in this order:--configflag (highest priority)DOKRYPT_CONFIGenvironment variabledokrypt.yamlin the current directory (default)
State Storage
Dokrypt stores runtime data in~/.dokrypt/:
.dokrypt
state
snapshots
reports
plugins
marketplace
templates