cli

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExtractGlobalFlags      = "Error extracting global flags"
	ErrCheckFile               = "Error checking file existence"
	ErrExtractConfigFromFile   = "Error extracting configuration from file"
	ErrLoadConfigFromFile      = "Error loading configuration from file"
	ErrMergeDBConfigFlags      = "Error merging database configuration flags"
	ErrMergeMigrationLocations = "Error merging migration locations flag"
	ErrExtractDBConfigFlags    = "Error extracting database configuration flags"
	ErrGetLatestVersion        = "Error getting the latest version from files"
	ErrWriteMigration          = "Error writing migration file"
	ErrReadWithDownFlag        = "Error reading with-down flag"
	ErrConnectToDatabase       = "Error connecting to the database"
	ErrLoadMigrations          = "Error loading migrations"
	ErrRepairMigration         = "Error repairing migration"
	ErrGetFailingMigrations    = "Error getting failing migrations"
	ErrInvalidDriver           = "Invalid database driver"
	ErrValidation              = "Validation error"
)

Functions

func SetupCreateCommand

func SetupCreateCommand() *cobra.Command

func SetupInitCommand

func SetupInitCommand() *cobra.Command

func SetupMigrateCommand

func SetupMigrateCommand() *cobra.Command

func SetupRepairCommand

func SetupRepairCommand() *cobra.Command

func SetupRootCommand

func SetupRootCommand() *cobra.Command

func SetupStatusCommand

func SetupStatusCommand() *cobra.Command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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