Yaml

Summary

YAML related cake aliases.

In order to use aliases from this addin, you will need to also reference YamlDotNet as an addin. Here is what including Cake.Yaml in your script should look like:

#addin package:?Cake.Yaml
#addin package:?YamlDotNet&version=4.2.1

General

DeserializeYaml<T>(ICakeContext, string) Deserializes the YAML from a string.
Addin from Cake.Yaml.dll
DeserializeYamlFromFile<T>(ICakeContext, FilePath) Deserializes the YAML from a file.
Addin from Cake.Yaml.dll
SerializeYaml<T>(ICakeContext, T) Serializes an object to a YAML string.
Addin from Cake.Yaml.dll
SerializeYamlToFile<T>(ICakeContext, FilePath, T) Serializes an object to a YAML file.
Addin from Cake.Yaml.dll