mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
98854337ff
It was not used for UI, it had become a CLI dependency with the same functionality as search Signed-off-by: Andrei Aaron <andaaron@cisco.com>
13 lines
333 B
Go
13 lines
333 B
Go
//go:build search
|
|
// +build search
|
|
|
|
package cli
|
|
|
|
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()))
|
|
}
|