2.0.0 • Published 6 years ago
workflow-parser-arguments v2.0.0
Workflow parser arguments
Argument parse for the arguments given in the flow file from the positional arguments
leading the name of the flow
file.
Use in combination with workflow-transformer-apply-arguments-to-fields
.
Example
// flows/Example.js
export const flow = render(
<Workspace name="workflow-arguments" args="file">
<TextEditor file={({file}) => file} />
</Workspace>
)
Usage
This will open the index.js file in the default text editor.
workflow Example.js index.js