google / google/jsonnet

std.manifestTomlEx: Output a more minimal form of TOML

Open
#1,184 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jsonnet
Stars
7.6k
Forks
475
PR merge metrics
No merged PRs in 30d

Description

Do not output extra key headers with no values within:

```toml
[tool]

[tool.item]
key = 1
```

Instead just write:

```toml
[tool.item]
key = 1
```

Also I think `std.manifestToml` should be an alias to Ex with no spaces: `manifestToml(value):: std.manifestTomlEx(value, ''),`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.