Skip to content
Snippets Groups Projects
Commit 2aa388e3 authored by Jason Peterson's avatar Jason Peterson
Browse files

Invalid annotation for split action

parent 3ec8e82b
No related branches found
No related tags found
No related merge requests found
......@@ -32,8 +32,8 @@ install "$CATALOG_HOME/utils/cat.js" \
install "$CATALOG_HOME/utils/split.js" \
util/split \
-a description 'Split a string into an array' \
-a parameters '[{"name": "payload", "required":true, "description":"A string"}], { "name": "separator", "required": false, "description": "The character, or the regular expression, to use for splitting the string }]' \
-a sampleInput '{ "payload": "one,two,three" "separator": "," }' \
-a parameters '[{"name": "payload", "required":true, "description":"A string"}], { "name": "separator", "required": false, "description": "The character, or the regular expression, to use for splitting the string" }]' \
-a sampleInput '{ "payload": "one,two,three", "separator": "," }' \
-a sampleOutput '{ "lines": [one, two, three], "payload": "one,two,three"}'
install "$CATALOG_HOME/utils/sort.js" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment