mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +01:00
24 lines
311 B
Markdown
24 lines
311 B
Markdown
---
|
|
title: from yml
|
|
layout: command
|
|
version: 0.59.1
|
|
---
|
|
|
|
Parse text as .yaml/.yml and create table.
|
|
|
|
## Signature
|
|
|
|
```> from yml ```
|
|
|
|
## Examples
|
|
|
|
Converts yaml formatted string to table
|
|
```shell
|
|
> 'a: 1' | from yaml
|
|
```
|
|
|
|
Converts yaml formatted string to table
|
|
```shell
|
|
> '[ a: 1, b: [1, 2] ]' | from yaml
|
|
```
|