intermediate

This commit is contained in:
Ben Johnson
2020-12-27 09:56:23 -07:00
parent 98014f4e49
commit 44973dbbbc
3 changed files with 313 additions and 2 deletions

View File

@@ -52,6 +52,8 @@ func (m *Main) Run(ctx context.Context, args []string) (err error) {
return (&GenerationsCommand{}).Run(ctx, args)
case "replicate":
return (&ReplicateCommand{}).Run(ctx, args)
case "restore":
return (&RestoreCommand{}).Run(ctx, args)
case "version":
return (&VersionCommand{}).Run(ctx, args)
default:
@@ -73,8 +75,10 @@ Usage:
The commands are:
replicate runs a server to replicate databases
version prints the version
generations list available generations across all dbs & replicas
replicate runs a server to replicate databases
restore recovers database backup from a replica
version prints the version
`[1:])
}