wip
This commit is contained in:
parent
86283b0a91
commit
9162a41505
@ -1,6 +1,5 @@
|
||||
/*
|
||||
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
|
||||
|
||||
*/
|
||||
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")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user