github.com/kubeshop/testkube@v1.17.23/cmd/kubectl-testkube/commands/common/validator/executionidfilename.go (about)

     1  package validator
     2  
     3  import (
     4  	"errors"
     5  
     6  	"github.com/spf13/cobra"
     7  )
     8  
     9  func ExecutionIDAndFileNames(cmd *cobra.Command, args []string) error {
    10  	if len(args) < 3 {
    11  		return errors.New("please pass 'Execution ID' ,'Filename' and 'Destination Directory' as arguments")
    12  	}
    13  	return nil
    14  }