cmd

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

func NewCommand

func NewCommand(
	migrationsTblDetector *migrations.TableDetector,
	activityRunner task.ActivityRunner,
	tblPrinter tablePrinter,
	committer *Committer,
) *Command

func (*Command) Run

func (c *Command) Run(ctx context.Context, params *CommandRunParams) error

type CommandRunParams

type CommandRunParams struct {
	Config    *config.Config
	TaskNames []string
	// contains filtered or unexported fields
}

type Committer

type Committer struct {
	// contains filtered or unexported fields
}

func NewCommit

func NewCommit(git *git.Git) *Committer

func (*Committer) Commit

func (c *Committer) Commit(ctx context.Context, params commitParams) error

Jump to

Keyboard shortcuts

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