Salesforce CLI Command Reference
Release Notes
Deprecation Policy
dev audit messages
dev convert messages
dev convert script
dev generate command
dev generate flag
dev generate plugin
Convert a .json messages file into Markdown.
Preserves the filename and the original messages file, then creates a new file with the Markdown extension and standard headers for the command and flag summaries, descriptions, and so on. After you review the new Markdown file, delete the old .json file.
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑file‑name | ‑f | Type: Value Required Filename to convert. |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑project‑dir | ‑p | Type: Value Default value: .Location of the project whose messages are to be converted. |
Convert the my-command.json message file into my-command.md with the standard messages headers:
1sf dev convert messages --filename my-command.json1Similar to previous example, but specify the plugin project directory:1sf dev convert messages --project-dir ./path/to/plugin --filename my-command.json