package
Version:
v0.32.30
Opens a new window with list of versions in this module.
Published: Oct 10, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CLI struct {
Init InitCmd `cmd:"" help:"create new database file"`
Set SetCmd `cmd:"" help:"set manifest"`
Load LoadCmd `cmd:"" help:"load data"`
Sync SyncCmd `cmd:"" help:"sync data"`
}
type InitCmd struct {
DBFile string `arg:"" help:"db file name"`
}
type LoadCmd struct {
DBFile string `arg:"" help:"db file name" type:"existingfile"`
DataDir string `arg:"" help:"data file directory" type:"existingdir"`
}
type SetCmd struct {
DBFile string `arg:"" help:"db file name" type:"existingfile"`
Manifest string `arg:"" help:"manifest file path" type:"existingfile"`
}
type SyncCmd struct {
DBFile string `arg:"" help:"db file name" type:"existingfile"`
Mode []string `flag:"" short:"m" enum:"manifest,full,diff,watermark" required:"" help:"sync mode"`
dsc.Config
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.