Move project into content/; add description param
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
"isVisible": "true"
|
||||
},
|
||||
{
|
||||
"id": "SkipGit",
|
||||
"name": { "text": "Skip Git" },
|
||||
"id": "PluginDescription",
|
||||
"name": { "text": "Plugin Description" },
|
||||
"isVisible": "true"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -10,19 +10,26 @@
|
||||
},
|
||||
"sourceName": "LabApiPluginTemplate",
|
||||
"preferNameDirectory": true,
|
||||
"sources": [
|
||||
{
|
||||
"source": "./content",
|
||||
"target": "./"
|
||||
}
|
||||
],
|
||||
"symbols": {
|
||||
"PluginAuthor": {
|
||||
"type": "parameter",
|
||||
"datatype": "string",
|
||||
"defaultValue": "YourName",
|
||||
"defaultValue": "Your Name",
|
||||
"replaces": "YourName",
|
||||
"description": "Name used as the plugin's author."
|
||||
},
|
||||
"SkipGit": {
|
||||
"PluginDescription": {
|
||||
"type": "parameter",
|
||||
"datatype": "bool",
|
||||
"description": "If set, skips printing the reminder to initialize a git repository.",
|
||||
"defaultValue": "false"
|
||||
"datatype": "string",
|
||||
"defaultValue": "Your Description",
|
||||
"replaces": "TODO: describe what this plugin does.",
|
||||
"description": "Short description of what the plugin does."
|
||||
}
|
||||
},
|
||||
"primaryOutputs": [
|
||||
@@ -36,15 +43,6 @@
|
||||
],
|
||||
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
|
||||
"continueOnError": true
|
||||
},
|
||||
{
|
||||
"condition": "(!SkipGit)",
|
||||
"description": "This project is not a git repository yet.",
|
||||
"manualInstructions": [
|
||||
{ "text": "Run 'git init && git add -A && git commit -m \"Initial commit\"'" }
|
||||
],
|
||||
"actionId": "AC1156F7-BB77-4DB8-B28F-24EEBCCA1E5C",
|
||||
"continueOnError": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user