Skip to content
Registry StackDocsDevelopment (unreleased)

messagingctl preview command reference

View as Markdown

Render one template version with the given data, offline.

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

messagingctl preview [OPTIONS] --locale <LOCALE> --data <FILE> <--runtime-config <ABSOLUTE_FILE>|--package <DIRECTORY>|--project <DIRECTORY>> <TEMPLATE> <VERSION>
ConditionRequirement
Command invocationExactly one of --runtime-config <ABSOLUTE_FILE>, --package <DIRECTORY>, --project <DIRECTORY> is required.
Command invocation--package <DIRECTORY> and --project <DIRECTORY> cannot be used together.
Command invocation--package <DIRECTORY> and --runtime-config <ABSOLUTE_FILE> cannot be used together.
Command invocation--project <DIRECTORY> and --runtime-config <ABSOLUTE_FILE> cannot be used together.
ArgumentAlways requiredDefaultValuesEnvironmentDescription
<TEMPLATE>Yesn/an/an/aThe template id
<VERSION>Yesn/an/an/aThe template version
OptionAlways requiredDefaultValuesEnvironmentDescription
--runtime-config <ABSOLUTE_FILE>Non/an/an/aRuntime configuration file
--package <DIRECTORY>Non/an/an/aThe package directory holding messaging.yaml
--project <DIRECTORY>Non/an/an/aEditable authoring project holding messaging.yaml
--locale <LOCALE>Yesn/an/an/aA locale the template version declares
--data <FILE>Yesn/an/an/aA JSON file holding the template data
--format <FORMAT>Nohumanhuman, jsonn/aEmit the selected command’s report in this format
-h, --helpNon/an/an/aPrint help

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.