mirror of
https://github.com/nushell/nushell.git
synced 2024-10-17 15:52:50 +02:00
539e232f3c
Partial fix of issue #711 Docs for the following commands were added - to-csv to-json to-toml to-tsv to-url to-yaml Docs for to-db , to-bson , to-sqlite have not been added as I don't recognize and understand those formats.
28 lines
864 B
Markdown
28 lines
864 B
Markdown
# to-yaml
|
|
|
|
Converts table data into yaml text.
|
|
|
|
## Example
|
|
|
|
```shell
|
|
> shells
|
|
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━
|
|
# │ │ name │ path
|
|
───┼───┼────────────┼────────────────────────
|
|
0 │ X │ filesystem │ /home/shaurya
|
|
1 │ │ filesystem │ /home/shaurya/Pictures
|
|
2 │ │ filesystem │ /home/shaurya/Desktop
|
|
━━━┷━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━
|
|
> shells | to-yaml
|
|
---
|
|
- " ": X
|
|
name: filesystem
|
|
path: /home/shaurya
|
|
- " ": " "
|
|
name: filesystem
|
|
path: /home/shaurya/Pictures
|
|
- " ": " "
|
|
name: filesystem
|
|
path: /home/shaurya/Desktop
|
|
```
|