Skip to content
Registry StackDocsv0.48.0

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.48.0 and catalog SHA-256 a96331a48f2b131715c8f06aaf5784a9b96ec7cb1ed75b89d46e00051b50d3bc. 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.