mmctl 명령줄 도구

Mattermost v11.11번역일: 2026-09-02원본 보기

mmctl은 로컬에 설치되어 Mattermost API를 사용하는 Mattermost 서버용 CLI 도구이며, 원격으로도 사용할 수 있습니다. 인증은 로그인 자격 증명 또는 인증 토큰으로 수행합니다. mmctl은 배포판에 기본 포함되어 있으며 CLI를 대체합니다. 현재 mmctl은 Mattermost CLI 도구와 함께 사용할 수 있습니다. Mattermost CLI 도구는 향후 릴리스에서 사용 중단될 예정입니다.

로컬에 설치되므로 자체 호스팅과 Cloud Mattermost 인스턴스의 시스템 관리자 모두, 서버에 (예: SSH로) 접근할 수 없는 환경에서도 CLI 명령을 실행할 수 있습니다.

이 기능은 상당 부분 커뮤니티 기여로 개발되었으며, 이 프로젝트에 참여한 기여자들에게 깊이 감사드립니다. 현재 mattermost-server 저장소의 Help Wanted 이슈에 대한 풀 리퀘스트를 받고 있습니다. mmctl의 단위 테스트 커버리지 캠페인은 Unit testing mmctl commands 블로그 글에서 자세히 확인할 수 있습니다.

mmctl 사용 시 참고 사항

  • 시스템 관리자가 mmctl 명령을 실행하는 방법은 두 가지입니다. 설치 방법에 안내된 릴리스 URL에서 mmctl을 내려받거나, 아래 빌드 방법을 참고해 직접 빌드하면 됩니다. 소스 코드는 mattermost 저장소의 server/cmd/mmctl 디렉터리에 있습니다.
  • mmctl은 Mattermost 배포판에도 함께 포함되어 있으며, 설치 디렉터리의 bin 폴더에 CLI와 나란히 위치합니다.
    • Mattermost bin 폴더 경로를 $PATH 환경 변수에 추가하는 것을 권장합니다. 그러면 현재 디렉터리 위치와 관계없이 로컬에서 mmctl 명령을 실행할 수 있습니다.
    • bin 디렉터리를 $PATH 환경 변수에 추가하지 않으면, mmctl을 쓸 때마다 bin 디렉터리 안에서 명령을 실행해야 하고 명령 앞에 ./를 붙여야 합니다. 다른 디렉터리에서 작업 중이라면 mmctl 명령을 실행할 때 mmctl의 전체 경로를 지정하세요.
  • mmctl 명령의 매개변수는 순서를 지켜야 합니다.
  • mmctl 명령에 --local 플래그를 사용하면 Unix 소켓으로 서버와 통신하도록 허용해 인증 없이 명령을 실행할 수 있습니다. 활성화 방법과 사용법은 로컬 모드 문서를 참고하세요.
  • 특수 문자(!, |, (, ), \, ', ")를 사용할 때는 인수 전체를 작은따옴표로 감싸거나(예: -password 'mypassword!'), 각 문자를 이스케이프해야 합니다(예: password mypassword\!).
  • 팀 이름과 채널 이름은 표시 이름이 아니라 핸들을 가리킵니다. 따라서 URL이 https://community.mattermost.com/core/channels/town-square라면 팀 이름은 core, 채널 이름은 town-square입니다.

mmctl 명령 목록

옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
-h, --help                     help for mmctl
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl 설치

mmctl 도구는 Mattermost 패키지에 함께 포함되어 있습니다. 패키지와 별도로 설치하려는 고객을 위해 다음과 같은 mmctl 설치 방법을 제공합니다.

릴리스 패키지

Linux, macOS, Windows 릴리스 페이지를 사용한다면 릴리스 URL로 mmctl 빌드를 내려받는 것을 권장합니다. URL 형식은 https://releases.mattermost.com/mmctl/${MATTERMOST_VERSION}/${PLATFORM}_${ARCHITECTURE}.tar입니다(windows는 .tar 대신 .zip을 사용합니다).

예를 들어 linux용 mmctl amd64 빌드 v10.7.0 버전을 내려받으려면 다음을 실행합니다.

curl -vfsSL -O https://releases.mattermost.com/mmctl/v10.7.0/linux_amd64.tar

지원 플랫폼과 아키텍처는 linux(amd64, arm64), darwin(amd64, arm64), windows(amd64 전용)입니다.

로컬 Git 클론

로컬 Git 클론에서 mmctl을 빌드하면 소스 코드를 직접 다루고, 최신 기능을 사용하고, 맞춤 변경을 실험할 수 있습니다. mmctl을 필요에 맞게 수정하거나, 버그를 고치거나, 정식 릴리스 전에 새 업데이트를 테스트하려는 경우에 적합한 방식입니다.

git clone https://github.com/mattermost/mattermost.git
cd mattermost/server
go install ./cmd/mmctl

Homebrew

Linux와 macOS에서 이 방법은 공식 지원 대상이 아닙니다.이 설치 경로는 커뮤니티가 관리합니다. 이슈를 제보할 때는 homebrew/homebrew-core 저장소를 참고하세요.

Linux와 macOS에 Homebrew가 설치되어 있다면 이 방법을 사용하세요.

brew install mmctl

mmctl 빌드

mmctl 도구는 의존성 관리에 go 모듈을 사용하므로, 머신에 go 1.19 이상이 설치되어 있어야 합니다.

mattermost 저장소를 로컬 머신에 체크아웃한 뒤, 프로젝트 루트 디렉터리에서 다음을 실행해 mmctl 바이너리를 컴파일할 수 있습니다.

make -C server mmctl-build

로컬 모드

로컬 모드는 자체 호스팅 배포에서만 사용할 수 있습니다.

로컬 모드를 사용하면 Mattermost 서버에 접근할 수 있는 플랫폼 관리자가 사용자를 등록하지 않고도 API를 대상으로 mmctl 명령을 실행할 수 있습니다. 이 API를 안전하게 사용할 수 있도록, 서버는 서버 파일 시스템에 접근할 수 있는 사용자만 접근 가능한 로컬 소켓을 노출합니다. 소켓으로 들어온 요청은 인가된 것으로 처리되므로 사용자 세션 없이도 핸들러에 도달합니다.

소켓이 노출하는 API는 API 문서에 있는 것과 동일한 명세를 따르므로, mmctl은 별도의 수정 없이 이 API와 통신할 수 있습니다. 소켓을 통해 요청이 들어오면 서버가 해당 요청을 로컬로 표시하며, 세션 권한을 확인해 세션을 올바르게 인가할 때 이 표시를 고려합니다.

로컬 모드 활성화

로컬 모드를 사용하려면 먼저 Mattermost 서버에서 로컬 모드를 활성화 해야 합니다. 로컬 모드가 활성화되면 기본적으로 /var/tmp/mattermost_local.socket에 소켓이 생성됩니다.

팁

mmctl에서 로컬 모드를 사용할 때는 서버와 mmctl을 같은 사용자로 실행하거나, 다른 사용자로 전환하기 전에 소켓 파일을 정리하세요. socket file "/var/tmp/mattermost_local.socket" doesn't exists, please check the server configuration for local mode와 같은 오류가 발생하면 해당 설정값을 true로 지정해 해결할 수 있습니다.

로컬 모드 사용

Mattermost v10.8부터는 인증 설정에 인증 자격 증명이 없으면 mmctl이 자동으로 로컬 모드로 간주하므로, 사용하려는 명령에 --local 플래그를 직접 붙이지 않아도 됩니다. 유효한 자격 증명이 있으면 Mattermost는 기존과 같이 이를 검증합니다.

Mattermost v10.8 이전 버전에서는 사용하려는 명령에 --local을 붙이거나 환경 변수를 MMCTL_LOCAL=true로 설정해야 합니다.

기본값이 아닌 소켓 파일을 사용하려면 환경 변수를 MMCTL_LOCAL_SOCKET_PATH로 설정해야 합니다. 이 파일은 서버 설정값과 일치해야 합니다.

mmctl 테스트 실행

자체 호스팅 배포에서만 사용할 수 있습니다.

mmctl에는 단위 테스트와 엔드 투 엔드 테스트, 두 가지 종류의 테스트가 있습니다.

테스트를 실행하려면 mattermost 프로젝트 루트 디렉터리에서 다음 명령을 실행합니다.

# For the unit tests
make -C server test-mmctl-unit

# For the end to end tests
make -C server test-mmctl-e2e

mmctl auth

설명

원격 Mattermost 인스턴스의 자격 증명과 인증 방식을 관리합니다.

하위 명령

옵션

-h, --help   help for auth

mmctl auth clean

설명

Mattermost 인스턴스에 연결된 자격 증명을 정리합니다.

형식

mmctl auth clean [flags]

예시

mmctl auth clean

옵션

-h, --help   help for clean

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl auth current

설명

현재 저장된 사용자 자격 증명을 표시합니다.

형식

mmctl auth current [flags]

예시

mmctl auth current

옵션

-h, --help   help for current

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl auth delete

설명

이름이 지정된 자격 증명을 삭제합니다.

형식

mmctl auth delete [server name] [flags]

예시

mmctl auth delete local-server

옵션

-h, --help   help for delete

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl auth list

설명

등록된 자격 증명 목록을 출력합니다.

형식

mmctl auth list [flags]

예시

mmctl auth list

옵션

-h, --help   help for auth list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl auth login

설명

인스턴스에 로그인하고 자격 증명을 저장합니다. 사용자 이름과 비밀번호 대신 개인 액세스 토큰으로 로그인할 수도 있습니다. 자세한 내용은 액세스 토큰을 참고하세요.

형식

mmctl auth login [instance url] --name [server name] --username [username] --password-file [password-file] [flags]

예시

mmctl auth login https://mattermost.example.com
mmctl auth login https://mattermost.example.com --name local-server --username sysadmin --password-file mysupersecret.txt
mmctl auth login https://mattermost.example.com --name local-server --username sysadmin --password-file mysupersecret.txt --mfa-token 123456
mmctl auth login https://mattermost.example.com --name local-server --access-token myaccesstoken

옵션

-t, --access-token-file string   Access token file to be read to use instead of username/password
-h, --help                       help for login
-m, --mfa-token string           MFA token for the credentials
-n, --name string                Name for the credentials
    --no-activate                If present, it won't activate the credentials after login
-f, --password-file string       Password file to be read for the credentials
-u, --username string            Username for the credentials

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

비밀번호

$ mmctl auth login https://community.mattermost.com --name community --username my-username --password-file mysupersecret

login 명령은 대화형으로도 동작하므로, 필수 플래그를 비워 두면 mmctl이 대화형으로 값을 물어봅니다.

$ mmctl auth login https://community.mattermost.com
Connection name: community
Username: my-username
Password File:

MFA

MFA로 로그인하려면 --mfa-token 플래그를 사용합니다.

$ mmctl auth login https://community.mattermost.com --name community --username my-username --password-file mysupersecret --mfa-token 123456

액세스 토큰

사용자 이름과 비밀번호로 로그인하는 대신, 개인 액세스 토큰을 생성해 서버 인증에 사용할 수 있습니다.

$ mmctl auth login https://community.mattermost.com --name community --access-token MY_ACCESS_TOKEN

또는 사용자 이름과 비밀번호로 Mattermost 서버에 로그인할 수도 있습니다.

$ mmctl auth login https://my-instance.example.com --name my-instance --username john.doe --password-file mysupersecret
credentials for my-instance: john.doe@https://my-instance.example.com stored

현재 저장된 자격 증명은 다음으로 확인할 수 있습니다.

$ mmctl auth list

| Active |        Name | Username |                     InstanceUrl |
|--------|-------------|----------|---------------------------------|
|      * | my-instance | john.doe | https://my-instance.example.com |

이제 명령을 정상적으로 실행할 수 있습니다.

$ mmctl user search john.doe
id: qykfw3t933y38k57ubct77iu9c
username: john.doe
nickname:
position:
first_name: John
last_name: Doe
email: john.doe@example.com
auth_service:
auth_data:

셸 자동 완성 설치

mmctl은 Mattermost v11부터 bash, fish, powershell, zsh용 셸 자동 완성을 지원합니다.

bash용 셸 자동 완성을 설치하려면 ~/.bashrc 또는 ~/.profile 파일에 다음 줄을 추가합니다.

source <(mmctl completion bash)

zsh는 ~/.zshrc 파일에 다음 줄을 추가합니다.

source <(mmctl completion zsh)

fish는 fish 설정에 다음 줄을 추가합니다.

mmctl completion fish | source

powershell은 PowerShell 프로필에 다음 줄을 추가합니다.

mmctl completion powershell | Out-String | Invoke-Expression

mmctl auth renew

설명

지정한 서버의 자격 증명을 갱신합니다.

형식

mmctl auth renew [flags]

예시

mmctl auth renew local-server

옵션

-t, --access-token-file string   Access token file to be read to use instead of username/password
-h, --help                       help for renew
-m, --mfa-token string           MFA token for the credentials
-f, --password-file string       Password file to be read for the credentials

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl auth set

설명

이후 명령에서 사용할 자격 증명을 설정합니다.

형식

mmctl auth set [server name] [flags]

예시

mmctl auth set local-server

옵션

-h, --help   help for set

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

서버에 인증한 뒤(예: >mmctl auth login https://test.mattermost.com)), 사용자 이름과 비밀번호를 입력합니다. 계정에 MFA가 활성화되어 있으면 MFA 토큰도 입력합니다.

mmctl bot

봇을 관리합니다.

하위 명령

옵션

-h, --help   help for bot

mmctl bot assign

설명

봇의 소유권을 다른 사용자에게 할당합니다.

형식

mmctl bot assign [bot-username] [new-owner-username] [flags]

예시

mmctl bot assign testbot user2

옵션

-h, --help              help for assign

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl bot create

설명

봇을 생성합니다.

형식

mmctl bot create [username] [flags]

예시

mmctl bot create testbot

옵션

--description string    Optional. The description text for the new bot.
--display-name string   Optional. The display name for the new bot.
-h, --help              help for create
--with-token            Optional. Auto genreate access token for the bot.

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl bot disable

설명

활성화된 봇을 비활성화합니다.

형식

mmctl bot disable [username] [flags]

예시

mmctl bot disable testbot

옵션

-h, --help     help for disable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl bot enable

설명

비활성화된 봇을 활성화합니다.

형식

mmctl bot enable [username] [flags]

예시

mmctl bot enable testbot

옵션

-h, --help              help for enable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl bot list

설명

봇 사용자 목록을 표시합니다.

형식

mmctl bot list [flags]

예시

mmctl bot list

옵션

--all        Optional. Show all bots (including deleleted and orphaned)
-h, --help   help for list
--orphaned   Optional. Only show orphaned bots

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl bot update

설명

봇 정보를 업데이트합니다.

형식

mmctl bot update [username] [flags]

예시

mmctl bot update testbot --username newbotusername

옵션

--description string    Optional. The new description text for the bot
--display-name string   Optional. The new display name for the bot
-h, --help              help for update
--username string       Optional. The new username for the bot

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel

채널을 관리합니다.

하위 명령

옵션

-h, --help   help for channel

mmctl channel archive

설명

데이터베이스의 게시물을 포함해 관련 정보 전체와 함께 채널을 보관 처리합니다. 채널은 [team]:[channel] 형식(예: myteam:mychannel)이나 채널 ID로 지정할 수 있습니다.

형식

mmctl channel archive [channels] [flags]

예시

mmctl channel archive myteam:mychannel

옵션

-h, --help   help for archive

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel add

이 명령은 사용 중단되었습니다. 대신 mmctl channel users add를 사용하세요.

설명

사용자를 채널에 추가합니다.

형식

mmctl channel add [channel] [users] [flags]

예시

mmctl channel add myteam:mychannel user@example.com username

옵션

-h, --help   help for add

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel create

설명

채널을 생성합니다.

형식

mmctl channel create [flags]

예시

mmctl channel create --team myteam --name mynewchannel --display-name "My New Channel"
mmctl channel create --team myteam --name mynewprivatechannel --display-name "My New Private Channel" --private

옵션

--display-name string   Channel Display Name
--header string         Channel header
-h, --help              help for create
--name string           Channel Name
--private               Create a private channel
--purpose string        Channel purpose
--team string           Team name or ID

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel delete

설명

데이터베이스의 게시물을 포함해 관련 정보 전체와 함께 채널을 영구 삭제합니다.

참고

Enable API Channel Deletion 설정값이 true여야 합니다. 이 설정값이 false이면 mmctl로 채널을 삭제하려는 시도는 실패합니다.

형식

mmctl channel delete [channels] [flags]

예시

mmctl channel delete myteam:mychannel

옵션

--confirm       Confirm you really want to delete the channel and a database backup has been performed.
-h, --help      help for delete

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel list

설명

지정한 팀의 모든 Public 채널, Private 채널, 보관 처리된 채널 목록을 표시합니다. 보관 처리된 채널에는 (archived)가 덧붙습니다. 사용자가 멤버이거나 접근 권한이 있는 Private 채널에는 (private)가 덧붙습니다.

형식

mmctl channel list [teams] [flags]

예시

mmctl channel list myteam

옵션

-h, --help   help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel make-private

이 명령은 사용 중단되었습니다. 대신 mmctl channel modify와 --private 플래그를 사용하세요.

설명

채널 유형을 Public에서 Private으로 변경합니다. 채널은 [team]:[channel] 형식(예: myteam:mychannel)이나 채널 ID로 지정할 수 있습니다.

형식

mmctl channel make-private [channel] [flags]

예시

mmctl channel make-private myteam:mychannel

옵션

-h, --help   help for make-private

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel modify

설명

채널의 Public/Private 유형을 변경합니다. 채널은 [team]:[channel] 형식(예: myteam:mychannel)이나 채널 ID로 지정할 수 있습니다.

형식

mmctl channel modify [channel] [flags]

예시

mmctl channel modify myteam:mychannel --private
mmctl channel modify channelId --public

옵션

-h, --help  help for modify
--private   Convert the channel to a private channel
--public    Convert the channel to a public channel

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel move

설명

지정한 채널을 대상 팀으로 이동합니다. 채널의 모든 사용자가 대상 팀에 속하는지 검증합니다. 수신·발신 웹훅도 채널과 함께 이동합니다. 채널은 [team]:[channel] 형식(예: myteam:mychannel)이나 채널 ID로 지정할 수 있습니다.

형식

mmctl channel move [team] [channels] [flags]

예시

mmctl channel move newteam oldteam:mychannel

옵션

-h, --help    help for move
--force       Remove users that are not members of target team before moving the channel.

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel rename

설명

기존 채널의 이름을 변경합니다.

형식

mmctl channel rename [channel] [flags]

예시

mmctl channel rename myteam:oldchannel --name 'new-channel' --display-name 'New Display Name'
mmctl channel rename myteam:oldchannel --name 'new-channel'
mmctl channel rename myteam:oldchannel --display-name 'New Display Name'

옵션

--display-name string   Channel Display Name
-h, --help              help for rename
--name string           Channel Name

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel remove

이 명령은 사용 중단되었습니다. 대신 mmctl channel users remove를 사용하세요.

설명

사용자를 채널에서 제거합니다.

형식

mmctl channel remove [channel] [users] [flags]

예시

mmctl channel remove myteam:mychannel user@example.com username

옵션

-h, --help   help for remove

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel restore

이 명령은 사용 중단되었습니다. 대신 mmctl channel unarchive를 사용하세요. Mattermost Server v5.26 이상에서는 사용되지 않습니다.

설명

이전에 삭제한 채널을 복원합니다. 채널은 [team]:[channel] 형식(예: myteam:mychannel)이나 채널 ID로 지정할 수 있습니다.

형식

mmctl channel restore [channels] [flags]

예시

mmctl channel restore myteam:mychannel

옵션

-h, --help   help for restore

상위 명령에서 상속된 옵션

--format string               the format of the command output [plain, json] (default "plain")
--insecure-sha1-intermediate  allows the use of insecure TLS protocols, such as SHA-1
--local                       allows communicating with the server through a unix socket
--strict                      will only run commands if the mmctl version matches the server one

설명

채널 이름으로 채널 상세 정보를 검색합니다. 채널은 팀으로 지정하거나(예: --team myteam mychannel) 팀 ID로 지정할 수 있습니다. 채널 이름, 표시 이름, 채널 ID를 반환합니다.

형식

mmctl channel search [channel]
mmctl search --team [team] [channel] [flags]

예시

mmctl channel search mychannel
mmctl channel search --team myteam mychannel

옵션

-h, --help      help for search
--team string   team name or ID

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel unarchive

설명

이전에 보관 처리한 채널의 보관을 해제합니다. 채널은 [team]:[channel] 형식(예: myteam:mychannel)이나 채널 ID로 지정할 수 있습니다.

형식

mmctl channel unarchive [channels] [flags]

예시

mmctl channel unarchive myteam:mychannel

옵션

-h, --help   help for unarchive

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel users

설명

채널 사용자를 관리합니다.

옵션

-h, --help   help for users

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel users add

설명

사용자를 채널에 추가합니다.

형식

mmctl channel users add [channel] [users] [flags]

예시

mmctl channel users add myteam:mychannel user@example.com username

옵션

-h, --help   help for add

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl channel users remove

설명

사용자를 채널에서 제거합니다.

형식

mmctl channel users remove [channel] [users] [flags]

예시

mmctl channel users remove myteam:mychannel user@example.com username
mmctl channel users remove myteam:mychannel --all-users

옵션

--all-users  Remove all users from the indicated channel
-h, --help   help for remove

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl command

슬래시 명령을 관리합니다.

하위 명령

옵션

-h, --help      help for command

mmctl command archive

설명

슬래시 명령을 보관 처리합니다. 명령은 명령 ID로 지정할 수 있습니다.

형식

mmctl command archive [commandID] [flags]

예시

mmctl command archive commandID

옵션

-h, --help   help for archive

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl command create

설명

지정한 팀에 맞춤 슬래시 명령을 생성합니다.

형식

mmctl command create [team] [flags]

예시

mmctl command create myteam --title MyCommand --description "My Command Description" --trigger-word mycommand --url http://localhost:8000/my-slash-handler --creator myusername --response-username my-bot-username --icon http://localhost:8000/my-slash-handler-bot-icon.png --autocomplete --post

옵션

--autocomplete               Show Command in autocomplete list
--autocompleteDesc string    Short Command Description for autocomplete list
--autocompleteHint string    Command Arguments displayed as help in autocomplete list
--creator string             Command Creator's Username (required)
--description string         Command Description
-h, --help                   help for create
--icon string                Command Icon URL
--post                       Use POST method for Callback URL
--response-username string   Command Response Username
--title string               Command Title
--trigger-word string        Command Trigger Word (required)
--url string                 Command Callback URL (required)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl command delete

이 명령은 사용 중단되었습니다. 대신 mmctl command archive를 사용하세요.

설명

슬래시 명령을 삭제합니다. 명령은 명령 ID로 지정할 수 있습니다.

형식

mmctl command delete [flags]

예시

mmctl command delete commandID

옵션

-h, --help   help for delete

상위 명령에서 상속된 옵션

--format string               the format of the command output [plain, json] (default "plain")
--insecure-sha1-intermediate  allows the use of insecure TLS protocols, such as SHA-1
--local                       allows communicating with the server through a unix socket
--strict                      will only run commands if the mmctl version matches the server one

mmctl command list

설명

지정한 팀의 모든 명령 목록을 표시합니다.

형식

mmctl command list [teams] [flags]

예시

mmctl command list myteam

옵션

-h, --help   help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl command modify

설명

슬래시 명령을 수정합니다. 명령은 명령 ID로 지정할 수 있습니다.

형식

mmctl command modify [commandID] [flags]

예시

mmctl command modify commandID --title MyModifiedCommand --description "My Modified Command Description" --trigger-word mycommand --url http://localhost:8000/my-slash-handler --creator myusername --response-username my-bot-username --icon http://localhost:8000/my-slash-handler-bot-icon.png --autocomplete --post

옵션

--autocomplete               Show Command in autocomplete list
--autocompleteDesc string    Short Command Description for autocomplete list
--autocompleteHint string    Command Arguments displayed as help in autocomplete list
--creator string             Command Creator's username, email or id (required)
--description string         Command Description
-h, --help                   help for modify
--icon string                Command Icon URL
--post                       Use POST method for Callback URL
--response-username string   Command Response Username
--title string               Command Title
--trigger-word string        Command Trigger Word (required)
--url string                 Command Callback URL (required)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl command move

설명

슬래시 명령을 다른 팀으로 이동합니다. 명령은 명령 ID로 지정할 수 있습니다.

형식

mmctl command move [team] [commandID] [flags]

예시

mmctl command move newteam commandID

옵션

-h, --help   help for move

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl command show

설명

맞춤 슬래시 명령을 표시합니다. 명령은 명령 ID로 지정할 수 있습니다. 명령 ID, 팀 ID, 트리거 단어, 표시 이름, 생성자 사용자 이름을 반환합니다.

형식

mmctl command show [commandID] [flags]

예시

mmctl command show commandID

옵션

-h, --help   help for show

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl completion

bash, fish, powershell, zsh용 자동 완성 스크립트를 생성합니다.

하위 명령

옵션

-h, --help   help for completion

mmctl completion bash

설명

bash 자동 완성 스크립트를 생성합니다. 이 스크립트는 'bash-completion' 패키지에 의존합니다. 아직 설치되어 있지 않다면 OS 패키지 관리자로 설치할 수 있습니다.

자동 완성을 불러오려면 다음을 실행합니다.

. <(mmctl completion bash)

세션마다 자동 완성을 불러오도록 bash 셸을 설정하려면 위 줄을 ~/.bashrc에 추가합니다.

자동 완성을 불러오려면 다음을 실행합니다.

mmctl completion bash [flags]

옵션

-h, --help          help for bash
--no-descriptions   disable completion descriptions

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl completion fish

설명

fish 자동 완성 스크립트를 생성합니다.

자동 완성을 불러오려면 다음을 실행합니다.

mmctl completion fish | source

세션마다 자동 완성을 불러오도록 fish 셸을 설정하려면 위 줄을 fish 설정에 추가합니다.

형식

mmctl completion fish [flags]

옵션

-h, --help          help for fish
--no-descriptions   disable completion descriptions

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl completion powershell

설명

powershell 자동 완성 스크립트를 생성합니다.

자동 완성을 불러오려면 다음을 실행합니다.

mmctl completion powershell | Out-String | Invoke-Expression

세션마다 자동 완성을 불러오도록 powershell 셸을 설정하려면 위 줄을 PowerShell 프로필에 추가합니다.

형식

mmctl completion powershell [flags]

옵션

-h, --help          help for powershell
--no-descriptions   disable completion descriptions

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl completion zsh

설명

zsh 자동 완성 스크립트를 생성합니다.

자동 완성을 불러오려면 다음을 실행합니다.

. <(mmctl completion zsh)

세션마다 자동 완성을 불러오도록 zsh 셸을 설정하려면 위 줄을 ~/.zshrc에 추가합니다.

형식

mmctl completion zsh [flags]

옵션

-h, --help          help for zsh
--no-descriptions   disable completion descriptions

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl cpa

Enterprise Advanced 플랜에서 사용할 수 있습니다.

확장된 사용자 프로필 정보를 위한 사용자 속성(User Attributes)을 관리합니다.

하위 명령

옵션

-h, --help   help for cpa

mmctl cpa field

설명

사용자 속성 필드를 관리합니다.

하위 명령

옵션

-h, --help   help for field

mmctl cpa field create

설명

새 사용자 속성 필드를 생성합니다.

형식

mmctl cpa field create [field-name] [flags]

예시

mmctl cpa field create "Department" --type text
mmctl cpa field create "Location" --type select --options "New York,London,Tokyo"

옵션

-h, --help          help for create
--type string       field type (text, select, number, date)
--options string    comma-separated list of options for select fields
--required          mark field as required

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl cpa field delete

설명

기존 사용자 속성 필드를 삭제합니다.

형식

mmctl cpa field delete [field-id] [flags]

예시

mmctl cpa field delete department-field-001
mmctl cpa field delete location-field-002 --force

옵션

-h, --help    help for delete
--force       skip confirmation prompt

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl cpa field edit

설명

기존 사용자 속성 필드를 편집합니다.

형식

mmctl cpa field edit [field-id] [flags]

예시

mmctl cpa field edit department-field-001 --name "Department/Division"
mmctl cpa field edit location-field-002 --options "New York,London,Tokyo,Sydney"

옵션

-h, --help          help for edit
--name string       update field name
--type string       update field type (text, select, number, date)
--options string    update comma-separated list of options for select fields
--required          mark field as required
--not-required      mark field as not required

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl cpa field list

설명

모든 사용자 속성 필드 목록을 표시합니다.

형식

mmctl cpa field list [flags]

예시

mmctl cpa field list
mmctl cpa field list --json

옵션

-h, --help   help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl compliance-export

Enterprise, Enterprise Advanced 플랜에서 사용할 수 있습니다.

채널 데이터를 서드파티 컴플라이언스 시스템으로 보관하는 컴플라이언스 내보내기 작업을 관리합니다.

하위 명령

mmctl compliance-export cancel

설명

진행 중인 컴플라이언스 내보내기 작업을 취소합니다.

형식

mmctl compliance-export cancel [complianceExportJobID] [flags]

예시

mmctl compliance-export cancel o98rj3ur83dp5dppfyk5yk6osy

옵션

-h, --help   help for cancel

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl compliance-export create

설명

채널 메시지, 다이렉트 메시지, 파일 업로드, 그리고 플러그인·봇·웹훅이 남긴 게시물을 보관하는 새 컴플라이언스 내보내기 작업을 생성합니다. 서드파티 컴플라이언스 시스템 연동을 위해 CSV, Actiance XML, Global Relay EML 내보내기 형식을 지원합니다.

  • --date를 지정하면 작업은 자정부터 다음 자정(1밀리초 이전)까지 하루 동안 실행됩니다.
  • mmctl로 컴플라이언스 내보내기 작업을 실행해도 다음 예약 작업의 batch_start_time에는 영향을 주지 않습니다. 즉, mmctl로 컴플라이언스 내보내기 작업을 실행하더라도 다음 예약 작업은 평소와 같이 이전 예약 작업의 batch_end_time부터 실행됩니다.

형식

mmctl compliance-export create [complianceExportType] --date "2025-03-27 -0400" [flags]

예시

mmctl compliance-export create csv --date "2025-03-27 -0400"

옵션

--date "YYYY-MM-DD -0000"   Run the export for one day, from 12am to 12am (minus one millisecond) inclusively, in the format with timezone offset: ``YYYY-MM-DD -0000``. E.g., ``2024-10-21 -0400`` for Oct 21, 2024 EDT timezone. ``2023-11-01 +0000`` for Nov 01, 2023 UTC. If set, the ``start`` and ``end`` flags will be ignored.
--end 1743134400000         The end timestamp in unix milliseconds. Posts with updateAt <= end will be exported. If set, ``start`` must be set as well. eg, ``1743134400000`` for 2025-03-28 EDT.
-h, --help                  help for create
--start 1743048000000       The start timestamp in unix milliseconds. Posts with updateAt >= start will be exported. If set, ``end`` must be set as well. eg, ``1743048000000`` for 2025-03-27 EDT.

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl compliance-export download

설명

컴플라이언스 내보내기 파일을 다운로드합니다.

형식

mmctl compliance-export download [complianceExportJobID] [output filepath (optional)] [flags]

예시

mmctl compliance-export download o98rj3ur83dp5dppfyk5yk6osy

옵션

-h, --help       help for list
--num-retries int   Number of retries if the download fails (default 5)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl compliance-export list

설명

모든 컴플라이언스 내보내기 작업을 생성일 내림차순(최신순)으로 정렬해 표시합니다.

형식

mmctl compliance-export list [flags]

옵션

-h, --help       help for list
--all            Fetch all compliance export jobs. --page flag will be ignored if provided
--page int       Page number to fetch for the list of compliance export jobs
--per-page int   Number of compliance export jobs to be fetched (default 200)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl compliance-export show

설명

컴플라이언스 내보내기 작업의 상세 정보를 표시합니다.

형식

mmctl compliance-export show [complianceExportJobID] [flags]

예시

mmctl compliance-export show o98rj3ur83dp5dppfyk5yk6osy

옵션

-h, --help   help for show

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config

구성 설정을 관리합니다.

하위 명령

옵션

-h, --help   help for config

mmctl config edit

설명

EDITOR 환경 변수에 정의된 편집기를 열어 서버 설정을 수정합니다. 수정을 마치면 파일을 저장한 뒤 서버에 업로드합니다.

형식

mmctl config edit [flags]

예시

mmctl config edit

옵션

-h, --help   help for edit

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config export

설명

이 명령으로 서버 설정을 내보내면 다른 서버나 환경으로 가져올 수 있습니다. 마스킹된 값은 도구가 로컬 모드로 실행 중일 때만 내보내집니다.

형식

mmctl config export [flags]

예시

mmctl config export --remove-masked --remove-defaults

옵션

-h, --help              help for export
    --remove-defaults   remove default values from the exported configuration
    --remove-masked     remove masked values from the exported configuration (default true)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config get

설명

점 표기법으로 지정한 이름의 설정값을 가져옵니다.

형식

mmctl config get [flags]

예시

mmctl config get SqlSettings.DriverName

옵션

-h, --help   help for get

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config migrate

설명

파일 기반 설정을 데이터베이스 기반 설정으로(또는 그 반대로) 마이그레이션합니다. Mattermost 서버가 대상 설정을 바라보도록 지정하면 사용을 시작할 수 있습니다. 이 명령은 설정 데이터를 한 유형에서 다른 유형으로 옮기기만 합니다.

참고
  • 저장소 유형을 데이터베이스로 변경하려면 시스템 관리자가 MM_CONFIG 환경 변수를 설정하고 Mattermost 서버를 재시작해야 합니다.
  • migrate 기능을 사용하려면 로컬 모드가 활성화되어 있어야 합니다. 활성화하려면 Mattermost 환경 파일에 다음 줄을 추가합니다.
    MM_SERVICESETTINGS_ENABLELOCALMODE=true

형식

mmctl config migrate [from_config] [to_config] [flags]

예시

mmctl config migrate path/to/config.json "postgres://mmuser:mostest@localhost:5432/mattermost_test?sslmode=disable&connect_timeout=10" --local

옵션

-h, --help   help for migrate

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config patch

설명

지정한 설정 파일로 서버 설정을 패치합니다.

형식

mmctl config patch <config-file> [flags]

예시

mmctl config patch /path/to/config.json

옵션

-h, --help   help for reload

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config reload

설명

서버 설정을 다시 불러와 새 설정을 적용합니다.

형식

mmctl config reload [flags]

예시

mmctl config reload

옵션

-h, --help   help for reload

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config reset

설명

점 표기법으로 지정한 이름의 설정값 또는 설정 섹션을 초기화합니다. 배열 설정에는 여러 값을 지정할 수 있습니다.

형식

mmctl config reset [flags]

예시

mmctl config reset SqlSettings.DriverName LogSettings

옵션

--confirm   Confirm you really want to reset all configuration settings to the default value
-h, --help  help for reset

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config set

설명

점 표기법으로 지정한 이름의 설정값을 설정합니다. 배열 설정에는 여러 값을 지정할 수 있습니다.

참고

Mattermost 플러그인 업로드는 API로도, 로컬 모드의 mmctl로도 활성화할 수 없습니다.

형식

mmctl config set [flags]

예시 4개

mmctl config set SqlSettings.DriverName postgres
mmctl config set SqlSettings.DataSourceReplicas "replica1" "replica2"
mmctl config set PluginSettings.Plugins.com.mattermost.calls.rtcdserviceurl "http://mattermost-rtcd"
mmctl config set LogSettings.AdvancedLoggingJSON '{"console1":{"Type":"console","Format":"json","Levels":[{"ID":5,"Name":"debug","Stacktrace":false},{"ID":4,"Name":"info","Stacktrace":false,"color":36},{"ID":3,"Name":"warn","Stacktrace":false},{"ID":2,"Name":"error","Stacktrace":true,"color":31},{"ID":1,"Name":"fatal","Stacktrace":true,"color":31},{"ID":0,"Name":"panic","Stacktrace":true,"color":31},{"ID":10,"Name":"stdlog","Stacktrace":false}],"Options":{"Out":"stdout"},"MaxQueueSize":1000}}'

옵션

-h, --help   help for set

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config show

설명

서버 설정을 JSON 형식으로 STDOUT에 출력합니다.

형식

mmctl config show [flags]

예시

mmctl config show

옵션

-h, --help   help for show

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl config subpath

설명

Mattermost가 서브패스에서 실행되는 상황을 반영하도록 하드코딩된 프로덕션 클라이언트 자산 경로를 업데이트합니다. 이 명령이 경로를 다시 쓰려면 Mattermost assets 디렉터리에 접근할 수 있어야 합니다.

형식

mmctl config subpath [flags]

예시

# you can rewrite the assets to use a subpath
mmctl config subpath --assets-dir /opt/mattermost/client --path /mattermost

# the subpath can have multiple steps
mmctl config subpath --assets-dir /opt/mattermost/client --path /my/custom/subpath

# or you can fallback to the root path passing /
mmctl config subpath --assets-dir /opt/mattermost/client --path /

옵션

-a, --assets-dir string   directory of the Mattermost assets in the local filesystem
-h, --help                help for subpath
-p, --path string         path to update the assets with

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl docs

설명

mmctl 문서를 생성합니다.

형식

mmctl docs [flags]

옵션

-d, --directory string   The directory where the docs would be generated in. (default "docs")
-h, --help               help for docs

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export

내보내기를 관리합니다.

하위 명령

옵션

-h, --help   help for group

mmctl export create

설명

메시지 첨부 파일을 포함한 내보내기 파일을 생성합니다.

형식

mmctl export create [flags]

옵션

--no-attachments              Omit file attachments in the export file.
--include-archived-channels   Include archived channels in the export file.
-h, --help                    help for create

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export delete

설명

내보내기 파일을 삭제합니다.

형식

mmctl export delete [exportname] [flags]

예시

mmctl export delete export_file.zip

옵션

-h, --help   help for delete

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export download

설명

내보내기 파일을 다운로드합니다.

형식

mmctl export download [exportname] [filepath] [flags]

예시

# You can indicate the name of the export and its destination path
$ mmctl export download samplename sample_export.zip

# If you only indicate the name, the path will match it
$ mmctl export download sample_export.zip

옵션

-h, --help          help for download
--num-retries int   Number of retries to resume a download. (Default is 5)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export generate-presigned-url

설명

Mattermost Cloud 내보내기 파일이 커서 Mattermost 서버에서 내려받기 어려운 경우에 대비해, 해당 내보내기 파일의 사전 서명된 URL을 생성합니다.

EnableExportDirectDownload 기능 플래그가 true로 설정되어 있어야 합니다.

형식

mmctl export generate-presigned-url [exportname] [flags]

옵션

-h, --help   help for generate-presigned-url

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export job

설명

내보내기 작업을 나열하고 표시하고 내보냅니다.

옵션

-h, --help   help for job

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export job cancel

설명

내보내기 작업을 취소합니다.

형식

mmctl export job cancel [exportJobID] [flags]

예시

export job cancel o98rj3ur83dp5dppfyk5yk6osy

옵션

-h, --help     help for download

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export job list

설명

내보내기 작업 목록을 표시합니다. 내보내기 파일 이름에는 작업 ID가 포함됩니다.

형식

mmctl export job list [flags]

예시

mmctl export job list

옵션

--all            Fetch all export jobs. ``--page`` flag will be ignored if provided
-h, --help       help for list
--page int       Page number to fetch for the list of export jobs
--per-page int   Number of export jobs to be fetched (maximum 200)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export job show

설명

내보내기 작업을 표시합니다.

형식

mmctl export job show [exportJobID] [flags]

예시

mmctl export job show

옵션

-h, --help   help for show

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export list

설명

내보내기 파일 목록을 표시합니다. 내보내기 파일 이름에는 작업 ID가 포함됩니다.

형식

mmctl export list [flags]

옵션

-h, --help   help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group

채널 그룹과 팀 그룹을 관리합니다.

하위 명령

mmctl group channel

채널 그룹 관리

하위 명령

옵션

-h, --help   help for group

mmctl group channel disable

설명

지정한 채널의 그룹 제약을 비활성화합니다.

형식

mmctl group channel disable [team]:[channel] [flags]

예시

mmctl group channel disable myteam:mychannel

옵션

-h, --help   help for disable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group channel enable

설명

지정한 채널의 그룹 제약을 활성화합니다.

형식

mmctl group channel enable [team]:[channel] [flags]

예시

mmctl group channel enable myteam:mychannel

옵션

-h, --help   help for enable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group channel list

설명

채널에 연결된 그룹 목록을 표시합니다.

형식

mmctl group channel list [team]:[channel] [flags]

예시

mmctl group channel list myteam:mychannel

옵션

-h, --help   help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group channel status

설명

지정한 채널의 그룹 제약 상태를 표시합니다.

형식

mmctl group channel status [team]:[channel] [flags]

예시

mmctl group channel status myteam:mychannel

옵션

-h, --help   help for status

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group list-ldap

설명

LDAP 그룹 목록을 표시합니다.

형식

mmctl group list-ldap [flags]

예시

mmctl group list-ldap

옵션

-h, --help   help for list-ldap

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group team

팀 그룹을 관리합니다.

하위 명령

옵션

-h, --help   help for group

mmctl group team disable

설명

지정한 팀의 그룹 제약을 비활성화합니다.

형식

mmctl group team disable [team] [flags]

예시

mmctl group team disable myteam

옵션

-h, --help   help for disable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group team enable

설명

지정한 팀의 그룹 제약을 활성화합니다.

형식

mmctl group team enable [team] [flags]

예시

mmctl group team enable myteam

옵션

-h, --help   help for enable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group team list

설명

팀에 연결된 그룹 목록을 표시합니다.

형식

mmctl group team list [team] [flags]

예시

mmctl group team list myteam

옵션

-h, --help   help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group team status

설명

지정한 팀의 그룹 제약 상태를 표시합니다.

형식

mmctl group team status [team] [flags]

예시

mmctl group channel status myteam

옵션

-h, --help   help for status

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl group user

맞춤 사용자 그룹을 관리합니다.

하위 명령

옵션

-h, --help   help for group

mmctl group user restore

설명

맞춤 사용자 그룹을 복원합니다.

형식

mmctl group user restore [groupname] [flags]

예시

mmctl group user restore examplegroup

옵션

-h, --help   help for disable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl extract

콘텐츠 추출 작업을 관리합니다.

하위 명령

옵션

-h, --help   help for list

mmctl extract job

콘텐츠 추출 작업을 나열하고 표시합니다.

하위 명령

mmctl extract job list

설명

콘텐츠 추출 작업 목록을 표시합니다.

형식

mmctl extract job list [flags]

예시

mmctl extract job list

옵션

--all            Fetch all export jobs. --page flag will be ignore if provided
-h, --help       help for list
--page int       Page number to fetch for the list of export jobs
--per-page int   Number of export jobs to be fetched (maximum 200)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl extract job show

설명

추출 작업을 표시합니다.

형식

mmctl extract job show [extractJobID] [flags]

예시

mmctl extract job show f3d68qkkm7n8xgsfxwuo498rah

옵션

-h, --help   help for disable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl extract run

설명

콘텐츠 추출 작업을 시작합니다.

형식

mmctl extract run [flags]

예시

mmctl extract run

옵션

--from int   The timestamp of the earliest file to extract, expressed in seconds since the unix epoch.
-h, --help   help for run
--to int     The timestamp of the latest file to extract, expressed in seconds since the unix epoch. Defaults to the current time.

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import

설명

가져오기를 관리합니다.

하위 명령

옵션

-h, --help   help for import

mmctl import delete

설명

서버에서 가져오기 파일을 삭제합니다.

형식

mmctl import delete [import-name] [flags]

예시

mmctl import delete 35uy6cwrqfnhdx3genrhqqznxc_import.zip
mmctl import delete import1.zip import2.zip

옵션

--confirm       Confirm you really want to delete the import file(s)
-h, --help      help for delete

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import job

설명

가져오기 작업을 나열하고 표시합니다.

옵션

-h, --help   help for status

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import job list

설명

가져오기 작업 목록을 표시합니다.

형식

mmctl import job list [flags]

예시

mmctl import job list

옵션

--all            Fetch all import jobs. --page flag will be ignore if provided
-h, --help       help for list
--page int       Page number to fetch for the list of import jobs
--per-page int   Number of import jobs to be fetched (maximum 200)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import job show

설명

가져오기 작업을 표시합니다.

형식

mmctl import job show [importJobID] [flags]

예시

mmctl import job show f3d68qkkm7n8xgsfxwuo498rah

옵션

-h, --help   help for status

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import list

설명

모든 가져오기 파일 목록을 표시합니다.

예시

mmctl import list

옵션

-h, --help   help for status

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import list available

설명

사용할 수 있는 가져오기 파일 목록을 표시합니다.

형식

mmctl import list available [flags]

예시

mmctl import list available

옵션

-h, --help   help for status

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import list incomplete

설명

완료되지 않은 가져오기 파일 업로드 목록을 표시합니다.

형식

mmctl import list incomplete [flags]

예시

mmctl import list incomplete

옵션

-h, --help   help for status

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import process

설명

가져오기 작업을 시작합니다.

형식

mmctl import process [importname] [flags]

예시

mmctl import process 35uy6cwrqfnhdx3genrhqqznxc_import.zip

옵션

-h, --help          help for status
--bypass-upload     File is read directly from the filesystem, instead of being processed from the server. Supported in --local mode only.
--extract-content   Document attachments will be extracted and indexed during the import process. We recommend disabling this to improve performance.
--workers int       The number of concurrent import worker goroutines. Controls database load during import. When set to ``0`` (default), uses the number of CPUs available. Maximum allowed is 4x the CPU count.

운영 중인 서버를 대상으로 가져오기를 실행할 때는 --workers로 동시성을 낮추면(예: --workers 1) 가져오기 시간이 길어지는 대신 데이터베이스 부하를 최소화할 수 있습니다.

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import upload

설명

가져오기 파일을 업로드합니다.

형식

mmctl import upload [filepath] [flags]

예시

mmctl import upload import_file.zip

옵션

-h, --help        help for upload
--resume          Set to true to resume an incomplete import upload.
--upload string   The ID of the import upload to resume.

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl import validate

설명

가져오기 파일을 검증합니다.

형식

mmctl import validate [filepath] [flags]

예시

import validate import_file.zip --team myteam --team myotherteam

옵션

--check-missing-teams       Check for teams that are not defined but referenced in the archive
--check-server-duplicates   Set to false to ignore teams, channels, and users already present on the server (Default true)
-h, --help                  help for validate
--ignore-attachments        Do not check if the attached files are present in the archive
--team stringarray          Predefined teams to assume as already present on the destination server. Implies --check-missing-teams. The flag can be repeated

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl integrity

설명

이 명령은 Mattermost v9.3부터 사용 중단되었습니다. 관계 무결성 검사를 수행해 발견된 고아 레코드에 대한 정보를 반환합니다. 이 명령은 로컬 모드로만 실행할 수 있습니다.

형식

mmctl integrity [flags]

옵션

--confirm       Confirm you really want to run a complete integrity check that may temporarily harm system performance
-h, --help      help for integrity
-v, --verbose   Show detailed information on integrity check results

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl job

작업을 관리합니다.

하위 명령

옵션

-h, --help   help for ldap

mmctl job list

설명

최근 작업 목록을 표시합니다.

형식

mmctl job list [flags]

예시

job list
 job list --ids jobID1,jobID2
 job list --type ldap_sync --status success
 job list --type ldap_sync --status success --page 0 --per-page 10

옵션

--all             Fetch all import jobs. --page flag will be ignored if provided
-h, --help        help for list
--ids strings     Comma-separated list of job IDs to which the operation will be applied. All other flags are ignored
--page int        Page number to fetch for the list of import jobs
--per-page int    Number of import jobs to be fetched (default 5)
--status string   Filter by job status
--type string     Filter by job type

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl job update

설명

작업의 상태를 업데이트합니다.

중요

허용되는 상태 전이 규칙은 다음과 같습니다.

  • in_progress는 pending으로 변경할 수 있습니다.
  • in_progress 또는 pending은 cancel_requested로 변경할 수 있습니다.
  • cancel_requested는 canceled로 변경할 수 있습니다.

이 제약은 --force=true로 우회할 수 있습니다. 제약을 우회하면 Mattermost 서버에 예기치 않은 영향을 줄 수 있으므로 주의해서 사용해야 합니다.

형식

mmctl job update [job] [status] [flags]

예시

job update myJobID pending
 job update myJobID pending --force true
 job update myJobID canceled --force true

옵션

--force       Setting a job status is restricted to certain statuses. You can overwrite these restrictions by using --force. Use this option with caution.
-h, --help    help for update

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl ldap

LDAP 관련 유틸리티입니다.

하위 명령

옵션

-h, --help   help for ldap

mmctl ldap idmigrate

설명

LDAP IdAttribute를 새 값으로 마이그레이션합니다. 사용자가 계정을 잃지 않고 ID 속성 값을 변경하려면 이 유틸리티를 실행하세요. 명령을 실행한 뒤 시스템 콘솔에서 ID 속성을 새 값으로 변경할 수 있습니다. 예를 들어 현재 ID 속성이 sAMAccountName이고 이를 objectGUID로 변경하려면 다음과 같이 진행합니다.

  1. 서버 재시작으로 사용자가 영향을 받지 않는 비혼잡 시간대를 기다립니다.
  2. mmctl ldap idmigrate objectGUID 명령을 실행합니다.
  3. 시스템 콘솔에서 설정을 새 값 objectGUID로 업데이트합니다.
  4. Mattermost 서버를 재시작합니다.

형식

mmctl ldap idmigrate <objectGUID> [flags]

예시

mmctl ldap idmigrate objectGUID

옵션

-h, --help   help for idmigrate

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl ldap job

LDAP 동기화 작업을 나열하고 표시합니다.

하위 명령

옵션

-h, --help   help for ldap

mmctl ldap job list

설명

LDAP 동기화 작업 목록을 표시합니다.

형식

mmctl ldap job list [flags]

예시

mmctl ldap job list

옵션

--all            Fetch all import jobs. The ``--page`` flag will be ignored if provided.
-h, --help       help for list
--page int       Page number to fetch for the list of import jobs
--per-page int   Number of import jobs to be fetched (maximum 200)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl ldap job show

설명

LDAP 동기화 작업을 표시합니다.

형식

mmctl ldap job show [ldapJobID] [flags]

예시

mmctl ldap show f3d68qkkm7n8xgsfxwuo498rah

옵션

-h, --help       help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl ldap sync

설명

모든 LDAP 사용자와 그룹을 즉시 동기화합니다.

형식

mmctl ldap sync [flags]

예시

mmctl ldap sync

옵션

-h, --help                  help for sync
--include-removed-members   **Deprecated in v11.0**: Include members who left or were removed from a group-synced team/channel. Useful in cases where synchronized groups are unlinked/re-linked for testing purposes, when LDAP users are deactivated and reactivated, or when a user leaves a team in error. This option is deprecated and will be removed in a future version.

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl license

Mattermost 라이선스를 관리합니다.

하위 명령

옵션

-h, --help   help for license

mmctl license get

설명

현재 Mattermost 라이선스를 가져옵니다.

형식

mmctl license get [flags]

예시

mmctl license get

옵션

-h, --help   help for get

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl license remove

설명

현재 라이선스를 제거하고 Mattermost Team Edition을 사용합니다.

형식

mmctl license remove [flags]

예시

mmctl license remove

옵션

-h, --help   help for remove

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl license upload

설명

라이선스를 업로드해 현재 라이선스를 교체합니다.

형식

mmctl license upload [license] [flags]

예시

mmctl license upload /path/to/license/mylicensefile.mattermost-license

옵션

-h, --help   help for upload

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl license upload-string

설명

문자열에서 라이선스를 업로드합니다. 현재 라이선스를 교체합니다.

형식

mmctl license upload-string [license] [flags]

예시

license upload-string "mylicensestring"

옵션

-h, --help   help for upload

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl logs

설명

로그를 사람이 읽기 쉬운 형식으로 표시합니다. 로그 형식은 서버에 따라 달라지므로 이 명령에는 --format 플래그를 사용할 수 없습니다.

형식

mmctl logs [flags]

옵션

-h, --help         help for logs
-l, --logrus       Use logrus for formatting
-n, --number int   Number of log lines to retrieve (default 200)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl oauth

등록된 OAuth2 애플리케이션을 관리합니다.

하위 명령

옵션

-h, --help   help for permissions

mmctl oauth list

설명

등록된 모든 OAuth2 애플리케이션 목록을 표시합니다.

형식

mmctl oauth list [flags]

예시

mmctl list

옵션

-h, --help       help for add
--page int       Page number to fetch for the list of OAuth2 apps
--per-page int   Number of OAuth2 apps to be fetched per page (maximum 200)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl permissions

권한과 역할을 관리합니다.

하위 명령

옵션

-h, --help   help for permissions

mmctl permissions add

Enterprise, Enterprise Advanced 플랜에서 사용할 수 있습니다.

설명

기존 역할에 하나 이상의 권한을 추가합니다.

형식

mmctl permissions add <role> <permission...> [flags]

예시

mmctl permissions add system_user list_open_teams
mmctl permissions add system_manager sysconsole_read_user_management_channels

옵션

-h, --help   help for add

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl permissions remove

Enterprise, Enterprise Advanced 플랜에서 사용할 수 있습니다.

설명

기존 역할에서 하나 이상의 권한을 제거합니다. 기밀 프로젝트에서는 이 명령으로 팀 멤버가 자기 프로젝트 밖의 멤버를 알 수 없도록 하고, @멘션이 기밀 프로젝트 외부 인원의 이름을 노출하지 않도록 할 수 있습니다.

형식

mmctl permissions remove <role> <permission...> [flags]

예시

mmctl permissions remove system_user list_open_teams
mmctl permissions remove system_manager sysconsole_read_user_management_channels
mmctl permissions remove system_user view_member

옵션

-h, --help   help for remove

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl permissions reset

Enterprise, Enterprise Advanced 플랜에서 사용할 수 있습니다.

설명

지정한 역할의 권한을 기본 설정으로 초기화하고 맞춤 설정을 덮어씁니다.

형식

mmctl permissions reset <role_name> [flags]

예시

# Reset the permissions of the 'system_read_only_admin' role.
$ mmctl permissions reset system_read_only_admin

옵션

-h, --help   help for reset

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl permissions role assign

Enterprise, Enterprise Advanced 플랜에서 사용할 수 있습니다.

설명

사용자 이름으로 사용자를 역할에 할당합니다.

형식

mmctl permissions role assign <role_name> <username...> [flags]

예시

# Assign users with usernames 'john.doe' and 'jane.doe' to the role named 'system_admin'.
mmctl permissions role assign system_admin john.doe jane.doe

# Examples using other system roles
mmctl permissions role assign system_manager john.doe jane.doe
mmctl permissions role assign system_user_manager john.doe jane.doe
mmctl permissions role assign system_read_only_admin john.doe jane.doe

옵션

-h, --help   help for assign

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl permissions role show

설명

역할에 대한 모든 정보를 표시합니다.

형식

mmctl permissions role show <role_name> [flags]

예시

mmctl permissions role show system_user

옵션

-h, --help   help for show

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl permissions role unassign

설명

사용자 이름으로 사용자를 역할에서 해제합니다.

형식

mmctl permissions role unassign <role_name> <username...> [flags]

예시

# Unassign users with usernames 'john.doe' and 'jane.doe' from the role named 'system_admin'.
mmctl permissions unassign system_admin john.doe jane.doe

# Examples using other system roles
mmctl permissions unassign system_manager john.doe jane.doe
mmctl permissions unassign system_user_manager john.doe jane.doe
mmctl permissions unassign system_read_only_admin john.doe jane.doe

옵션

-h, --help   help for unassign

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl plugin

플러그인을 관리합니다.

하위 명령

옵션

-h, --help   help for plugin

mmctl plugin add

설명

Mattermost 서버에 플러그인을 추가합니다.

형식

mmctl plugin add [plugins] [flags]

예시

mmctl plugin add hovercardexample.tar.gz pluginexample.tar.gz

옵션

-f, --force   overwrite a previously installed plugin with the same ID, if any
-h, --help    help for add

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl plugin delete

설명

이전에 업로드한 플러그인을 Mattermost 서버에서 삭제합니다.

형식

mmctl plugin delete [plugins] [flags]

예시

mmctl plugin delete hovercardexample pluginexample

옵션

-h, --help   help for delete

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl plugin disable

설명

플러그인을 비활성화합니다. 비활성화된 플러그인은 즉시 사용자 인터페이스에서 제거되고 모든 세션에서 로그아웃됩니다.

형식

mmctl plugin disable [plugins] [flags]

예시

mmctl plugin disable hovercardexample pluginexample

옵션

-h, --help   help for disable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl plugin enable

설명

Mattermost 서버에서 사용할 수 있도록 플러그인을 활성화합니다.

형식

mmctl plugin enable [plugins] [flags]

예시

mmctl plugin enable hovercardexample pluginexample

옵션

-h, --help   help for enable

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl plugin install-url

설명

.tar.gz 파일로 압축된 플러그인의 URL을 지정합니다. 서버 설정에서 플러그인이 활성화되어 있어야 합니다.

형식

mmctl plugin install-url <url>... [flags]

예시

# You can install one plugin
$ mmctl plugin install-url https://example.com/mattermost-plugin.tar.gz

# Or install multiple plugins at a time
$ mmctl plugin install-url https://example.com/mattermost-plugin-one.tar.gz https://example.com/mattermost-plugin-two.tar.gz

옵션

-f, --force   overwrite a previously installed plugin with the same ID, if any
-h, --help    help for install-url

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl plugin list

설명

Mattermost 서버에 설치된 활성화·비활성화 플러그인 전체 목록을 표시합니다.

형식

mmctl plugin list [flags]

예시

mmctl plugin list

옵션

-h, --help   help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl plugin marketplace

마켓플레이스 플러그인을 관리합니다.

하위 명령

옵션

-h, --help   help for marketplace

mmctl plugin marketplace install

설명

Plugin Marketplace 서버에서 제공하는 플러그인을 설치합니다. 플러그인의 최신 버전이 설치됩니다.

형식

mmctl plugin marketplace install <id> [flags]

예시

$ mmctl plugin marketplace install jitsi

옵션

-h, --help   help for install

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl plugin marketplace list

설명

Plugin Marketplace 서버에서 사용할 수 있는 모든 플러그인을, 로컬에 설치된 플러그인 및 서버에 기본 포함된 플러그인 정보와 병합해 가져옵니다.

형식

mmctl plugin marketplace list [flags]

예시

# You can list all available plugins
$ mmctl plugin marketplace list --all

# Pagination options can be used
$ mmctl plugin marketplace list --page 2 --per-page 10

# Filtering narrows down the search
$ mmctl plugin marketplace list --filter jit

# You can retrieve only local plugins
$ mmctl plugin marketplace list --local-only

옵션

--all             Fetch all plugins. --page flag will be ignore if provided
--filter string   Filter plugins by ID, name or description
-h, --help        help for list
--local-only      Only retrieve local plugins
--page int        Page number to fetch for the list of users
--per-page int    Number of users to be fetched (maximum 200)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl post

게시물을 관리합니다.

하위 명령

옵션

-h, --help   help for post

mmctl post create

설명

게시물을 생성합니다.

형식

mmctl post create [flags]

예시

mmctl post create myteam:mychannel --message "some text for the post"

옵션

-h, --help              help for create
-m, --message string    Message for the post
-r, --reply-to string   Post id to reply to

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl post delete

설명

게시물을 삭제됨으로 표시해, 데이터베이스에서 영구 삭제하지 않은 채 게시물과 모든 첨부 파일을 클라이언트에서 제거합니다. --permanent 플래그를 사용하면 게시물과 모든 첨부 파일을 영구 삭제합니다.

형식

mmctl post delete [posts] [flags]

예시

게시물을 삭제됨으로 표시합니다.

mmctl post delete udjmt396tjghi8wnsk3a1qs1sw

게시물과 그 파일 내용을 데이터베이스와 파일 저장소에서 영구 삭제합니다.

mmctl post delete udjmt396tjghi8wnsk3a1qs1sw --permanent

여러 게시물과 그 파일 내용을 데이터베이스와 파일 저장소에서 영구 삭제합니다.

mmctl post delete udjmt396tjghi8wnsk3a1qs1sw 7jgcjt7tyjyyu83qz81wo84w6o --permanent

옵션

--confirm     Confirm you really want to delete the post and a DB backup has been performed
-h, --help    help for delete
--permanent   Permanently delete the post and its contents from the database

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl post list

설명

채널의 게시물 목록을 표시합니다.

형식

mmctl post list [flags]

예시

mmctl post list myteam:mychannel
mmctl post list myteam:mychannel --number 20

옵션

-f, --follow         Output appended data as new messages are posted to the channel
-h, --help           help for list
-n, --number int     Number of messages to list (default 20)
-i, --show-ids       Show posts ids
-s, --since string   List messages posted after a certain time (ISO 8601)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl roles

설명

사용자를 시스템 관리자 역할로 승격하거나, 사용자에게서 시스템 관리자 권한을 제거합니다.

형식

사용자를 시스템 관리자 역할로 승격합니다.

mmctl roles system_admin [users] [flags]

시스템 관리자 권한을 제거합니다.

mmctl roles member [users] [flags]

예시

사용자 한 명을 시스템 관리자 역할로 승격합니다.

mmctl roles system_admin john_doe

여러 사용자를 시스템 관리자 역할로 승격합니다.

mmctl roles system_admin john_doe jane_doe

사용자 한 명에게서 시스템 관리자 권한을 제거합니다.

mmctl roles member john_doe

여러 사용자에게서 시스템 관리자 권한을 제거합니다.

mmctl roles member john_doe jane_doe

옵션

-h, --help   help for roles

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl saml

SAML 관련 유틸리티입니다.

하위 명령

옵션

-h, --help   help for system

mmctl saml auth-data-reset

설명

SAML 사용자의 AuthData 필드를 이메일로 초기화합니다. SAML의 'id' 속성을 빈 값으로 설정한 뒤 이 유틸리티를 실행하세요.

형식

mmctl saml auth-data-reset [flags]

예시

# Reset all SAML users' AuthData field to their email, including deleted users
$ mmctl saml auth-data-reset --include-deleted

# Show how many users would be affected by the reset
$ mmctl saml auth-data-reset --dry-run

# Skip confirmation for resetting the AuthData
$ mmctl saml auth-data-reset -y

# Only reset the AuthData for the following SAML users
$ mmctl saml auth-data-reset --users userid1,userid2

옵션

--dry-run           Dry run only
-h, --help          help for auth-data-reset
--include-deleted   Include deleted users
--users strings     Comma-separated list of user IDs to which the operation will be applied
-y, --yes           Skip confirmation

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl sampledata

설명

샘플 데이터 파일을 생성해 로컬에 저장하거나, 원격 서버로 바로 가져옵니다.

형식

mmctl sampledata [flags]

예시

# You can create a sampledata file and store it locally
$ mmctl sampledata --bulk sampledata-file.jsonl

# Or you can simply print it to the STDOUT
$ mmctl sampledata --bulk -

# You can customize the amount of entities to create
$ mmctl sampledata -t 7 -u 20 -g 4

# The sampledata file can be directly imported into the remote server by not specifying a ``--bulk``` flag
$ mmctl sampledata

# Sample users can be created with profile pictures
$ mmctl sampledata --profile-images ./images/profiles

옵션

-b, --bulk string                Optional. Path to write a JSONL bulk file instead of uploading into the remote server.
--channel-memberships int        The number of sample channel memberships per user in a team. (default 5)
--channels-per-team int          The number of sample channels per team. (default 10)
--deactivated-users int          The number of deactivated users.
--direct-channels int            The number of sample direct message channels. (default 30)
--group-channels int             The number of sample group message channels. (default 15)
-g, --guests int                 The number of sample guests. (default 1)
-h, --help                       help for sampledata
--posts-per-channel int          The number of sample post per channel. (default 100)
--posts-per-direct-channel int   The number of sample posts per direct message channel. (default 15)
--posts-per-group-channel int    The number of sample posts per group message channel. (default 30)
--profile-images string          Optional. Path to folder with images to randomly pick as user profile image.
-s, --seed int                   Seed used for generating the random data (Different seeds generate different data). (default 1)
--team-memberships int           The number of sample team memberships per user. (default 2)
-t, --teams int                  The number of sample teams. (default 2)
-u, --users int                  The number of sample users. (default 15)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl system

서버 상태와 설정을 다루는 시스템 관리 명령입니다.

하위 명령

옵션

-h, --help   help for system

mmctl system clearbusy

설명

사용량 급증(busy) 상태를 해제해 비필수 서비스를 다시 활성화합니다.

형식

mmctl system clearbusy [flags]

예시

mmctl system clearbusy

옵션

-h, --help   help for clearbusy

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl system getbusy

설명

서버의 busy 상태(고부하)와 busy 플래그가 자동으로 해제될 시각을 가져옵니다.

형식

mmctl system getbusy [flags]

예시

mmctl system getbusy

옵션

-h, --help   help for getbusy

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl system setbusy

설명

지정한 시간(초) 동안 busy 상태를 true로 설정해 비필수 서비스를 비활성화합니다.

형식

mmctl system setbusy -s [seconds] [flags]

예시

mmctl system setbusy -s 3600

옵션

-h, --help           help for setbusy
-s, --seconds uint   Number of seconds until server is automatically marked as not busy (default 3600)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl system status

설명

여러 가지 기본 서버 상태 점검으로 계산한 서버 상태를 출력합니다.

형식

mmctl system status [flags]

예시

mmctl system status

옵션

-h, --help   help for status

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl system supportpacket

설명

Mattermost 지원팀에 공유할 Mattermost 서버의 Support Packet을 생성해 다운로드합니다.

형식

mmctl system supportpacket [flags]

예시

mmctl system supportpacket

옵션

-h, --help   help for version
-o, --output-file string   Output file name. Default is ``mattermost_support_packet_YYYY-MM-DD-HH-MM.zip``.

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl system version

설명

현재 연결된 Mattermost 인스턴스의 서버 버전 빌드 번호를 출력합니다.

형식

mmctl system version [flags]

예시

mmctl system version

옵션

-h, --help   help for version

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl team

팀을 관리합니다.

중요

mmctl 명령에서 팀 이름을 지정할 때는 채널 사이드바에 보이는 표시 이름이 아니라 team-URL 형태의 팀 이름을 사용해야 합니다. team-URL에는 공백이 없습니다. mmctl team list 명령을 실행하면 서버의 모든 팀 목록을 team-URL 형식으로 확인할 수 있습니다. 자세한 내용은 팀 이름과 URL 선택 문서를 참고하세요.

하위 명령

옵션

-h, --help   help for team

mmctl team archive

설명

데이터베이스의 게시물을 포함해 관련 정보 전체와 함께 팀을 보관 처리합니다.

형식

mmctl team archive [teams] [flags]

예시

mmctl team archive myteam

옵션

--confirm   Confirm you really want to archive the team and a database backup has been performed
-h, --help  help for archive

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl team create

설명

팀을 생성합니다.

형식

mmctl team create [flags]

예시

mmctl team create --name mynewteam --display-name "My New Team"
mmctl team create --name private --display-name "My New Private Team" --private

옵션

--display-name string   Team Display Name
--email string          Administrator Email (anyone with this email is automatically a team admin)
-h, --help              help for create
--name string           Team Name
--private               Create a private team

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl team delete

설명

데이터베이스의 게시물을 포함해 관련 정보 전체와 함께 팀을 영구 삭제합니다.

참고

Enable API Team Deletion 설정값이 true여야 합니다. 이 설정값이 false이면 mmctl로 팀을 삭제하려는 시도는 실패합니다.

형식

mmctl team delete [teams] [flags]

예시

mmctl team delete myteam

옵션

--confirm   Confirm you really want to delete the team and a database backup has been performed
-h, --help  help for delete

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl team list

설명

서버의 모든 팀 목록을 표시합니다.

형식

mmctl team list [flags]

예시

mmctl team list

옵션

-h, --help  help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl team modify

설명

팀의 공개 범위 설정을 public 또는 private으로 변경합니다.

형식

mmctl team modify [teams] [flag] [flags]

예시

mmctl team modify myteam --private

옵션

-h, --help  help for modify
--private   Modify team to be private
--public    Modify team to be public

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl team rename

설명

기존 팀의 이름을 변경합니다.

형식

mmctl team rename [team] [flags]

예시

mmctl team rename old-team --display-name 'New Display Name'

옵션

--display-name string   Team Display Name
-h, --help              help for rename

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl team restore

설명

보관 처리된 팀을 복원합니다.

형식

mmctl team restore [teams] [flags]

예시

mmctl team restore myteam

옵션

-h, --help   help for restore

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

설명

이름으로 팀을 검색합니다.

형식

mmctl team search [teams] [flags]

예시

mmctl team search team1

옵션

-h, --help  help for search

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl team users

팀 사용자를 관리합니다.

하위 명령

옵션

-h, --help       help for token

mmctl team users add

설명

지정한 사용자를 팀에 추가합니다.

형식

mmctl team users add [team] [users] [flags]

예시

mmctl team users add myteam user@example.com username

옵션

-h, --help  help for add

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl team users remove

설명

지정한 사용자를 팀에서 제거합니다.

형식

mmctl team users remove [team] [users] [flags]

예시

mmctl team users remove myteam user@example.com username

옵션

-h, --help  help for remove

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl token

사용자의 액세스 토큰을 관리합니다.

하위 명령

옵션

-h, --help       help for token

mmctl token generate

설명

사용자의 토큰을 생성합니다.

형식

mmctl token generate [user] [description] [flags]

예시

mmctl token generate testuser test-token

옵션

-h, --help     help for generate

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl token list

설명

사용자에게 속한 토큰 목록을 표시합니다.

형식

mmctl token list [user] [flags]

예시

mmctl user tokens testuser

옵션

--active         List only active tokens (default true)
--all            Fetch all tokens. --page flag will be ignore if provided
-h, --help       help for list
--inactive       List only inactive tokens
--page int       Page number to fetch for the list of users
--per-page int   Number of users to be fetched (maximum 200)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl token revoke

설명

사용자의 토큰을 폐기합니다.

형식

mmctl token revoke [token-ids] [flags]

예시

mmctl revoke testuser test-token-id

옵션

-h, --help       help for revoke

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user

사용자를 관리합니다.

하위 명령

옵션

-h, --help       help for user

mmctl user activate

설명

비활성화된 사용자를 활성화합니다.

형식

mmctl user activate [emails, usernames, userIds] [flags]

예시

mmctl user activate user@example.com
mmctl user activate username

옵션

-h, --help           help for activate

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user change-password

설명

사용자의 비밀번호를 지정한 값으로 변경합니다. 사용자가 자신의 비밀번호를 변경하는 경우 --current 플래그로 현재 비밀번호를 지정해야 합니다. --hashed 플래그는 새 비밀번호를 이미 해시된 형태로 입력했음을 나타낼 때 사용합니다.

형식

mmctl user change-password <user> [flags]

예시

# If you have system permissions, you can change other user's passwords
$ mmctl user change-password john_doe --password new-password

# If you are changing your own password, you need to provide the current one
$ mmctl user change-password my-username --current current-password --password new-password

# You can ommit these flags to introduce them interactively
$ mmctl user change-password my-username
Are you changing your own password? (YES/NO): YES
Current password:
New password:

# If you have system permissions, you can update the password with the already hashed new
# password. The hashing method should be the same that the server uses internally.
$ mmctl user change-password john_doe --password HASHED_PASSWORD --hashed

옵션

-c, --current string    The current password of the user. Use only if changing your own password
--hashed                The supplied password is already hashed
-h, --help              help for change-password
-p, --password string   The new password for the user

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user convert

설명

사용자 계정을 봇으로 변환하거나, 봇을 사용자 계정으로 변환합니다.

형식

mmctl user convert (--bot [emails] [usernames] [userIds] | --user <username> --password PASSWORD [--email EMAIL]) [flags]

예시

# You can convert a user to a bot providing an email, an ID, or a username
$ mmctl user convert user@example.com --bot

# Or you can convert multiple users at a time
$ mmctl user convert user@example.com anotherUser --bot

# You can convert a bot to a user and specify the email and password that the user will have after conversion
$ mmctl user convert botusername --email new.email@email.com --password password --user

옵션

--bot                If supplied, convert users to bots
--email string       The email address for the converted user account. Required when the "bot" flag is set
--firstname string   The first name for the converted user account. Required when the "bot" flag is set
-h, --help           help for convert
--lastname string    The last name for the converted user account. Required when the "bot" flag is set
--locale string      The locale (e.g., EN, FR) for the converted new user account. Required when the "bot" flag is set
--nickname string    The nickname for the converted user account. Required when the "bot" flag is set
--password string    The password for converted new user account. Required when "user" flag is set
--system-admin       If supplied, the converted user will be a system admin. Defaults to false. Required when the "bot" flag is set
--user               If supplied, convert a bot to a user
--username string    Username for the converted user account. Required when the "bot" flag is set

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user create

설명

사용자를 생성합니다.

형식

mmctl user create [flags]

예시

# You can create a user
$ mmctl user create --email user@example.com --username userexample --password Password1

# You can define optional fields like first name, last name, and nickname
$ mmctl user create --email user@example.com --username userexample --password Password1 --firstname User --lastname Example --nickname userex

# You can also create the user as a system sdmin
$ mmctl user create --email user@example.com --username userexample --password Password1 --system-admin

# You can verify user on creation if you have the correct permissions
$ mmctl user create --email user@example.com --username userexample --password Password1 --system-admin --email-verified

옵션

--disable-welcome-email   Optional. If supplied, the new user will not receive a welcome email. Defaults to false
--email string            Required. The email address for the new user account
--email-verified          Optional. If supplied, the new user will have the email verified. Defaults to false
--firstname string        Optional. The first name for the new user account
--guest                   Optional. If supplied, the new user will be a guest. Defaults to false
-h, --help                help for create
--lastname string         Optional. The last name for the new user account
--locale string           Optional. The locale (ex: en, fr) for the new user account
--nickname string         Optional. The nickname for the new user account
--password string         Required. The password for the new user account
--system-admin            Optional. If supplied, the new user will be a system administrator. Defaults to false
--username string         Required. Username for the new user account

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user deactivate

설명

사용자를 비활성화합니다. 비활성화된 사용자는 즉시 모든 세션에서 로그아웃되며 다시 로그인할 수 없습니다.

형식

mmctl user deactivate [emails, usernames, userIds] [flags]

예시

mmctl user deactivate user@example.com
mmctl user deactivate username

옵션

-h, --help       help for deactivate

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user delete

설명

데이터베이스의 게시물을 포함해 관련 정보 전체와 함께 사용자를 영구 삭제합니다.

참고

Enable API User Deletion 설정값이 true여야 합니다. 이 설정값이 false이면 mmctl로 사용자를 삭제하려는 시도는 실패합니다.

형식

mmctl user delete [users] [flags]

예시

mmctl user delete user@example.com

옵션

--confirm   Confirm you really want to delete the user and a database backup has been performed
-h, --help  help for delete

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user deleteall

설명

게시물을 포함한 관련 정보 전체와 모든 사용자를 영구 삭제합니다. 이 명령은 로컬 모드에서만 실행할 수 있습니다.

형식

mmctl user deleteall [flags]

예시

mmctl user deleteall

옵션

--confirm   Confirm you really want to delete the user and a database backup has been performed
-h, --help  help for delete

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user demote

설명

사용자를 게스트로 강등합니다.

형식

mmctl user demote [users] [flags]

예시

mmctl user demote user1 user2

옵션

-h, --help   help for demote

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user edit

설명

사용자 이름, 이메일, 인증 데이터 등 사용자 속성을 편집합니다. 이 명령은 데이터베이스에 직접 접근하지 않고도 사용자 속성을 수정할 수 있는 정형화된 방법을 제공합니다.

형식

mmctl user edit [user] [flags]

예시

mmctl user edit testuser --help

옵션

-h, --help       help for edit

하위 명령

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user edit authdata

설명

사용자 인증 데이터를 편집합니다. 이 명령은 SAML 설정이 이메일을 ID 속성으로 사용할 때 SAML 인증 사용자의 인증 정보를 변경해야 하는 흔한 불편을 해소하며, 데이터베이스를 직접 조작할 필요를 없앱니다.

형식

mmctl user edit authdata [user] [authdata] [flags]

예시

# Update SAML authentication data for a user
mmctl user edit authdata john.doe newsamlid@example.com

# Clear authentication data for a user
mmctl user edit authdata john.doe ""

옵션

-h, --help       help for authdata

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user edit email

설명

사용자 이메일 주소를 편집합니다. 이 명령은 SAML 설정이 이메일을 ID 속성으로 사용할 때 이메일 주소를 변경해야 하는 SAML 인증 사용자에게 특히 유용합니다. 데이터베이스를 직접 조작하는 것보다 안전한 대안입니다.

참고

Mattermost v10.9부터는 꺾쇠괄호로 감싼 이메일 주소(예: <billy@example.com>)가 거부됩니다. 문제를 피하려면 모든 사용자 이메일이 일반 주소 형식(예: billy@example.com)을 따르는지 확인하세요. 또한 영향을 받는 사용자는 Mattermost에 접근하거나 프로필을 관리할 때 문제를 겪을 수 있으므로, 이 제품 변경에 맞춰 Mattermost 사용자 데이터를 미리 점검하고 갱신할 것을 강력히 권장합니다. 이러한 사용자 이메일은 다음 mmctl 명령으로 직접 수정할 수 있습니다. mmctl user edit email "<affecteduser@domain.com>" affecteduser@domain.com

형식

mmctl user edit email [user] [new email] [flags]

예시

# Change email for a SAML-authenticated user
mmctl user edit email john.doe newemail@example.com

# Update email for a user identified by current email
mmctl user edit email oldemail@example.com newemail@example.com
참고

이 명령은 이메일을 ID 속성으로 사용하는 SAML 환경에서 특히 중요합니다. 이전에는 SAML 사용자의 이메일 주소를 변경하려면 데이터베이스를 직접 조작해야 했고, 이는 보안과 운영 측면의 위험을 초래했습니다.

옵션

-h, --help       help for email

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user edit username

설명

사용자 이름을 편집합니다. 이 명령을 사용하면 데이터베이스에 직접 접근하지 않고도 정형화되고 안전한 방식으로 사용자 이름을 변경할 수 있습니다.

형식

mmctl user edit username [user] [new username] [flags]

예시

# Change username for a user
mmctl user edit username john.doe john.smith

# Change username using email to identify user
mmctl user edit username user@example.com newusername

옵션

-h, --help       help for username

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user email

이 명령은 사용 중단되었습니다. 대신 mmctl user edit email를 사용하세요.

설명

사용자에게 연결된 이메일 주소를 변경합니다.

참고

Mattermost v10.9부터는 꺾쇠괄호로 감싼 이메일 주소(예: <billy@example.com>)가 거부됩니다. 문제를 피하려면 모든 사용자 이메일이 일반 주소 형식(예: billy@example.com)을 따르는지 확인하세요. 또한 영향을 받는 사용자는 Mattermost에 접근하거나 프로필을 관리할 때 문제를 겪을 수 있으므로, 이 제품 변경에 맞춰 Mattermost 사용자 데이터를 미리 점검하고 갱신할 것을 강력히 권장합니다. 이러한 사용자 이메일은 다음 mmctl 명령으로 직접 수정할 수 있습니다. mmctl user edit email "<affecteduser@domain.com>" affecteduser@domain.com

형식

mmctl user email [user] [new email] [flags]

예시

mmctl user email testuser user@example.com

옵션

-h, --help       help for email

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user invite

설명

사용자에게 팀 참여 초대 이메일을 보냅니다. 여러 팀을 나열하면 한 사용자를 여러 팀에 초대할 수 있습니다. 팀은 이름 또는 ID로 지정할 수 있습니다.

형식

mmctl user invite [email] [teams] [flags]

예시

mmctl user invite user@example.com myteam
mmctl user invite user@example.com myteam1 myteam2

옵션

-h, --help       help for invite

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user list

설명

모든 사용자 목록을 표시합니다.

형식

mmctl user list [flags]

예시

mmctl user list

옵션

--all            Fetch all users. --page flag will be ignore if provided
-h, --help       help for list
--page int       Page number to fetch for the list of users
--per-page int   Number of users to be fetched (maximum 200)
--team string    If supplied, only users belonging to this team will be listed

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user migrate-auth

설명

계정을 한 인증 공급자에서 다른 인증 공급자로 마이그레이션합니다. 예를 들어 인증 공급자를 email에서 LDAP으로 업그레이드할 수 있습니다.

형식

mmctl user migrate-auth [from_auth] [to_auth] [migration-options] [flags]

인수

  • from_auth — 사용자 계정을 마이그레이션할 원본 인증 서비스입니다. 지원 옵션: email, gitlab, google, ldap, office365, saml
  • to_auth — 사용자를 마이그레이션할 대상 인증 서비스입니다. 지원 옵션: ldap, saml
  • migration-options (ldap)
    • match_field — 두 인증 서비스에서 값이 동일하다고 보장되는 필드입니다. 예를 들어 사용자 이메일이 일치한다면 email로 설정합니다. 지원 옵션: email, username
  • migration-options (saml)

    users_file:

    SAML로 마이그레이션할 모든 사용자의 사용자 이름과 이메일이 담긴 json 파일 경로입니다. 사용자 이름과 이메일은 SAML 서비스 공급자에 저장된 값과 같아야 하며, 이메일은 mattermost 데이터베이스의 이메일과 일치해야 합니다.

    Example json content:
    {
       "usr1@email.com": "usr.one",
       "usr2@email.com": "usr.two"
    }

예시

mmctl user migrate-auth email saml users.json

옵션

--auto         Automatically migrate all users. Assumes the usernames and emails are identical between Mattermost and SAML services. (saml only)
--confirm      Confirm you really want to proceed with auto migration. (saml only)
--force        Force the migration to occur even if there are duplicates on the LDAP server. Duplicates will not be migrated. (ldap only)
-h, --help     help for migrate-auth

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user preference

설명

사용자 환경 설정을 관리합니다.

하위 명령

옵션

-h, --help   help for auth

mmctl user preference get

설명

특정 사용자 환경 설정을 가져옵니다.

형식

mmctl user preference get --category [category] --name [name] [users] [flags]

예시

preference get --category display_settings --name use_military_time user@example.com

옵션

-c, --category string   The category of the preference
-h, --help              help for get
-n, --name string       The name of the preference

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user preference list

설명

사용자 환경 설정 목록을 표시합니다.

형식

mmctl user preference list [--category category] [users] [flags]

예시

preference list user@example.com

옵션

-c, --category string   The optional category by which to filter
-h, --help              help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user preference set

설명

특정 사용자 환경 설정을 설정합니다.

형식

mmctl user preference set --category [category] --name [name] --value [value] [users] [flags]

예시

preference set --category display_settings --name use_military_time --value true user@example.com

옵션

-c, --category string   The category of the preference
-h, --help              help for set
-n, --name string       The name of the preference
-v, --value string      The value of the preference

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user preference delete

설명

특정 사용자 환경 설정을 삭제합니다.

형식

mmctl user preference delete --category [category] --name [name] [users] [flags]

예시

preference delete --category display_settings --name use_military_time user@example.com

옵션

-c, --category string   The category of the preference
-h, --help              help for delete
-n, --name string       The name of the preference

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user promote

설명

게스트를 사용자로 승격합니다.

형식

mmctl user promote [guests] [flags]

예시

mmctl user promote guest1 guest2

옵션

-h, --help   help for promote

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user reset-password

설명

사용자에게 비밀번호 재설정 이메일을 보냅니다.

형식

mmctl user reset-password [users] [flags]

예시

mmctl user reset-password user@example.com

옵션

-h, --help       help for reset-password

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user resetmfa

설명

사용자의 다단계 인증을 끕니다. MFA 적용이 활성화되어 있으면 사용자는 다음 로그인 시 곧바로 MFA를 다시 활성화해야 합니다.

형식

mmctl user resetmfa [users] [flags]

예시

mmctl user resetmfa user@example.com

옵션

-h, --help       help for resetmfa

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

설명

사용자 이름, 이메일, 사용자 ID로 사용자를 검색합니다. 이 명령은 사용자 이름, 이메일 주소, 이름과 성, 계정 상태를 포함한 사용자 정보를 반환합니다. Mattermost v10.10부터는 시스템 관리자가 비활성 계정을 식별할 수 있도록 출력에 사용자의 비활성화 상태가 포함됩니다. Mattermost v10.11부터는 시스템 관리자가 LDAP이나 SAML 같은 인증 소스를 확인할 수 있도록 출력에 사용자의 AuthData 필드가 포함됩니다.

형식

mmctl user search [users] [flags]

예시

mmctl user search user1@mail.com user2@mail.com

옵션

-h, --help       help for search

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user username

이 명령은 사용 중단되었습니다. 대신 mmctl user edit username를 사용하세요.

설명

사용자의 사용자 이름을 변경합니다.

형식

mmctl user username [user] [new username] [flags]

예시

mmctl user username testuser newusername

옵션

-h, --help       help for version

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user verify

설명

사용자가 이메일 인증 절차를 완료하지 않아도 사용자의 이메일을 인증됨으로 표시합니다.

형식

mmctl user verify [users] [flags]

예시

mmctl user verify user1

옵션

-h, --help       help for version

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl version

설명

mmctl의 버전을 출력합니다.

형식

mmctl version [flags]

옵션

-h, --help       help for version

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl webhook

설명

웹훅을 관리합니다.

하위 명령

옵션

-h, --help       help for webhook

mmctl webhook create-incoming

설명

특정 채널로 외부에서 메시지를 게시할 수 있도록 수신 웹훅을 생성합니다.

형식

mmctl webhook create-incoming [flags]

예시

mmctl webhook create-incoming --channel [channelID] --user [userID] --display-name [displayName] --description [webhookDescription] --lock-to-channel --icon [iconURL]

옵션

--channel string        Channel ID (required)
--description string    Incoming webhook description
--display-name string   Incoming webhook display name
-h, --help              help for create-incoming
--icon string           Icon URL
--lock-to-channel       Lock to channel
--user string           User ID (required)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl webhook create-outgoing

설명

특정 채널에서 외부로 메시지를 게시할 수 있도록 발신 웹훅을 생성합니다.

형식

mmctl webhook create-outgoing [flags]

예시

mmctl webhook create-outgoing --team myteam --user myusername --display-name mywebhook --trigger-word "build" --trigger-word "test" --url http://localhost:8000/my-webhook-handler
 mmctl webhook create-outgoing --team myteam --channel mychannel --user myusername --display-name mywebhook --description "My cool webhook" --trigger-when start --trigger-word build --trigger-word test --icon http://localhost:8000/my-slash-handler-bot-icon.png --url http://localhost:8000/my-webhook-handler --content-type "application/json"

옵션

--channel string             Channel name or ID
--content-type string        Content-type
--description string         Outgoing webhook description
--display-name string        Outgoing webhook display name
-h, --help                   help for create-outgoing
--icon string                Icon URL
--team string                Team name or ID (required)
--trigger-when string        When to trigger webhook (exact: for first word matches a trigger word exactly, start: for first word starts with a trigger word) (default "exact")
--trigger-word stringArray   Word to trigger webhook (required)
--url stringArray            Callback URL (required)
--user string                The username, email, or ID of the user that the webhook should post as (required)

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl webhook delete

설명

지정한 ID의 웹훅을 삭제합니다.

형식

mmctl webhook delete [flags]

예시

mmctl webhook delete [webhookID]

옵션

-h, --help   help for delete

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl webhook list

설명

모든 웹훅 목록을 출력합니다.

형식

mmctl webhook list [flags]

예시

mmctl webhook list myteam

옵션

-h, --help   help for list

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl webhook modify-incoming

설명

기존 수신 웹훅의 제목, 설명, 채널, 아이콘 URL을 변경해 수정합니다.

형식

mmctl webhook modify-incoming [flags]

예시

mmctl webhook modify-incoming [webhookID] --channel [channelID] --display-name [displayName] --description [webhookDescription] --lock-to-channel --icon [iconURL]

옵션

--channel string        Channel ID
--description string    Incoming webhook description
--display-name string   Incoming webhook display name
-h, --help              help for modify-incoming
--icon string           Icon URL
--lock-to-channel       Lock to channel

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl webhook modify-outgoing

설명

기존 발신 웹훅의 제목, 설명, 채널, 아이콘, url, content-type, 트리거를 변경해 수정합니다.

형식

mmctl webhook modify-outgoing [flags]

예시

mmctl webhook modify-outgoing [webhookId] --channel [channelId] --display-name [displayName] --description "New webhook description" --icon http://localhost:8000/my-slash-handler-bot-icon.png --url http://localhost:8000/my-webhook-handler --content-type "application/json" --trigger-word test --trigger-when start

옵션

--channel string             Channel name or ID
--content-type string        Content-type
--description string         Outgoing webhook description
--display-name string        Outgoing webhook display name
-h, --help                   help for modify-outgoing
--icon string                Icon URL
--trigger-when string        When to trigger webhook (exact: for first word matches a trigger word exactly, start: for first word starts with a trigger word)
--trigger-word stringArray   Word to trigger webhook
--url stringArray            Callback URL

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl webhook show

설명

[webhookId]로 지정한 웹훅을 표시합니다.

형식

mmctl webhook show [webhookId] [flags]

예시

mmctl webhook show w16zb5tu3n1zkqo18goqry1je

옵션

-h, --help   help for show

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl websocket

설명

웹소켓을 사람이 읽기 쉬운 형식으로 표시합니다.

형식

mmctl websocket [flags]

옵션

-h, --help       help for websocket

상위 명령에서 상속된 옵션

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages