mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 08:59:12 +01:00
8ab2b92405
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 #1709
25 lines
619 B
Markdown
25 lines
619 B
Markdown
# from yaml
|
|
|
|
Parse text as `.yaml/.yml` and create table. Use this when nushell cannot determine the input file extension.
|
|
|
|
Syntax: `from yaml`
|
|
|
|
## Examples
|
|
|
|
```shell
|
|
> open command_from-yaml
|
|
title: from-yaml
|
|
type: command
|
|
flags: false
|
|
```
|
|
|
|
```shell
|
|
> open command_from-yaml | from yaml
|
|
━━━━━━━━━━━┯━━━━━━━━━┯━━━━━━━
|
|
title │ type │ flags
|
|
───────────┼─────────┼───────
|
|
from-yaml │ command │ No
|
|
━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━
|
|
|
|
```
|