From ab1ad9eecffed26c4aa3d6fd346d7b06e9eadbb1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 2 Dec 2024 15:41:30 -0300 Subject: Build and test existing code as is --- cmd/vartan/show.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cmd/vartan/show.go') 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 -- cgit v1.2.3