nushell/docs/commands/from-yaml.md

619 B

from-yaml

Parse text as .yaml/.yml and create table. Use this when nushell cannot determine the input file extension.

Syntax: from-yaml

Examples

> open command_from-yaml
title: from-yaml
type: command
flags: false
> open command_from-yaml | from-yaml
━━━━━━━━━━━┯━━━━━━━━━┯━━━━━━━
 title     │ type    │ flags
───────────┼─────────┼───────
 from-yaml │ command │ No
━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━