mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 03:26:57 +08:00
test cobra
This commit is contained in:
parent
757a668047
commit
5a77f91fa0
@ -27,8 +27,8 @@ var startCmd = &cobra.Command{
|
||||
}
|
||||
|
||||
func init() {
|
||||
startCmd.Flags().IntP("port", "port", 10002, "Port to listen on")
|
||||
startCmd.Flags().StringP("config_path", "config_path", "", "Path to config file folder")
|
||||
startCmd.Flags().IntP("port", "p", 10002, "Port to listen on")
|
||||
startCmd.Flags().StringP("config_path", "c", "", "Path to config file folder")
|
||||
}
|
||||
|
||||
func run(port int) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user