get.porter.sh/porter@v1.3.0/pkg/exec/schema.go (about)

     1  package exec
     2  
     3  import (
     4  	_ "embed"
     5  	"fmt"
     6  )
     7  
     8  //go:embed schema/exec.json
     9  var schema string
    10  
    11  func (m *Mixin) PrintSchema() {
    12  	fmt.Fprint(m.Config.Out, m.GetSchema())
    13  }
    14  
    15  func (m *Mixin) GetSchema() string {
    16  	return schema
    17  }