rclone/rclone.go

22 lines
404 B
Go

// Sync files and directories to and from local and remote object stores
//
// Nick Craig-Wood <nick@craig-wood.com>
package main
import (
"fmt"
"os"
"github.com/ncw/rclone/cmd"
_ "github.com/ncw/rclone/cmd/all" // import all commands
_ "github.com/ncw/rclone/fs/all" // import all fs
)
func main() {
if err := cmd.Root.Execute(); err != nil {
fmt.Println(err)
os.Exit(-1)
}
os.Exit(0)
}