2013-06-27 19:00:01 +00:00
|
|
|
// Sync files and directories to and from local and remote object stores
|
2013-06-27 18:51:03 +00:00
|
|
|
//
|
2012-11-18 17:32:31 +00:00
|
|
|
// Nick Craig-Wood <nick@craig-wood.com>
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2016-09-12 14:42:57 +00:00
|
|
|
"log"
|
2014-03-27 16:55:29 +00:00
|
|
|
|
2016-08-04 21:18:56 +00:00
|
|
|
"github.com/ncw/rclone/cmd"
|
2016-08-05 16:12:27 +00:00
|
|
|
_ "github.com/ncw/rclone/cmd/all" // import all commands
|
|
|
|
_ "github.com/ncw/rclone/fs/all" // import all fs
|
2012-11-18 17:32:31 +00:00
|
|
|
)
|
|
|
|
|
2016-08-02 22:56:20 +00:00
|
|
|
func main() {
|
2016-08-04 21:18:56 +00:00
|
|
|
if err := cmd.Root.Execute(); err != nil {
|
2016-09-12 14:42:57 +00:00
|
|
|
log.Fatalf("Fatal error: %v", err)
|
2016-01-09 15:25:48 +00:00
|
|
|
}
|
2012-11-18 17:32:31 +00:00
|
|
|
}
|