feat(cmd): run in client mode by default

run in client mode by default

Signed-off-by: mritd <mritd@linux.com>
This commit is contained in:
mritd 2022-02-10 10:54:16 +08:00
parent d783ded672
commit f6de3a8fdf
No known key found for this signature in database
GPG Key ID: 150E1851F767CDDD

View File

@ -72,6 +72,9 @@ var rootCmd = &cobra.Command{
go checkUpdate() go checkUpdate()
} }
}, },
Run: func(cmd *cobra.Command, args []string) {
clientCmd.Run(cmd, args)
},
} }
var clientCmd = &cobra.Command{ var clientCmd = &cobra.Command{