dev convert messages

Convert a .json messages file into Markdown.

Description for dev convert messages 

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.

Flags 

Flag Name (Long)Flag Name (Short)Description
‑‑file‑name‑fType: Value
Required

Filename to convert.
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑project‑dir‑pType: Value
Default value: .

Location of the project whose messages are to be converted.

Examples for dev convert messages 

Convert the my-command.json message file into my-command.md with the standard messages headers:

1sf dev convert messages --filename my-command.json
1Similar to previous example, but specify the plugin project directory:
1sf dev convert messages --project-dir ./path/to/plugin --filename my-command.json