2.0.0 • Published 6 years ago

workflow-parser-arguments v2.0.0

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

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
2.0.0

6 years ago

1.0.0

6 years ago

1.0.0-beta

6 years ago

0.1.0

6 years ago

0.1.0-beta.0

6 years ago