Add 'databases' command.

This commit is contained in:
Ben Johnson
2020-12-30 16:10:48 -07:00
parent 11d7d22383
commit cff778464e
7 changed files with 78 additions and 20 deletions

View File

@@ -19,10 +19,6 @@ type ReplicateCommand struct {
DBs []*litestream.DB
}
func NewReplicateCommand() *ReplicateCommand {
return &ReplicateCommand{}
}
// Run loads all databases specified in the configuration.
func (c *ReplicateCommand) Run(ctx context.Context, args []string) (err error) {
fs := flag.NewFlagSet("litestream-replicate", flag.ContinueOnError)