mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
12 lines
261 B
Go
12 lines
261 B
Go
|
// +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()))
|
||
|
}
|