@@ -209,7 +209,7 @@ In case of trouble: [Go Modules FAQ][mod-faq].
|
||||
|
||||
## Tools
|
||||
|
||||
Go-toml provides one handy command line tool:
|
||||
Go-toml provides two handy command line tools:
|
||||
|
||||
* `tomljson`: Reads a TOML file and outputs its JSON representation.
|
||||
|
||||
@@ -218,6 +218,13 @@ Go-toml provides one handy command line tool:
|
||||
$ tomljson --help
|
||||
```
|
||||
|
||||
* `jsontoml`: Reads a JSON file and outputs a TOML representation.
|
||||
|
||||
```
|
||||
$ go install github.com/pelletier/go-toml/v2/cmd/jsontoml@latest
|
||||
$ jsontoml --help
|
||||
```
|
||||
|
||||
## Migrating from v1
|
||||
|
||||
This section describes the differences between v1 and v2, with some pointers on
|
||||
|
||||
Reference in New Issue
Block a user