mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
25 lines
306 B
Markdown
25 lines
306 B
Markdown
|
---
|
||
|
title: from toml
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
Parse text as .toml and create table.
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> from toml ```
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Converts toml formatted string to table
|
||
|
```shell
|
||
|
> 'a = 1' | from toml
|
||
|
```
|
||
|
|
||
|
Converts toml formatted string to table
|
||
|
```shell
|
||
|
> 'a = 1
|
||
|
b = [1, 2]' | from toml
|
||
|
```
|