blob: 573890e9b1b6cbf5e8c1dc6ce33ed5ff68a394c5 [file] [log] [blame]
package kube
import (
"encoding/yaml"
"tool/exec"
"tool/cli"
)
command create: {
task kube: exec.Run & {
cmd: "kubectl create --dry-run -f -"
stdin: yaml.MarshalStream(objects)
stdout: string
}
task display: cli.Print & {
text: task.kube.stdout
}
}