Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RunCmd = &cobra.Command{ Use: "run", Short: "Run a pipeline", Run: func(cmd *cobra.Command, args []string) { if len(varsSlice) > 0 { for _, v := range varsSlice { splitVar := strings.Split(v, ":") shared.Vars[splitVar[0]] = splitVar[1] } } if shared.Pipeline == "" && shared.Module == "" { choice := handleTea() if choice == "pipeline" { execPipeline.Execute() os.Exit(0) } else { execModule.Execute() os.Exit(0) } } if shared.Module != "" { execModule.Execute() os.Exit(0) } if shared.Pipeline != "" { execPipeline.Execute() os.Exit(0) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.