Skip to content
Registry StackDocsv0.48.0

messagingctl dev command reference

View as Markdown

Run an authoring project locally with PostgreSQL, Mailpit, and a mock HTTP gateway in Docker, until Ctrl-C.

This page is generated from the public Clap command tree for Registry Stack source version 0.48.0 and catalog SHA-256 a96331a48f2b131715c8f06aaf5784a9b96ec7cb1ed75b89d46e00051b50d3bc. Hidden implementation commands are omitted.

Run an authoring project locally with PostgreSQL, Mailpit, and a mock HTTP gateway in Docker, until Ctrl-C. The session pulls and runs the pinned images docker.io/library/postgres:17.11@sha256:67f41722b7a8cbdb868a44a4995c846eddfdc2973bccb291ce937dce88ad5675 and ghcr.io/axllent/mailpit:v1.31.2@sha256:74d609a42ec279aa63c6b4622a6fa9b5408d1ad5b1d76a1c4be40a265ce0863d, the Docker Official Images reference and upstream GHCR mirror of postgres:17.11 and axllent/mailpit:v1.31.2 at those digests. Each publishes on 127.0.0.1 only, and the session removes both when it stops.

messagingctl dev [OPTIONS] [PROJECT]
messagingctl dev <COMMAND>
CommandDescription
tokenWrite a bearer header file for a client an access profile names, using the running session’s local key or borrowed issuer
ArgumentAlways requiredDefaultValuesEnvironmentDescription
[PROJECT]No.n/an/aThe package directory to run, as messagingctl init writes it
OptionAlways requiredDefaultValuesEnvironmentDescription
--port <PORT>No8107n/aMESSAGINGCTL_DEV_PORTThe runtime’s loopback port
--metrics-port <METRICS_PORT>No9107n/aMESSAGINGCTL_DEV_METRICS_PORTThe runtime’s loopback metrics port
--mock-latency-ms <MILLISECONDS>No200n/an/aHow long the mock gateway takes to answer each send, in milliseconds
--issuer-project <PROJECT>Non/an/an/aBorrow pre-registered clients from this Base Registry Engine (BReg) development project
--resource <URI>Non/an/an/aThe exact Messaging audience registered at the borrowed issuer
--format <FORMAT>Nohumanhuman, jsonn/aEmit the selected command’s report in this format
-h, --helpNon/an/an/aPrint help (see a summary with ‘-h’)

After changing a public command, argument, option, default, environment binding, or help description, run cargo run --locked -p registry-cli-docs -- --write, commit crates/registry-cli-docs/catalog.json, then run npm run generate from docs/site.