client/cmd/trdl/exec.go
Function execCmd
has 6 return statements (exceeds 4 allowed). Open
Open
func execCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "exec REPO GROUP [CHANNEL] [BINARY_NAME] [--] [ARGS]",
Short: "Exec a software binary",
DisableFlagsInUseLine: true,
Function processExecArgs
has 5 return statements (exceeds 4 allowed). Open
Open
func processExecArgs(cmd *cobra.Command, args []string) (*execCmdData, error) {
data := &execCmdData{}
data.repoName = args[0]
data.group = args[1]