blob: 8d2219da861cc76e00f66bfed7b7f50e2001885f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package main
import (
"github.com/spf13/cobra"
)
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()
}
|