2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-15 13:38:41 +00:00
nushell/docs/commands/from-yaml.md
Jörn Zaefferer 8ab2b92405
docs/commands: add from.md, update subcommands ()
This adds a top-level document for the new `from` command, with a list of links of all the subcommands.

All the from-* subcommands keep their filename, but the content is updated to use the new subcommand syntax.

Needs matching update for to*

Ref 
2020-05-05 09:01:31 +12:00

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
━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━