Closed atelsier closed 3 weeks ago
Hello @atelsier
With the latest version of KCL v0.9.0-rc.1 There are two ways to achieve this
-q
flag to disable the package downloading log kcl run oci://ghcr.io/kcl-lang/podinfo -D replicas=2 -q
-o
flag to output the YAML content to a temp file kcl run oci://ghcr.io/kcl-lang/podinfo -D replicas=2 -o temp.yaml && cat temp.yaml
i was hoping for 2>/dev/null > temp.yaml
instead of -q
and -o file.yaml
thanks @Peefy
General Question
Hello, i have to do this to make yq work after a
kcl run
invocation:Would it be possible to send information logs to stderr and yaml data to stdout ?