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.40.0 and catalog SHA-256 42b4f89103fb6b0fc57282f99a8d8ab8fc777b3c745d6243720ff4a99ba1f57f. 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/aAbsolute path to the runtime 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

Run npm run generate from docs/site after changing a public command, argument, option, default, environment binding, or help description.