2020-05-04 21:01:31 +00:00
|
|
|
# from yaml
|
2019-11-30 18:00:36 +00:00
|
|
|
|
|
|
|
Parse text as `.yaml/.yml` and create table. Use this when nushell cannot determine the input file extension.
|
|
|
|
|
2020-05-04 21:01:31 +00:00
|
|
|
Syntax: `from yaml`
|
2019-11-30 18:00:36 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
```shell
|
|
|
|
> open command_from-yaml
|
|
|
|
title: from-yaml
|
|
|
|
type: command
|
|
|
|
flags: false
|
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
2020-05-04 21:01:31 +00:00
|
|
|
> open command_from-yaml | from yaml
|
2019-11-30 18:00:36 +00:00
|
|
|
━━━━━━━━━━━┯━━━━━━━━━┯━━━━━━━
|
2019-11-28 18:33:17 +00:00
|
|
|
title │ type │ flags
|
2019-11-30 18:00:36 +00:00
|
|
|
───────────┼─────────┼───────
|
2019-11-28 18:33:17 +00:00
|
|
|
from-yaml │ command │ No
|
2019-11-30 18:00:36 +00:00
|
|
|
━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━
|
|
|
|
```
|