@theconduit/cli
v0.1.1
Published
Official conduit CLI: list routes, run outbox migrations, inspect and replay DLQ entries, validate and diff payload schemas — operational tooling for Conduit deployments.
Maintainers
Readme
@theconduit/cli
CLI utilities for route inspection, DLQ operations, schema checks, project init, and migration SQL generation.
Install
pnpm add -D @theconduit/clior run directly:
pnpm exec conduit --helpCommands
conduit init [--path <path>] [--force]conduit routes list [--config <path>] [--json]conduit dlq inspect [--config <path>] [--operation-name <name>] [--handler-id <id>] [--limit <n>] [--json]conduit dlq replay --id <entry-id> [--config <path>] [--keep] [--dry-run]conduit schema validate --file <path> [--json]conduit schema diff --left <path> --right <path> [--json]conduit migrate [--dialect postgres|mysql|sqlite] [--out <path>] [--print]
Config contract
conduit.config.js can export:
export default {
routes: [
{
operation_name: "order.create",
operation_type: "COMMAND",
provider: "OUTBOX",
on_exhausted: "DLQ"
}
],
dlq_manager: async () => myDlqManager,
dispatch: async (envelope) => bus.dispatch(envelope)
};Notes:
conduit.config.js/.mjs/.cjs/.jsonare supported.conduit.config.tsmust be precompiled to JavaScript first.migratecommand emits built-in outbox + outbox DLQ SQL templates.
Related docs
docs/guides/cli.mddocs/guides/outbox-provider.md
