1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

lib: add plugin support

This enables loading plugins from RCLONE_PLUGIN_PATH if set.
This commit is contained in:
Richard Patel
2019-09-23 02:41:02 +02:00
committed by Nick Craig-Wood
parent 349112df6b
commit 44b603d2bd
4 changed files with 93 additions and 1 deletions

View File

@@ -6,7 +6,8 @@ package main
import (
_ "github.com/rclone/rclone/backend/all" // import all backends
"github.com/rclone/rclone/cmd"
_ "github.com/rclone/rclone/cmd/all" // import all commands
_ "github.com/rclone/rclone/cmd/all" // import all commands
_ "github.com/rclone/rclone/lib/plugin" // import plugins
)
func main() {