nushell/docs/commands/from-yaml.md

25 lines
622 B
Markdown
Raw Normal View History

# from-yaml
2019-11-29 18:15:51 +01:00
Parse text as `.yaml/.yml` and create table. Use this when nushell cannot dertermine 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
━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━
```