mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:04:52 +01:00
22 lines
404 B
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)
|
|
}
|