Skip to main content

Global Flags

Every command supports these flags:
FlagTypeDefaultDescription
-c, --configstringdokrypt.yamlPath to configuration file
-v, --verboseboolfalseEnable verbose/debug output
-q, --quietboolfalseSuppress non-error output
--jsonboolfalseOutput results as JSON
--runtimestringdockerContainer runtime (docker or podman)

Command Groups

Project Lifecycle

CommandDescription
dokrypt initScaffold a new project from a template
dokrypt upStart all services
dokrypt downStop all services
dokrypt restartRestart services
dokrypt statusShow running service status
dokrypt logsStream service logs
dokrypt execExecute command inside a service

Blockchain Operations

CommandDescription
dokrypt chainChain manipulation (mine, time-travel, balances, etc.)
dokrypt forkFork a live network
dokrypt accountsAccount management
dokrypt snapshotState snapshot management
dokrypt bridgeCross-chain bridge simulation

Testing & CI

CommandDescription
dokrypt testRun tests, list suites, view reports
dokrypt ciGenerate and validate CI/CD workflows

Configuration & Templates

CommandDescription
dokrypt configValidate and display configuration
dokrypt templateTemplate management
dokrypt marketplaceTemplate marketplace
dokrypt pluginPlugin management

System

CommandDescription
dokrypt doctorSystem diagnostics
dokrypt versionVersion info

Configuration Resolution

Dokrypt resolves the configuration file in this order:
  1. --config flag (highest priority)
  2. DOKRYPT_CONFIG environment variable
  3. dokrypt.yaml in the current directory (default)

State Storage

Dokrypt stores runtime data in ~/.dokrypt/:
.dokrypt
state
snapshots
reports
plugins
marketplace
templates