mirror of
https://github.com/kubescape/kubescape.git
synced 2026-03-26 13:31:05 +00:00
21 lines
507 B
Go
21 lines
507 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
const envFlagUsage = "Send report results to specific URL. Format:<ReportReceiver>,<Backend>,<Frontend>.\n\t\tExample:report.armo.cloud,api.armo.cloud,portal.armo.cloud"
|
|
|
|
// scanCmd represents the scan command
|
|
var scanCmd = &cobra.Command{
|
|
Use: "scan",
|
|
Short: "Scan the current running cluster or yaml files",
|
|
Long: `The action you want to perform`,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(scanCmd)
|
|
}
|