nushell/docs/commands/to_yaml.md

248 B

title layout version
to yaml command 0.59.1

Convert table into .yaml/.yml text

Signature

> to yaml

Examples

Outputs an YAML string representing the contents of this table

> [[foo bar]; ["1" "2"]] | to yaml