MCPcopy
hub / github.com/benbjohnson/litestream / Usage

Method Usage

cmd/litestream/main.go:237–262  ·  view source on GitHub ↗

Usage prints the help screen to STDOUT.

()

Source from the content-addressed store, hash-verified

235
236// Usage prints the help screen to STDOUT.
237func (m *Main) Usage() {
238 fmt.Println(`
239litestream is a tool for replicating SQLite databases.
240
241Usage:
242
243 litestream <command> [arguments]
244
245The commands are:
246
247 databases list databases specified in config file
248 info show daemon information
249 list list all managed databases
250 ltx list available LTX files for a database
251 register register a database for replication
252 replicate runs a server to replicate databases
253 reset reset local state for a database
254 restore recovers database backup from a replica
255 start start replication for a database
256 status display replication status for databases
257 stop stop replication for a database
258 sync force an immediate sync for a database
259 unregister unregister a database from replication
260 version prints the binary version
261`[1:])
262}
263
264// Config represents a configuration file for the litestream daemon.
265type Config struct {

Calls

no outgoing calls