forked from extern/nushell
33 lines
883 B
Markdown
33 lines
883 B
Markdown
|
# to-toml
|
||
|
|
||
|
Converts table data into toml text.
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```shell
|
||
|
> shells
|
||
|
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━
|
||
|
# │ │ name │ path
|
||
|
───┼───┼────────────┼────────────────────────
|
||
|
0 │ X │ filesystem │ /home/shaurya
|
||
|
1 │ │ filesystem │ /home/shaurya/Pictures
|
||
|
2 │ │ filesystem │ /home/shaurya/Desktop
|
||
|
━━━┷━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━
|
||
|
> shells | to-toml
|
||
|
[[]]
|
||
|
" " = "X"
|
||
|
name = "filesystem"
|
||
|
path = "/home/shaurya"
|
||
|
|
||
|
[[]]
|
||
|
" " = " "
|
||
|
name = "filesystem"
|
||
|
path = "/home/shaurya/Pictures"
|
||
|
|
||
|
[[]]
|
||
|
" " = " "
|
||
|
name = "filesystem"
|
||
|
path = "/home/shaurya/Desktop"
|
||
|
|
||
|
```
|