rclone/rclone.go
2016-08-05 17:13:54 +01:00

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)
}