mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
18 lines
531 B
Go
18 lines
531 B
Go
|
// Package logger implements testing for the sync (and bisync) logger
|
||
|
package logger
|
||
|
|
||
|
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/lib/plugin" // import plugins
|
||
|
)
|
||
|
|
||
|
// Main enables the testscript package. See:
|
||
|
// https://bitfieldconsulting.com/golang/cli-testing
|
||
|
// https://pkg.go.dev/github.com/rogpeppe/go-internal@v1.11.0/testscript
|
||
|
func Main() int {
|
||
|
cmd.Main()
|
||
|
return 0
|
||
|
}
|