aboutsummaryrefslogtreecommitdiff
path: root/cmd/vartan/show.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/vartan/show.go')
-rw-r--r--cmd/vartan/show.go13
1 files changed, 1 insertions, 12 deletions
diff --git a/cmd/vartan/show.go b/cmd/vartan/show.go
index c56be1f..397ac7f 100644
--- a/cmd/vartan/show.go
+++ b/cmd/vartan/show.go
@@ -12,18 +12,7 @@ import (
spec "spec/grammar"
)
-/*
-func init() {
- cmd := &cobra.Command{
- Use: "show",
- Short: "Print a report in a readable format",
- Example: ` vartan show grammar-report.json`,
- Args: cobra.ExactArgs(1),
- RunE: runShow,
- }
- rootCmd.AddCommand(cmd)
-}
-*/
+
func runShow(args []string) error {
report, err := readReport(args[0])