[MM-56854] Add shell completion to mmctl user active|deactivate (#26358)

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Ben Schumacher
2024-04-24 10:14:20 +02:00
коммит произвёл GitHub
родитель 8ba157f284
Коммит 92a6c6517d
4 изменённых файлов: 73 добавлений и 4 удалений

Просмотреть файл

@@ -63,6 +63,7 @@ type Client interface {
GetUser(ctx context.Context, userID, etag string) (*model.User, *model.Response, error)
GetUserByUsername(ctx context.Context, userName, etag string) (*model.User, *model.Response, error)
GetUserByEmail(ctx context.Context, email, etag string) (*model.User, *model.Response, error)
GetUsersWithCustomQueryParameters(ctx context.Context, page int, perPage int, queryParameters, etag string) ([]*model.User, *model.Response, error)
PermanentDeleteUser(ctx context.Context, userID string) (*model.Response, error)
PermanentDeleteAllUsers(ctx context.Context) (*model.Response, error)
CreateUser(ctx context.Context, user *model.User) (*model.User, *model.Response, error)