Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCMD = &cobra.Command{ Use: "govend", Short: "Govend vendors external packages.", Long: rootDesc, Run: func(cmd *cobra.Command, args []string) { if version { fmt.Println("0.1.5") return } if scan { if err := Scan(args, format, testfiles, all); err != nil { log.Fatal(err) } return } if err := Vend(args, update, verbose, results, commands, lock, format); err != nil { log.Fatal(err) } }, }
RootCMD describes the root command.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.