Add git-init reminder; remove AGENTS.md

This commit is contained in:
2026-08-26 23:14:54 +02:00
parent 6f7cff954a
commit 45eefc7765
4 changed files with 53 additions and 84 deletions
+15
View File
@@ -31,6 +31,12 @@
"datatype": "bool",
"description": "If set, skips running 'dotnet restore' automatically after creating the project.",
"defaultValue": "false"
},
"skipGit": {
"type": "parameter",
"datatype": "bool",
"description": "If set, skips printing the reminder to initialize a git repository.",
"defaultValue": "false"
}
},
"primaryOutputs": [
@@ -45,6 +51,15 @@
],
"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
}
]
}