mirror of
https://github.com/project-zot/zot.git
synced 2024-12-23 22:27:35 -05:00
f58597ade9
Signed-off-by: Alexei Dodon <adodon@cisco.com>
14 lines
394 B
Go
14 lines
394 B
Go
//go:build search
|
|
// +build search
|
|
|
|
package client
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func enableCli(rootCmd *cobra.Command) {
|
|
rootCmd.AddCommand(NewConfigCommand())
|
|
rootCmd.AddCommand(NewImageCommand(NewSearchService()))
|
|
rootCmd.AddCommand(NewCVECommand(NewSearchService()))
|
|
rootCmd.AddCommand(NewRepoCommand(NewSearchService()))
|
|
rootCmd.AddCommand(NewSearchCommand(NewSearchService()))
|
|
}
|