Skip to content

Commit

Permalink
Add TODO as default value for help attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Jan 23, 2021
1 parent 65fbf74 commit 2af30d6
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions client/src/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@
"prefix": "gx-conditional-select",
"body": [
"<conditional name=\"$1\">",
" <param name=\"$2\" type=\"select\" label=\"$3\" help=\"TODO\">",
" <option value=\"$4\">TODO: $4</option>",
" <param name=\"$2\" type=\"select\" label=\"$3\" help=\"${4:TODO}\">",
" <option value=\"$5\">TODO: $5</option>",
" <option value=\"$6\">TODO: $6</option>",
" </param>",
" <when value=\"$4\">",
" <when value=\"$5\">",
" $0",
" </when>",
" <when value=\"$5\">",
" <when value=\"$6\">",
" </when>",
"</conditional>"
],
Expand All @@ -80,23 +80,23 @@
"Select parameter with 3 options": {
"prefix": "gx-select-3-param",
"body": [
"<param name=\"$1\" type=\"select\" label=\"$2\" help=\"TODO\">",
" <option value=\"$3\">TODO: $3</option>",
"<param name=\"$1\" type=\"select\" label=\"$2\" help=\"${3:TODO}\">",
" <option value=\"$4\">TODO: $4</option>",
" <option value=\"$5\">TODO: $5</option>",
" <option value=\"$6\">TODO: $6</option>",
"</param>"
],
"description": "Select parameter with 3 options"
},
"Select parameter with 5 options": {
"prefix": "gx-select-5-param",
"body": [
"<param name=\"$1\" type=\"select\" label=\"$2\" help=\"TODO\">",
" <option value=\"$3\">TODO: $3</option>",
"<param name=\"$1\" type=\"select\" label=\"$2\" help=\"${3:TODO}\">",
" <option value=\"$4\">TODO: $4</option>",
" <option value=\"$5\">TODO: $5</option>",
" <option value=\"$6\">TODO: $6</option>",
" <option value=\"$7\">TODO: $7</option>",
" <option value=\"$8\">TODO: $8</option>",
"</param>"
],
"description": "Select parameter with 5 options"
Expand All @@ -111,35 +111,35 @@
"Integer parameter": {
"prefix": "gx-integer-param",
"body": [
"<param argument=\"--$1\" type=\"integer\" min=\"$2\" max=\"$3\" value=\"$4\" label=\"$5\" help=\"$6\" />"
"<param argument=\"--$1\" type=\"integer\" min=\"$2\" max=\"$3\" value=\"$4\" label=\"$5\" help=\"${6:TODO}\" />"
],
"description": "Integer parameter"
},
"Float parameter": {
"prefix": "gx-float-param",
"body": [
"<param argument=\"--$1\" type=\"float\" min=\"$2\" max=\"$3\" value=\"$4\" label=\"$5\" help=\"$6\" />"
"<param argument=\"--$1\" type=\"float\" min=\"$2\" max=\"$3\" value=\"$4\" label=\"$5\" help=\"${6:TODO}\" />"
],
"description": "Float parameter"
},
"Data parameter with single required dataset": {
"prefix": "gx-data-single-param",
"body": [
"<param argument=\"--$1\" type=\"data\" format=\"$2\" label=\"$3\" help=\"$4\" />"
"<param argument=\"--$1\" type=\"data\" format=\"$2\" label=\"$3\" help=\"${4:TODO}\" />"
],
"description": "Data parameter with single required dataset"
},
"Data parameter with multiple required datasets": {
"prefix": "gx-data-multiple-param",
"body": [
"<param argument=\"--$1\" type=\"data\" format=\"$2\" multiple=\"true\" label=\"$3\" help=\"$4\" />"
"<param argument=\"--$1\" type=\"data\" format=\"$2\" multiple=\"true\" label=\"$3\" help=\"${4:TODO}\" />"
],
"description": "Data parameter with multiple required datasets"
},
"Text parameter": {
"prefix": "gx-text-param",
"body": [
"<param argument=\"--$1\" type=\"text\" value=\"$2\" label=\"$3\" help=\"$4\">",
"<param argument=\"--$1\" type=\"text\" value=\"$2\" label=\"$3\" help=\"${4:TODO}\">",
" <sanitizer invalid_char=\"\">",
" <valid initial=\"string.letters,string.digits\">",
" <add value=\"_\" />",
Expand Down

0 comments on commit 2af30d6

Please sign in to comment.