package gpu import ( "log" "github.com/beclab/beos/cli/pkg/pipelines" "github.com/spf13/cobra" ) func NewCmdDisableGpu() *cobra.Command { cmd := &cobra.Command{ Use: "disable", Short: "Disable GPU drivers for beOS node", Run: func(cmd *cobra.Command, args []string) { if err := pipelines.DisableGpuNode(); err != nil { log.Fatalf("error: %v", err) } }, } return cmd }