diff --git a/cmd/injector.go b/cmd/injector.go index 9edf77a..9aae8f0 100644 --- a/cmd/injector.go +++ b/cmd/injector.go @@ -1,6 +1,5 @@ /* Copyright © 2024 NAME HERE - */ package cmd @@ -28,13 +27,8 @@ to quickly create a Cobra application.`, func init() { rootCmd.AddCommand(injectorCmd) - // Here you will define your flags and configuration settings. - - // Cobra supports Persistent Flags which will work for this command - // and all subcommands, e.g.: - // injectorCmd.PersistentFlags().String("foo", "", "A help for foo") - - // Cobra supports local flags which will only run when this command - // is called directly, e.g.: - // injectorCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle") + injectorCmd.Flags().String("http-addr", ":9443", "nats.io broker host address") + injectorCmd.Flags().String("nats-host", "nats", "nats.io broker host address") + injectorCmd.Flags().Int("nats-port", 4222, "nats.io broker tcp port") + injectorCmd.Flags().String("log-level", "debug", "log level trace") }