[PR #249] [MERGED] refactor: move validation logic for plugin initialization under quick… #401

Closed
opened 2026-02-16 01:15:51 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/249
Author: @Yeuoly
Created: 4/27/2025
Status: Merged
Merged: 4/27/2025
Merged by: @Yeuoly

Base: mainHead: fix/only-validate-profile-on-quick-mode


📝 Commits (1)

  • 01b711b refactor: move validation logic for plugin initialization under quick flag

📊 Changes

1 file changed (+14 additions, -12 deletions)

View changed files

📝 cmd/commandline/plugin/init.go (+14 -12)

📄 Description

… flag

  • Updated the InitPluginWithFlags function to conditionally validate the plugin name, author, and description only when the quick flag is set.
  • This change improves the flexibility of the plugin initialization process by allowing bypassing validation in certain scenarios.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-daemon/pull/249 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 4/27/2025 **Status:** ✅ Merged **Merged:** 4/27/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix/only-validate-profile-on-quick-mode` --- ### 📝 Commits (1) - [`01b711b`](https://github.com/langgenius/dify-plugin-daemon/commit/01b711b043061e66079a76919fb91b88d99b7e0c) refactor: move validation logic for plugin initialization under quick flag ### 📊 Changes **1 file changed** (+14 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `cmd/commandline/plugin/init.go` (+14 -12) </details> ### 📄 Description … flag - Updated the InitPluginWithFlags function to conditionally validate the plugin name, author, and description only when the quick flag is set. - This change improves the flexibility of the plugin initialization process by allowing bypassing validation in certain scenarios. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:15:51 -05:00
yindo closed this issue 2026-02-16 01:15:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#401