Move project into content/; add description param

This commit is contained in:
2026-08-27 02:09:55 +02:00
parent ea7d7d3b6b
commit dd6325f2a1
8 changed files with 187 additions and 107 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
"isVisible": "true"
},
{
"id": "SkipGit",
"name": { "text": "Skip Git" },
"id": "PluginDescription",
"name": { "text": "Plugin Description" },
"isVisible": "true"
}
]
+12 -14
View File
@@ -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
}
]
}