Files
terraform-docs/cmd/toml.go
Khosrow Moossavi b397b7d46b feat: Add support for TOML renderer (#197)
* Add support for TOML renderer

* Add kind:formatter to toml command

* update docs

* adjust tests after merge

* fix after merge

* adjust tests after merge

* update docs

* remove vendor leftovers

* update doc

* update tests
2020-05-14 12:41:21 -04:00

18 lines
312 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
var tomlCmd = &cobra.Command{
Args: cobra.ExactArgs(1),
Use: "toml [PATH]",
Short: "Generate TOML of inputs and outputs",
Annotations: formatAnnotations("toml"),
RunE: formatRunE,
}
func init() {
rootCmd.AddCommand(tomlCmd)
}