mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-08 10:17:49 +00:00
19 lines
272 B
Go
19 lines
272 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var openCmd = &cobra.Command{
|
|
Use: "open",
|
|
Short: "Open the web UI in the browser.",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
runOpen()
|
|
return nil
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(openCmd)
|
|
}
|