mmctl 명령줄 도구#

plans-img 모든 플랜 에서 사용 가능

deployment-img Cloudself-hosted 배포

mmctl은 Mattermost 서버용 CLI 도구로, 로컬에 설치되어 Mattermost API를 사용하지만 원격으로도 사용할 수 있습니다. 인증은 로그인 자격 증명이나 인증 토큰으로 수행됩니다. 이 mmctl 도구는 포함되어 있으며 CLI 를 대체합니다. mmctl은 현재 Mattermost CLI 도구와 함께 사용할 수 있습니다. Mattermost CLI 도구는 향후 릴리스에서 더 이상 사용되지 않을 예정입니다.

로컬에 설치되어 있어 self-hosted 및 Cloud Mattermost 인스턴스의 시스템 관리자가 서버에 접근할 수 없는 경우(예: SSH를 통한 접근)에도 CLI 명령을 실행할 수 있습니다.

이 기능은 대부분 커뮤니티 기여로 개발되었으며, 이 프로젝트에 기여한 분들께 감사의 말씀을 전합니다. 현재 mattermost-server 저장소에서 Help Wanted 이슈에 대한 pull request를 받고 있습니다. mmctl의 단위 테스트 커버리지 캠페인에 대한 자세한 내용은 Unit testing mmctl commands 블로그 게시물에서 확인할 수 있습니다.

mmctl 사용 참고사항#

  • 시스템 관리자는 mmctl 명령을 실행하는 두 가지 방법이 있습니다: installation instructions 에서 찾을 수 있는 릴리스 URL에서 mmctl 을 다운로드하거나, 아래의 build instructions 에서 확인할 수 있는 직접 빌드하는 방법입니다. 소스 코드는 mattermost repositoryserver/cmd/mmctl 디렉토리에 있습니다.

  • mmctl 은 Mattermost 배포판에 함께 번들로 제공되며, 설치의 bin 폴더에 CLI 옆에 위치해 있습니다.

    • Mattermost bin 폴더의 경로를 $PATH 환경 변수에 추가하는 것을 권장합니다. 이렇게 하면 현재 디렉토리 위치에 관계없이 로컬에서 mmctl 명령을 실행할 수 있습니다.

    • bin 디렉토리가 $PATH 환경 변수에 추가되지 않은 경우, mmctl을 사용할 때마다 bin 디렉토리에 있어야 mmctl 명령을 실행할 수 있으며, 명령 앞에 ./ 를 붙여야 합니다. 다른 디렉토리에서 작업하는 경우, mmctl 명령을 실행할 때 mmctl의 전체 경로를 지정해야 합니다.

  • mmctl 명령의 매개변수는 순서가 중요합니다.

  • Unix 소켓을 통해 서버와 통신할 수 있도록 하여 인증 없이 mmctl 명령을 실행하려면 --local 플래그를 사용할 수 있습니다. 활성화 및 사용 방법에 대한 자세한 내용은 local mode 문서를 참조하세요.

  • 특수 문자(!, |, (, ), \, ', ")를 사용하는 경우, 전체 인수를 작은따옴표로 묶어야 합니다(예: -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 빌드를 다운로드할 수 있습니다: 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만 해당).

go 환경이 구성되어 있는 경우 Linux, macOS 및 Windows에서 이 옵션을 사용하세요.

$GOPATH 에 mmctl 바이너리를 빌드하고 설치하려면 다음 명령을 실행하세요:

go install github.com/mattermost/mattermost/server/v8/cmd/mmctl@master

Linux 또는 macOS에서는 이 방법이 공식적으로 지원되지 않습니다 이 설치 채널은 커뮤니티에서 관리합니다. 문제를 보고하려면 homebrew/homebrew-core repo 를 참조하세요.

Homebrew가 설치되어 있는 경우 Linux와 macOS에서 이 옵션을 사용하세요.

brew install mmctl

mmctl 빌드#

mmctl 도구는 의존성을 관리하기 위해 go 모듈을 사용하므로 컴퓨터에 go 1.19 이상이 설치되어 있어야 합니다.

mattermost repository 를 로컬 컴퓨터에 체크아웃한 후, 프로젝트의 루트 디렉토리에서 다음을 실행하여 mmctl 바이너리를 컴파일할 수 있습니다:

make -C server mmctl-build

로컬 모드#

참고

deployment-img-yellow self-hosted 배포에서만 사용 가능

로컬 모드를 사용하면 Mattermost 서버에 접근 권한이 있는 플랫폼 관리자가 사용자 등록 없이도 API에 대해 mmctl 명령을 실행할 수 있습니다. 이 API의 안전한 사용을 보장하기 위해 서버는 서버의 파일 시스템에 접근할 수 있는 사용자만 접근할 수 있는 로컬 소켓을 노출합니다. 소켓에서 오는 요청은 승인된 것으로 처리되므로 사용자 세션이 필요 없이 핸들러에 도달할 수 있습니다.

소켓이 노출하는 API는 API 문서 에서 찾을 수 있는 것과 동일한 사양을 따르므로 mmctl은 수정 없이도 상호작용할 수 있습니다. 소켓을 통해 요청이 들어오면 서버에서 로컬로 표시되며, 이 플래그는 세션을 올바르게 승인하기 위해 세션 권한을 확인할 때 고려됩니다.

로컬 모드 활성화#

로컬 모드를 사용하려면 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 테스트 실행#

참고

deployment-img-yellow self-hosted 배포에서만 사용 가능

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 인증#

설명

원격 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:

셸 자동 완성 설치#

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

source <(mmctl completion bash)

zsh의 경우 다음 줄을 ~/.zshrc 파일에 추가하세요:

source <(mmctl completion zsh)

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 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#

설명

지정된 팀의 모든 공개, 비공개 및 보관된 채널을 나열합니다. 보관된 채널은 (archived) 로 표시됩니다. 사용자가 구성원이거나 접근 권한이 있는 비공개 채널은 (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 플래그를 사용하는 것이 권장됩니다.

설명

채널 유형을 공개에서 비공개로 변경합니다. 채널은 [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#

설명

채널의 공개/비공개 유형을 변경합니다. 채널은 [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 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

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#

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

하위 명령어

옵션

-h, --help   help for completion

mmctl completion bash#

설명

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

자동 완성을 로드하려면 다음을 실행하세요:

. <(mmctl completion bash)

각 세션에서 자동 완성을 로드하도록 bash 셸을 구성하려면 위의 줄을 ~/.bashrc 에 추가하세요.

형식

mmctl completion bash [flags]

옵션

-h, --help   help for bash

상위 명령에서 상속된 옵션

--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

상위 명령에서 상속된 옵션

--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#

설명

이 명령을 사용하여 서버 구성을 내보낼 수 있으며, 이를 다른 서버나 환경으로 가져올 수 있습니다. 마스킹된 값은 도구가 local mode 에서 실행될 때만 내보내집니다.

형식

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 environment variable 를 설정하고 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을 생성합니다.

형식

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 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 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 import#

설명

가져오기를 관리합니다.

하위 명령어

옵션

-h, --help   help for import

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.

상위 명령에서 상속된 옵션

--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부터 이 명령은 더 이상 사용되지 않습니다. 고아 레코드에 대한 정보를 반환하는 관계형 무결성 검사를 수행합니다. 이 명령은 local mode 를 사용해서만 실행할 수 있습니다.

형식

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_progresspending 으로 변경할 수 있습니다

  • in_progress 또는 pendingcancel_requested 로 변경할 수 있습니다

  • cancel_requestedcanceled 로 변경할 수 있습니다

--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 속성 값을 변경할 수 있습니다. 명령을 실행한 후 System Console에서 ID 속성을 새 값으로 변경할 수 있습니다. 예를 들어, 현재 ID 속성이 sAMAccountName 이고 objectGUID 로 변경하려는 경우 다음과 같이 하면 됩니다:

  1. 사용자가 서버 재시작의 영향을 받지 않을 비피크 시간을 기다립니다.

  2. mmctl ldap idmigrate objectGUID 명령을 실행합니다.

  3. System Console에서 설정을 새 값 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   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.

상위 명령에서 상속된 옵션

--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 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#

참고

plans-img-yellow Enterprise 플랜에서만 사용 가능

설명

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

형식

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#

참고

plans-img-yellow Enterprise 플랜에서만 사용 가능

설명

기존 역할에서 하나 이상의 권한을 제거합니다.

형식

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

예제

mmctl permissions remove system_user list_open_teams
mmctl permissions remove system_manager sysconsole_read_user_management_channels

옵션

-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#

참고

plans-img-yellow Enterprise 플랜에서만 사용 가능

설명

주어진 역할의 권한을 기본 설정으로 재설정하고 사용자 정의 설정을 덮어씁니다.

형식

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#

참고

plans-img-yellow Enterprise 플랜에서만 사용 가능

설명

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

형식

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 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#

설명

사용자 이름으로 역할에서 사용자 할당을 해제합니다. Mattermost Professional과 Mattermost Enterprise에서 사용 가능합니다.

형식

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#

설명

플러그인 마켓플레이스 서버에서 사용 가능한 플러그인을 설치합니다. 플러그인의 최신 버전이 설치됩니다.

형식

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#

설명

플러그인 마켓플레이스 서버에서 사용 가능한 모든 플러그인을 가져오며, 로컬에 설치된 플러그인과 서버와 함께 제공되는 사전 패키지된 플러그인의 데이터를 병합합니다.

형식

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 필드를 이메일로 재설정합니다. ‘id’ SAML 속성을 빈 값으로 설정한 후 이 유틸리티를 실행하세요.

형식

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#

설명

비중요 서비스를 다시 활성화하는 사용 중 상태를 지웁니다.

형식

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#

설명

서버 사용 중 상태(높은 부하)와 서버 사용 중 플래그가 자동으로 지워질 때의 타임스탬프를 가져옵니다.

형식

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#

설명

비중요 서비스를 비활성화하는 사용 중 상태를 지정된 시간(초) 동안 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 서버의 지원 패킷을 생성하고 다운로드합니다.

형식

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 에는 공백이 포함되지 않습니다. 서버의 모든 팀 목록을 team-URL 형식으로 반환하려면 mmctl team list 명령어를 실행하세요. 자세한 내용은 team name and URL selection 문서를 참조하세요.

하위 명령어

옵션

-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#

설명

팀의 개인정보 설정을 공개 또는 비공개로 수정합니다.

형식

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 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#

설명

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

형식

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 email#

설명

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

형식

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#

설명

한 인증 제공업체에서 다른 인증 제공업체로 계정을 마이그레이션합니다. 예를 들어, 이메일에서 LDAP로 인증 제공업체를 업그레이드할 수 있습니다.

형식

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

인수

from_auth:

사용자 계정을 마이그레이션할 인증 서비스입니다. 지원되는 옵션: email, gitlab, google, ldap, office365, saml.

to_auth:

사용자를 마이그레이션할 인증 서비스입니다. 지원되는 옵션: ldap, saml.

마이그레이션 옵션 (ldap):
match_field:

두 인증 서비스에서 동일하게 보장되는 필드입니다. 예를 들어, 사용자 이메일이 일관되면 email로 설정합니다. 지원되는 옵션: email, username.

마이그레이션 옵션 (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

user.json 예시

[
  {
    "email": "user1@example.com",
    "auth_data": {
      "saml": {
        "idp_id": "saml_idp_1",
        "saml_user_id": "user123"
      }
    }
  },
  {
    "email": "user2@example.com",
    "auth_data": {
      "saml": {
        "idp_id": "saml_idp_2",
        "saml_user_id": "user456"
      }
    }
  }
]

옵션

--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

mmctl user 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#

설명

Mark user’s email as verified without requiring user to complete email verification path.

형식

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 name or ID of the new webhook
--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           The username, email, or ID of the user that the webhook should post as

상위 명령에서 상속된 옵션

--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, 콘텐츠 유형 또는 트리거를 변경하여 기존 아웃바운드 웹훅을 수정합니다.

형식

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