toml docs

This commit is contained in:
Mike Farah 2023-03-31 10:24:19 +11:00
parent dc45add0e9
commit 2f98ff832c

View File

@ -88,24 +88,3 @@ owner:
suburb: nice
```
## Parse: with header
Given a sample.toml file of:
```toml
[servers]
[servers.alpha]
ip = "10.0.0.1"
```
then
```bash
yq -oy '.' sample.toml
```
will output
```yaml
servers:
alpha:
ip: 10.0.0.1
```