cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigFileName  = "settings"
	DefaultConfigFilePath  = "."
	DefaultConfigEnvPrefix = "DERISK_SQL"
)

Variables

View Source
var RootCmd = &cobra.Command{
	Use:          "derisk-sql",
	SilenceUsage: true,
	Short:        "CLI for linting SQL migration files to prevent easy-to-miss mistakes",

	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
		return initializeConfig(cmd)
	},
}

rootCmd represents the base command when called without any subcommands

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
ci
run

Jump to

Keyboard shortcuts

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