code-intelligence.com/cifuzz@v0.40.0/internal/cmd/container/remoterun/remoterun.go (about)

     1  package remoterun
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"github.com/spf13/cobra"
     7  )
     8  
     9  func New() *cobra.Command {
    10  	return newWithOptions()
    11  }
    12  
    13  func newWithOptions() *cobra.Command {
    14  	cmd := &cobra.Command{
    15  		Use:   "remote-run",
    16  		Short: "Build and run a Fuzz Test container image on a CI server",
    17  		RunE: func(c *cobra.Command, args []string) error {
    18  			fmt.Println("Called container remote-run!")
    19  			return nil
    20  		},
    21  	}
    22  
    23  	return cmd
    24  }