feat(deps): implement batch installation and manifest-based (requirements.txt/package.json) parser and importer

This commit is contained in:
duorameng
2026-05-18 17:51:40 +08:00
parent 79e0f44aaa
commit cbdcbed7a0
6 changed files with 343 additions and 0 deletions
+2
View File
@@ -193,6 +193,8 @@ func registerDependencyRoutes(g *gin.RouterGroup, c *Controllers) {
deps.POST("/reinstall/:id", c.Dependency.Reinstall)
deps.POST("/reinstall-all", c.Dependency.ReinstallAll)
deps.POST("/reinstall-all-cmd", c.Dependency.GetReinstallAllCommand)
deps.POST("/batch-install-cmd", c.Dependency.GetBatchInstallCommand)
deps.POST("/import", c.Dependency.ParseAndImport)
deps.GET("/installed", c.Dependency.GetInstalled)
}
}