Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
activity.go
activity.json
activity_test.go

README.md

Command Parser

This activity provides your Flogo app the ability to read and parse a commandline string

Installation

flogo install github.com/retgits/flogo-components/activity/commandparser

Link for flogo web:

https://github.com/retgits/flogo-components/activity/commandparser

Schema

Inputs and Outputs:

{
"inputs": [
        {
            "name": "commandString",
            "type": "string",
            "required": true
        }
    ],
    "outputs": [
        {
            "name": "result",
            "type": "any"
        }
    ]
}

Inputs

Input Description
commandString The command line string

Ouputs

Output Description
result A map[string]string of the arguments

The commandString --type trigger --string "twitter" -dev would result in a map map[type:trigger string:twitter dev:true]