cli

package
v0.0.0-...-5167e8f Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd interface {
	Exec(ctx context.Context) error
}

func NewCreateCmd

func NewCreateCmd(
	path, name string,
	logger zerolog.Logger,
) Cmd

func NewDownCmd

func NewDownCmd(
	path, to string,
	client mongo.DbClient,
	scriptExecutor mongo.ScriptExecutor,
	logger zerolog.Logger,
) Cmd

func NewSkipCmd

func NewSkipCmd(
	path string,
	version string,
	client mongo.DbClient,
	logger zerolog.Logger,
) Cmd

func NewStatusCmd

func NewStatusCmd(
	path string,
	client mongo.DbClient,
) Cmd

func NewUpCmd

func NewUpCmd(
	path, to string,
	client mongo.DbClient,
	scriptExecutor mongo.ScriptExecutor,
	logger zerolog.Logger,
) Cmd

Jump to

Keyboard shortcuts

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