Spec-Zone.ru › Nushell

to yaml for formats

Convert table into .yaml/.yml text.

Signature

> to yaml {flags}

Flags

  • --serialize, -s: Serialize nushell types that cannot be deserialized.

Input/output types:

input output
any string

Examples

Outputs a YAML string representing the contents of this table.

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

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/to_yaml.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API