cue cmd gengithub

-- x.cue --
package x

test: #Workflow & {
}

#Workflow: {
	#: "working-directory": string
}
-- x_tool.cue --
package x

import (
 "tool/file"
 "encoding/yaml"
)

command: gengithub: {
 write: file.Create & {
  filename: "test.yml"
  contents: """
   # Generated by ci_tool.cue; do not edit

   \(yaml.Marshal(test))
   """
 }
}