lando.yaml.load(file) ⇒ Object

Loads a yaml object from a file.

Since: 3.0.0

Param Type Description
file String The path to the file to be loaded

Returns: Object - The loaded object
Example

// Add a string to the cache
const thing = lando.yaml.load('/tmp/myfile.yml');

lando.yaml.dump(file, data) ⇒ String

Dumps an object to a YAML file

Since: 3.0.0

Param Type Description
file String The path to the file to be loaded
data Object The object to dump

Returns: String - Flename

results matching ""

    No results matching ""