This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/tests/core-concepts/client/plans/file.cue
Solomon Hykes 11586abfdc
docs/1203: keep code sample on topic
Shorten one of the code samples, keeping only the part that speaks to the topic in the docs.
2022-03-26 21:47:37 -07:00

12 lines
211 B
CUE

import (
"encoding/yaml"
// ...
)
dagger.#Plan & {
client: filesystem: "config.yaml": write: {
// Convert a CUE value into a YAML formatted string
contents: yaml.Marshal(actions.pull.output.config)
}
}