What kind of change does this PR introduce? (check one with "x")
[] Bugfix
[X] Feature
[] Code style update (formatting, local variables)
[] Refactoring (no functional changes, no api changes)
[] Other... Please describe:
What is the current behavior? Currently, it is difficult to find activities and triggers created by the community. This PR introduces the search functionality
What is the new behavior? A new command has been added to the existing CLI
Usage:
flogo search [-type type][-string search]
Search the Flogo Artifact Repository for activities and triggers.
Options:
-type the type you're looking for ("all"|"activity"|"trigger")
-string the search string you want to use
Example:
flogo search -type activity -string "dynamo" would search the repository for activities connecting to DynamoDB
Output of running the command flogo search -type activity -string dynamo
+-----------------+----------+--------------------------------+---------------------------------------------------------------------------------+---------+
| NAME | TYPE | DESCRIPTION | URL | AUTHOR |
+-----------------+----------+--------------------------------+---------------------------------------------------------------------------------+---------+
| DynamoDB Insert | activity | Inserts a record in an Amazon | https://github.com/retgits/flogo-components/tree/master/activity/dynamodbinsert | retgits |
| | | DynamoDB. | | |
| DynamoDB Query | activity | Executes a query against an | https://github.com/retgits/flogo-components/tree/master/activity/dynamodbquery | retgits |
| | | Amazon DynamoDB. | | |
+-----------------+----------+--------------------------------+---------------------------------------------------------------------------------+---------+
What kind of change does this PR introduce? (check one with "x")
What is the current behavior? Currently, it is difficult to find activities and triggers created by the community. This PR introduces the
search
functionalityWhat is the new behavior? A new command has been added to the existing CLI
Output of running the command
flogo search -type activity -string dynamo