DocsFab Knowledge CLI
The DocsFab knowledge command-line interface (CLI) operates the local, single-process control plane. For more information, refer to Knowledge Contracts in DocsFab.
Run the knowledge CLI from the DocsFab repository root.
The server binds only to loopback. It is not an authenticated production service. Every mutation requires the exact current stream version.
Choose a Command
Commands
Export Kinds
The --kind option accepts the following values:
An unknown export kind fails instead of returning an empty projection.
Versioned Mutations
Before you submit command, read the current state and use its version as
--expected-version. If another accepted command advances the stream first,
the stale command fails. Reload the state, review the intervening event, and
reconstruct the mutation only if it remains valid.
Data Directory
The --data path contains control-plane runtime state. Choose an explicit,
access-controlled directory. Do not place provider credentials in that
directory, command input, event records, or exported artifacts.