Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExecCmd = &cobra.Command{ Use: "exec", Short: "Manage Mr. Smith execs", 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.Run == "" && shared.Module == "" { choice := handleTea() if choice == "run" { execRun.Execute() os.Exit(0) } else { execModule.Execute() os.Exit(0) } } if shared.Module != "" { execModule.Execute() os.Exit(0) } if shared.Run != "" { execRun.Execute() os.Exit(0) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.