2023-02-14 17:12:19 -05:00
|
|
|
// Copyright 2023 The Gitea Authors. All rights reserved.
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
2023-07-21 05:28:19 -04:00
|
|
|
"github.com/urfave/cli/v2"
|
2023-02-14 17:12:19 -05:00
|
|
|
)
|
|
|
|
|
2023-07-21 05:28:19 -04:00
|
|
|
var subcmdUser = &cli.Command{
|
2023-02-14 17:12:19 -05:00
|
|
|
Name: "user",
|
|
|
|
Usage: "Modify users",
|
2023-07-21 05:28:19 -04:00
|
|
|
Subcommands: []*cli.Command{
|
2023-02-14 17:12:19 -05:00
|
|
|
microcmdUserCreate,
|
|
|
|
microcmdUserList,
|
|
|
|
microcmdUserChangePassword,
|
|
|
|
microcmdUserDelete,
|
|
|
|
microcmdUserGenerateAccessToken,
|
|
|
|
microcmdUserMustChangePassword,
|
|
|
|
},
|
|
|
|
}
|