serve restic: serves a remote in restic REST API format

This commit is contained in:
Nick Craig-Wood 2018-02-17 23:25:59 +00:00
parent 9e48748182
commit d073efdc6c
3 changed files with 489 additions and 0 deletions

View file

@ -5,6 +5,7 @@ import (
"github.com/ncw/rclone/cmd"
"github.com/ncw/rclone/cmd/serve/http"
"github.com/ncw/rclone/cmd/serve/restic"
"github.com/ncw/rclone/cmd/serve/webdav"
"github.com/spf13/cobra"
)
@ -12,6 +13,7 @@ import (
func init() {
Command.AddCommand(http.Command)
Command.AddCommand(webdav.Command)
Command.AddCommand(restic.Command)
cmd.Root.AddCommand(Command)
}