mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 06:20:30 +08:00
20 lines
405 B
Go
20 lines
405 B
Go
// Sync files and directories to and from local and remote object stores
|
|
//
|
|
// Nick Craig-Wood <nick@craig-wood.com>
|
|
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/ncw/rclone/cmd"
|
|
|
|
_ "github.com/ncw/rclone/backend/all" // import all backends
|
|
_ "github.com/ncw/rclone/cmd/all" // import all commands
|
|
)
|
|
|
|
func main() {
|
|
if err := cmd.Root.Execute(); err != nil {
|
|
log.Fatalf("Fatal error: %v", err)
|
|
}
|
|
}
|