HardKAS CLI Reference
These pages are generated from the Commander command tree of packages/cli by pnpm docs:generate-apps-cli, and
pnpm docs:check-apps-cli fails when one no longer matches it: nothing here is written by hand. Hidden commands
(internal, unavailable or disabled ones) are not listed. The same reference on one page is
docs/reference/cli.md in the repository.
Map of the CLI
The CLI is organized into strict functional domains.
- hardkas accounts
- hardkas artifact
- hardkas chaos
- hardkas ci
- hardkas config
- hardkas console
- hardkas corpus
- hardkas create
- hardkas dag
- hardkas deploy
- hardkas dev
- hardkas doctor
- hardkas env
- hardkas escrow
- hardkas evidence
- hardkas explain
- hardkas extension
- hardkas history
- hardkas init
- hardkas inspect
- hardkas kaspa
- hardkas kcc
- hardkas kcc20
- hardkas localnet
- hardkas lock
- hardkas programmability
- hardkas query
- hardkas rebuild
- hardkas repair
- hardkas replay
- hardkas rotate
- hardkas rpc
- hardkas run
- hardkas sandbox
- hardkas security
- hardkas silver
- hardkas simulator
- hardkas status
- hardkas task
- hardkas telemetry
- hardkas test
- hardkas toolchain
- hardkas torture
- hardkas tx
- hardkas up
- hardkas verify
- hardkas verify-semantics
- hardkas vprogs
- hardkas wallet
- hardkas watch
- hardkas why
- hardkas workflow
- hardkas zk
How to read this reference
Every command page is divided into two distinct boundaries to prevent drift:
- Generated Structural Reference: Automatically extracted from the Commander AST (Arguments, Options, Defaults).
- Curated Semantic Metadata: Editorial boundaries curated to explain Evidence, Side Effects, and Identity Contracts.
Artifact Handles (Identity Contract)
When a command accepts an artifact identifier (e.g. hardkas explain <artifact>), you must provide either:
- An explicit filepath (e.g.,
./.hardkas/artifacts/plans/my-plan.json) - The exact canonical artifactId (a 64-character hex string: an artifact's artifactId is its contentHash)
A network txId is not an artifact handle: a bare txId is refused (NAMESPACE_REQUIRED). Name it with the
command's own option instead, for example hardkas explain --tx <txId>.
Side Effect Notation
Commands that mutate your local workspace, broadcast to a network, or expose sensitive material (like private keys) are explicitly marked in the Side Effects semantic block. If a command does not have this block, it is considered a read-only operation.