1
mirror of https://github.com/rclone/rclone synced 2025-01-04 05:06:24 +01:00
rclone/rclone.go

22 lines
404 B
Go
Raw Normal View History

2013-06-27 21:00:01 +02:00
// Sync files and directories to and from local and remote object stores
2013-06-27 20:51:03 +02:00
//
// Nick Craig-Wood <nick@craig-wood.com>
package main
import (
"fmt"
"os"
2014-03-27 17:55:29 +01:00
"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)
2016-01-09 16:25:48 +01:00
}
os.Exit(0)
}