diff options
Diffstat (limited to 'cmd/vartan/show.go')
-rw-r--r-- | cmd/vartan/show.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cmd/vartan/show.go b/cmd/vartan/show.go index c142623..c56be1f 100644 --- a/cmd/vartan/show.go +++ b/cmd/vartan/show.go @@ -8,11 +8,11 @@ import ( "strings" "text/template" - "github.com/nihei9/vartan/grammar" - spec "github.com/nihei9/vartan/spec/grammar" - "github.com/spf13/cobra" + "grammar" + spec "spec/grammar" ) +/* func init() { cmd := &cobra.Command{ Use: "show", @@ -23,8 +23,9 @@ func init() { } rootCmd.AddCommand(cmd) } +*/ -func runShow(cmd *cobra.Command, args []string) error { +func runShow(args []string) error { report, err := readReport(args[0]) if err != nil { return err |