feat: add reset-password CLI command for any user
This commit is contained in:
@@ -19,7 +19,8 @@ var rootCmd = &cobra.Command{
|
||||
go run ./cmd/server
|
||||
|
||||
子命令:
|
||||
reset-admin-password 重置管理员密码(交互式,无参数时自动提示)`,
|
||||
reset-admin-password 重置管理员密码(交互式,无参数时自动提示)
|
||||
reset-password 重置任意用户密码`,
|
||||
RunE: func(c *cobra.Command, args []string) error {
|
||||
return serve()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user