2022-10-10 15:05:55 +03:00
|
|
|
//go:build search
|
|
|
|
// +build search
|
2020-10-14 14:47:20 -07:00
|
|
|
|
2023-09-16 01:17:01 +03:00
|
|
|
package client
|
2020-10-14 14:47:20 -07:00
|
|
|
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
|
|
|
|
func enableCli(rootCmd *cobra.Command) {
|
|
|
|
rootCmd.AddCommand(NewConfigCommand())
|
|
|
|
rootCmd.AddCommand(NewImageCommand(NewSearchService()))
|
2023-09-08 15:12:47 +03:00
|
|
|
rootCmd.AddCommand(NewCVECommand(NewSearchService()))
|
2022-06-02 17:14:21 +03:00
|
|
|
rootCmd.AddCommand(NewRepoCommand(NewSearchService()))
|
2023-06-22 20:43:01 +03:00
|
|
|
rootCmd.AddCommand(NewSearchCommand(NewSearchService()))
|
2023-11-22 19:25:21 +02:00
|
|
|
rootCmd.AddCommand(NewServerStatusCommand())
|
2020-10-14 14:47:20 -07:00
|
|
|
}
|