Even though the official maintains a plugin template so that developers can create a standard plugin project, we still need to go through the operation of pulling code and modifying package.json and manifest.json files.
Therefore I have developed a tool named obsidian-plugin-generator for the obsidian plugin project quickly generating.
Spoke to soon… While wrapping it in quotes gets rid of the errors, the commands are not actually executed. So the .git folder is not removed and reinitialized. Still playing with this but powershell can be a real pain sometimes. The main thing is the repo is successfully cloned. I can always just delete the .git folder manually.