workflow-parser-arguments

2.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i workflow-parser-arguments

Weekly Downloads

5

Version

2.0.0

License

MIT

Unpacked Size

4.22 kB

Total Files

5

Last publish

Collaborators

  • havardh