summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/pelletier/go-toml/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pelletier/go-toml/cmd')
-rw-r--r--vendor/github.com/pelletier/go-toml/cmd/tomljson/main.go5
-rw-r--r--vendor/github.com/pelletier/go-toml/cmd/tomll/main.go5
2 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/pelletier/go-toml/cmd/tomljson/main.go b/vendor/github.com/pelletier/go-toml/cmd/tomljson/main.go
index 8bfe46210..b2d6fc673 100644
--- a/vendor/github.com/pelletier/go-toml/cmd/tomljson/main.go
+++ b/vendor/github.com/pelletier/go-toml/cmd/tomljson/main.go
@@ -1,3 +1,8 @@
+// Tomljson reads TOML and converts to JSON.
+//
+// Usage:
+// cat file.toml | tomljson > file.json
+// tomljson file1.toml > file.json
package main
import (
diff --git a/vendor/github.com/pelletier/go-toml/cmd/tomll/main.go b/vendor/github.com/pelletier/go-toml/cmd/tomll/main.go
index f185c56b9..36c7e3759 100644
--- a/vendor/github.com/pelletier/go-toml/cmd/tomll/main.go
+++ b/vendor/github.com/pelletier/go-toml/cmd/tomll/main.go
@@ -1,3 +1,8 @@
+// Tomll is a linter for TOML
+//
+// Usage:
+// cat file.toml | tomll > file_linted.toml
+// tomll file1.toml file2.toml # lint the two files in place
package main
import (