0.5.1 • Published 5 years ago
sfdx-flowdoc-plugin v0.5.1
Flowdoc (alpha)
A Salesforce CLI plugin that generates design document from Lightning Flow metadata. If you're not familiar with CLI, try the web app version.

Features
Supported Flow
- Trigger based Process
 - Platform Event based Process
 - Invocable Process
 
Supported Actions
- Chatter Post
 - Quick Action
 - Apex (Invocable Action)
 - Sub flow/process
 - Record Create
 - Record Update
 - Approval Process
 
Output Format
- Word (.docx)
 - JSON
 
Setup
Install as plugin
sfdx plugins:install sfdx-flowdoc-pluginInstall from source
Clone this repo and run npm install. Then run,
sfdx plugins:link .Usage
Specify an API name of your process
PDF output
sfdx flowdoc:pdf:generate Example_Process -o destWord output
sfdx flowdoc:docx:generate Example_Process -o destJSON output
sfdx flowdoc:json:generate Example_ProcessYou can also use the display command and redirect the output. Use --nospinner option if you don't need spinner while the command execution.
sfdx flowdoc:json:display Example_Process --nospinner > example_process.jsonLocale
Add -l (--locale) ja option to export Japanese document.
sfdx flowdoc:pdf:generate Example_Process -l jaFeedback
Feature requests, bug reports and pull requests are welcome!
Coming Soon
- Flow Builder
 - Diagram