github.com/jfrog/jfrog-cli-core@v1.12.1/artifactory/commands/curl/curl.go (about)

     1  package curl
     2  
     3  import (
     4  	"github.com/jfrog/jfrog-cli-core/common/commands"
     5  )
     6  
     7  type RtCurlCommand struct {
     8  	commands.CurlCommand
     9  }
    10  
    11  func NewRtCurlCommand(curlCommand commands.CurlCommand) *RtCurlCommand {
    12  	return &RtCurlCommand{curlCommand}
    13  }
    14  
    15  func (curlCmd *RtCurlCommand) CommandName() string {
    16  	return "rt_curl"
    17  }