cmd

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "vendors",
	Short: "synctv vendors",
	Long:  `synctv https://github.com/synctv-org/vendors`,
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		s, err := utils.GetEnvFiles(".")
		if err != nil {
			logrus.Fatalf("error getting .env files: %v", err)
		}
		if len(s) != 0 {
			err = godotenv.Overload(s...)
			if err != nil {
				logrus.Fatalf("error loading .env files: %v", err)
			}
		}
		_ = bootstrap.InitLog()
	},
}

Functions

func Execute

func Execute()

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