data

package
v0.33.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupCmd

type BackupCmd struct {
	dsc.Config

	File string `arg:""  default:"backup.tar.gz" help:"file path to target backup file"`
}

func (*BackupCmd) Run

func (cmd *BackupCmd) Run(ctx context.Context) error

type ExportCmd

type ExportCmd struct {
	dsc.Config

	Directory string `short:"d" required:"" help:"directory to write .json data" default:"${cwd}"`
}

func (*ExportCmd) Run

func (cmd *ExportCmd) Run(ctx context.Context) error

type ImportCmd

type ImportCmd struct {
	dsc.Config

	Directory string `short:"d" required:"" help:"directory containing .json data"  default:"${cwd}"`
}

func (*ImportCmd) Run

func (cmd *ImportCmd) Run(ctx context.Context) error

type RestoreCmd

type RestoreCmd struct {
	dsc.Config

	File string `arg:""  default:"backup.tar.gz" help:"file path to source backup file"`
}

func (*RestoreCmd) Run

func (cmd *RestoreCmd) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL