cli

package
v0.0.0-...-949c8fb Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrateCmd

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

func NewMigratorCmd

func NewMigratorCmd(deps MigrateCmdDeps) *MigrateCmd

func (*MigrateCmd) Description

func (*MigrateCmd) Description() string

func (*MigrateCmd) Name

func (*MigrateCmd) Name() string

func (*MigrateCmd) Run

func (c *MigrateCmd) Run(cmd *cobra.Command, args []string)

type MigrateCmdDeps

type MigrateCmdDeps struct {
	fx.In

	Migrator *migration.Migrator
}

type RegisterCommandsDeps

type RegisterCommandsDeps struct {
	fx.In

	MigrateCmd *MigrateCmd
}

type RegisterCommandsResult

type RegisterCommandsResult struct {
	fx.Out

	MigrateCmd cli.Command `group:"command"`
}

Jump to

Keyboard shortcuts

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