cli

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorDescribeTable = errors.New("ErrorDescribeTable")
)
View Source
var Revision = "HEAD"
View Source
var Version string

Functions

func Backup

func Backup(ctx context.Context, opt *BackupOption) error

func Write added in v0.0.4

func Write(ctx context.Context, opt *WriteOption) error

Types

type BackupOption

type BackupOption struct {
	TableName string
	FilePath  string
	Limit     int
}

type VersionFlag

type VersionFlag string

func (VersionFlag) BeforeApply

func (v VersionFlag) BeforeApply(app *kong.Kong, vars kong.Vars) error

func (VersionFlag) Decode

func (v VersionFlag) Decode(ctx *kong.DecodeContext) error

func (VersionFlag) IsBool

func (v VersionFlag) IsBool() bool

type WriteOption added in v0.0.4

type WriteOption struct {
	TableName string
	FilePath  string
	DryRun    bool
	Limit     int
	Action    ddbrew.DDBAction
}

Jump to

Keyboard shortcuts

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