aboutsummaryrefslogtreecommitdiff
path: root/cmd/vartan/root.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/vartan/root.go')
-rw-r--r--cmd/vartan/root.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmd/vartan/root.go b/cmd/vartan/root.go
index 32eb3c3..3dda70c 100644
--- a/cmd/vartan/root.go
+++ b/cmd/vartan/root.go
@@ -4,21 +4,7 @@ import (
"os"
)
-/*
-var rootCmd = &cobra.Command{
- Use: "vartan",
- Short: "Generate a portable LALR(1) parsing table from grammar you defined",
- Long: `vartan provides two features:
-- Generate a portable LALR(1) parsing table from grammar you defined.
-- Parse a text stream according to the grammar.`,
- SilenceErrors: true,
- SilenceUsage: true,
-}
-*/
-
func Execute() error {
- // return rootCmd.Execute()
-
cmd := os.Args[1]
args := os.Args[2:]