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
|
|
|
//
|
2012-11-18 18:32:31 +01:00
|
|
|
// Nick Craig-Wood <nick@craig-wood.com>
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2016-09-12 16:42:57 +02:00
|
|
|
"log"
|
2014-03-27 17:55:29 +01:00
|
|
|
|
2016-08-04 23:18:56 +02:00
|
|
|
"github.com/ncw/rclone/cmd"
|
2016-08-05 18:12:27 +02:00
|
|
|
_ "github.com/ncw/rclone/cmd/all" // import all commands
|
|
|
|
_ "github.com/ncw/rclone/fs/all" // import all fs
|
2012-11-18 18:32:31 +01:00
|
|
|
)
|
|
|
|
|
2016-08-03 00:56:20 +02:00
|
|
|
func main() {
|
2016-08-04 23:18:56 +02:00
|
|
|
if err := cmd.Root.Execute(); err != nil {
|
2016-09-12 16:42:57 +02:00
|
|
|
log.Fatalf("Fatal error: %v", err)
|
2016-01-09 16:25:48 +01:00
|
|
|
}
|
2012-11-18 18:32:31 +01:00
|
|
|
}
|