cmd

package
v0.0.0-...-f99c16a Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFlags

func BindFlags(cmd *cobra.Command, v *viper.Viper)

Set config vars from cpnfig file not already specified on command line.

func ConnectToDBAndMigrate

func ConnectToDBAndMigrate(dbConfig config.Database) (*gorm.DB, error)

func Execute

func Execute() error

Execute executes the root command.

func GetBuiltinIndexer

func GetBuiltinIndexer() *indexerPackage.Indexer

GetBuiltinIndexer returns the indexer instance for the index command. Usable for customizing pre-run setup.

func GetRootCmd

func GetRootCmd() *cobra.Command

func GetViperConfig

func GetViperConfig() *viper.Viper

Types

This section is empty.

Jump to

Keyboard shortcuts

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