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