github.com/solo-io/cue@v0.4.7/pkg/tool/exec/pkg.go (about)

     1  // Code generated by go generate. DO NOT EDIT.
     2  
     3  //go:generate rm pkg.go
     4  //go:generate go run ../../gen/gen.go
     5  
     6  package exec
     7  
     8  import (
     9  	"github.com/solo-io/cue/internal/core/adt"
    10  	"github.com/solo-io/cue/pkg/internal"
    11  )
    12  
    13  func init() {
    14  	internal.Register("tool/exec", pkg)
    15  }
    16  
    17  var _ = adt.TopKind // in case the adt package isn't used
    18  
    19  var pkg = &internal.Package{
    20  	Native: []*internal.Builtin{},
    21  	CUE: `{
    22  	Run: {
    23  		$id:  *"tool/exec.Run" | "exec"
    24  		cmd:  string | [string, ...string]
    25  		dir?: string
    26  		env: {
    27  			[string]: string | [...=~"="]
    28  		}
    29  		stdout:  *null | string | bytes
    30  		stderr:  *null | string | bytes
    31  		stdin:   *null | string | bytes
    32  		success: bool
    33  	}
    34  }`,
    35  }