|
|
|
@ -68,10 +68,10 @@ var rootCommand = &cobra.Command{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|
pf := rootCommand.PersistentFlags()
|
|
|
|
|
pf.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on")
|
|
|
|
|
pf.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'")
|
|
|
|
|
pf.BoolVar(&enableTracing, "trace", false, "enable rpc tracing")
|
|
|
|
|
p := rootCommand.PersistentFlags()
|
|
|
|
|
p.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on")
|
|
|
|
|
p.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'")
|
|
|
|
|
p.BoolVar(&enableTracing, "trace", false, "enable rpc tracing")
|
|
|
|
|
rootCommand.Execute()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|