-
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
/* | ||
* Creates an action, put the description of your action on this line. | ||
* | ||
* Optionally describe [arg1] and [arg2] here with square brackets surrounding their names. | ||
* Obviously change [arg1] and [arg2] to something that better describes your arguments. | ||
*/ | ||
.arguments | ||
|
||
// Argument collection. | ||
arg1 | ||
|
||
/* | ||
* Type of argument, can be; key-value, array, int, decimal, float, double, long, | ||
* email, string, enum, textarea, workflow, sql, csharp, hyperlambda or bool. | ||
*/ | ||
type:string | ||
|
||
// If true then argument is required and mandatory. | ||
mandatory:bool:true | ||
|
||
arg2 | ||
type:int | ||
mandatory:bool:false | ||
|
||
// Some icon for your action | ||
.icon:home | ||
|
||
/* | ||
* Actual content of your action. | ||
* | ||
* This iw where you put your action's implementation. | ||
*/ | ||
|
||
// Returning result of above invocation to caller. | ||
yield | ||
result:Some result here! |