2019-11-30 19:00:36 +01:00
|
|
|
# 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
|
|
|
|
━━━━━━━━━━━┯━━━━━━━━━┯━━━━━━━
|
2019-11-28 19:33:17 +01:00
|
|
|
title │ type │ flags
|
2019-11-30 19:00:36 +01:00
|
|
|
───────────┼─────────┼───────
|
2019-11-28 19:33:17 +01:00
|
|
|
from-yaml │ command │ No
|
2019-11-30 19:00:36 +01:00
|
|
|
━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━
|
|
|
|
|
|
|
|
```
|