mirror of
https://github.com/appleboy/drone-discord.git
synced 2026-06-04 18:33:47 +08:00
feat: add debug mode for plugin configuration dumping
- Add a new dependency for godump in go.mod - Import godump in main.go - Introduce a debug flag in the CLI options - Update the run function to include the debug flag - Add logic to dump the plugin configuration if debug mode is enabled - Extend the plugin struct to include a debug field Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in: