Files
terraform-docs/cmd/yaml.go
2020-04-10 19:08:37 -04:00

18 lines
312 B
Go

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