mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
build: add build tags to create customizable binaries
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// +build extended
|
||||
|
||||
package cli
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
func enableCli(rootCmd *cobra.Command) {
|
||||
rootCmd.AddCommand(NewConfigCommand())
|
||||
rootCmd.AddCommand(NewImageCommand(NewSearchService()))
|
||||
rootCmd.AddCommand(NewCveCommand(NewSearchService()))
|
||||
}
|
||||
Reference in New Issue
Block a user