github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/cmd/bacalhau/run.go (about)

     1  package bacalhau
     2  
     3  import (
     4  	"github.com/spf13/cobra"
     5  )
     6  
     7  func newRunCmd() *cobra.Command {
     8  	runCmd := &cobra.Command{
     9  		Use:               "run",
    10  		Short:             "Run a job on the network (see subcommands for supported flavors)",
    11  		PreRun:            applyPorcelainLogLevel,
    12  		PersistentPreRunE: checkVersion,
    13  	}
    14  	runCmd.AddCommand(newRunPythonCmd())
    15  	return runCmd
    16  }