InfoGrab Docs

mmctl 명령줄 도구

요약

mmctl은 로컬에 설치되어 Mattermost API를 사용하는 Mattermost 서버용 CLI 도구이며, 원격으로도 사용할 수 있습니다. 로컬에 설치되면 자체 호스팅 및 Cloud Mattermost 인스턴스 모두에서 서버에 대한 접근(예: SSH)이 없는 경우에도 시스템 관리자가 CLI 명령어를 실행할 수 있습니다.

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

로컬에 설치되면 자체 호스팅 및 Cloud Mattermost 인스턴스 모두에서 서버에 대한 접근(예: SSH)이 없는 경우에도 시스템 관리자가 CLI 명령어를 실행할 수 있습니다.

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

mmctl 사용 참고 사항#

  • 시스템 관리자가 mmctl 명령어를 실행하는 방법은 두 가지입니다: 설치 지침 에서 찾을 수 있는 릴리스 URL에서 mmctl 을 다운로드하거나, 아래의 빌드 지침 을 확인하여 직접 빌드하는 방법입니다. 소스 코드는 mattermost 저장소 내 server/cmd/mmctl 디렉터리 에 있습니다.
  • mmctl 은 Mattermost 배포판에도 번들로 제공되며, CLI 옆의 설치 경로 bin 폴더에 위치합니다.
  • Mattermost bin 폴더의 경로를 $PATH 환경 변수에 추가하는 것을 권장합니다. 이렇게 하면 현재 디렉터리 위치에 관계없이 로컬에서 mmctl 명령어를 실행할 수 있습니다.
  • bin 디렉터리가 $PATH 환경 변수에 추가되지 않은 경우, mmctl을 사용할 때마다 bin 디렉터리에 있어야 하며, 명령어 앞에 ./ 를 붙여야 합니다. 다른 디렉터리에서 작업하는 경우 mmctl 명령어를 실행할 때 mmctl의 전체 경로를 지정해야 합니다.
  • mmctl 명령어의 매개변수는 순서에 종속적입니다.
  • --local 플래그를 mmctl 명령어와 함께 사용하면 Unix 소켓을 통해 서버와 통신하여 인증 없이 명령어를 실행할 수 있습니다. 활성화 및 사용 방법에 대한 자세한 내용은 로컬 모드 문서를 참조하십시오.
  • 특수 문자(!, |, (, ), ``, ', ")를 사용하는 경우, 전체 인수를 작은따옴표로 감싸야 합니다(예: -password 'mypassword!'). 또는 각 문자를 이스케이프 처리해야 합니다(예: password mypassword\!``).
  • 팀 이름과 채널 이름은 표시 이름이 아닌 핸들을 참조합니다. 예를 들어, URL https://community.mattermost.com/core/channels/town-square 에서 팀 이름은 core 이고 채널 이름은 town-square 입니다.

mmctl 명령어#

  • mmctl auth - 인증 관리
  • mmctl bot - 봇 관리
  • mmctl channel - 채널 관리
  • mmctl command - 명령어 관리
  • mmctl cpa - 사용자 정의 프로필 속성 관리
  • mmctl completion - bash, fish, powershell, zsh용 자동완성 스크립트 생성
  • mmctl compliance-export - 컴플라이언스 내보내기 관리
  • mmctl config - 구성 관리
  • mmctl docs - mmctl 문서 생성
  • mmctl export - 내보내기 관리
  • mmctl group - 그룹 관리
  • mmctl group channel - 채널 그룹 관리
  • mmctl group team - 팀 그룹 관리
  • mmctl group user - 사용자 정의 사용자 그룹 관리
  • mmctl import - 가져오기 관리
  • mmctl extract - 콘텐츠 추출 작업 관리
  • mmctl integrity - (더 이상 사용되지 않음) 데이터베이스 레코드 무결성
  • mmctl job - 작업 관리
  • mmctl ldap - LDAP 관리
  • mmctl license - 라이선스 관리
  • mmctl logs - 로그 관리
  • mmctl oauth - OAuth2 애플리케이션 관리
  • mmctl permissions - 권한 관리
  • mmctl plugin - 플러그인 관리
  • mmctl post - 게시물 관리
  • mmctl roles - 역할 관리
  • mmctl saml - SAML 관리
  • mmctl sampledata - 샘플 데이터 생성
  • mmctl system - 시스템 관리
  • mmctl team - 팀 관리
  • mmctl team users - 팀 사용자 관리
  • mmctl token - 토큰 관리
  • mmctl user - 사용자 관리
  • mmctl user preference - 사용자 환경설정 관리
  • mmctl version - 버전 관리
  • mmctl webhook - 웹훅 관리
  • mmctl websocket - 웹소켓 관리
옵션
--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 패키지에 번들로 제공됩니다. 패키지와 별도로 설치하려는 고객을 위해 다음과 같은 설치 방법을 사용할 수 있습니다.

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만 해당)가 포함됩니다.

로컬 Git 클론에서 mmctl을 빌드하여 소스 코드를 직접 사용하고, 최신 기능을 활용하며, 사용자 정의 변경 사항을 실험할 수 있습니다. 이 워크플로는 맞춤형 mmctl 버전이 필요하거나, 버그를 수정하거나, 공식 릴리스 전에 새 업데이트를 테스트하려는 경우에 이상적입니다.

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

Linux 또는 macOS에서는 공식적으로 지원되지 않는 방법입니다. 이 설치 채널은 커뮤니티에서 관리합니다. 이슈 보고는 homebrew/homebrew-core 저장소 를 참조하십시오.

Homebrew가 설치된 Linux 및 macOS에서 이 옵션을 사용하십시오.

brew install mmctl

mmctl 빌드#

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

로컬 시스템에 mattermost 저장소 를 체크아웃한 후, 프로젝트 루트 디렉터리에서 다음 명령어를 실행하여 mmctl 바이너리를 컴파일할 수 있습니다:

make -C server mmctl-build

로컬 모드#

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

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

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

로컬 모드 활성화#

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

Tip

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

로컬 모드 사용#

Mattermost v10.8부터, 인증 구성에서 인증 자격 증명을 찾을 수 없는 경우 mmctl은 자동으로 로컬 모드를 가정하므로 사용하려는 명령어에 --local 플래그를 수동으로 추가할 필요가 없습니다. 유효한 자격 증명이 있는 경우 Mattermost는 예상대로 계속 유효성을 검사합니다.

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

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

mmctl 테스트 실행#

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

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

테스트를 실행하려면 mattermost 프로젝트 루트 디렉터리에서 다음 명령어를 실행하십시오:

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

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

mmctl auth#

설명

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

하위 명령어 - mmctl auth clean - 자격 증명 정리 - mmctl auth current - 현재 자격 증명 표시 - mmctl auth delete - 인증 세부 정보 삭제 - mmctl auth list - 등록된 자격 증명 목록 - mmctl auth login - Mattermost 인스턴스에 로그인 - mmctl auth renew - 로그인 자격 증명 갱신 - mmctl auth set - 로그인 자격 증명 설정

옵션

-h, --help   help for auth

mmctl auth clean#

설명

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

형식

mmctl auth clean [flags]

예시

mmctl auth clean

옵션

-h, --help   help for clean

상위 명령어에서 상속된 옵션

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

mmctl auth current#

설명

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

형식

mmctl auth current [flags]

예시

mmctl auth current

옵션

-h, --help   help for current

상위 명령어에서 상속된 옵션

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

mmctl auth delete#

설명

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

형식

mmctl auth delete [server name] [flags]

예시

mmctl auth delete local-server

옵션

-h, --help   help for delete

상위 명령어에서 상속된 옵션

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

mmctl auth list#

설명

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

형식

mmctl auth list [flags]

예시

mmctl auth list

옵션

-h, --help   help for auth list

상위 명령어에서 상속된 옵션

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

mmctl auth login#

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

비밀번호#

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

login 명령어는 대화형으로도 작동하므로, 필수 플래그를 비워두면 mmctl 이 대화형으로 입력을 요청합니다:

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

MFA#

MFA를 사용하여 로그인하려면 --mfa-token 플래그를 사용하십시오:

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

액세스 토큰#

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

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

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

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

현재 저장된 자격 증명을 확인할 수 있습니다:

$ mmctl auth list

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

이제 명령어를 정상적으로 실행할 수 있습니다:

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

셸 자동완성 설치#

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

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

source <(mmctl completion bash)

zsh 의 경우 ~/.zshrc 파일에 다음 줄을 추가하십시오:

source <(mmctl completion zsh)

fish 의 경우 fish 구성에 다음 줄을 추가하십시오:

mmctl completion fish | source

powershell 의 경우 PowerShell 프로필에 다음 줄을 추가하십시오:

mmctl completion powershell | Out-String | Invoke-Expression

mmctl auth renew#

설명

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

형식

mmctl auth renew [flags]

예시

mmctl auth renew local-server

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl auth set#

설명

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

형식

mmctl auth set [server name] [flags]

예시

mmctl auth set local-server

옵션

-h, --help   help for set

상위 명령어에서 상속된 옵션

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

서버에 인증하려면(예: mmctl auth login https://test.mattermost.com), 사용자 이름과 비밀번호(계정에 MFA가 활성화된 경우 MFA 토큰도 포함)를 입력하십시오.

mmctl bot#

봇을 관리합니다.

하위 명령어 - mmctl bot assign - 봇 소유권 할당 - mmctl bot create - 새 봇 생성 - mmctl bot disable - 봇 비활성화 - mmctl bot enable - 봇 활성화 - mmctl bot list - 모든 봇 목록 - mmctl bot update - 봇 구성 업데이트

옵션

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

채널을 관리합니다.

하위 명령어 - mmctl channel add - (더 이상 사용되지 않음) 채널에 사용자 추가 - mmctl channel archive - 채널 보관 - mmctl channel create - 채널 생성 - mmctl channel delete - 채널 삭제 - mmctl channel list - 지정한 팀의 모든 채널 목록 - mmctl channel make-private - (더 이상 사용되지 않음) 채널 유형을 "비공개"로 설정 - mmctl channel modify - 채널 유형 변경 (비공개/공개) - mmctl channel move - 채널을 지정한 팀으로 이동 - mmctl channel remove - (더 이상 사용되지 않음) 채널에서 사용자 제거 - mmctl channel rename - 채널 이름 변경 - mmctl channel restore - (더 이상 사용되지 않음) 보관된 채널 복원 - mmctl channel search - 이름으로 채널 검색 - mmctl channel unarchive - 보관된 채널 복원 - mmctl channel users - 채널 사용자 관리 - mmctl channel users add - 채널에 사용자 추가 - mmctl channel users remove - 채널에서 사용자 제거

옵션

-h, --help   help for channel

mmctl channel archive#

설명

채널과 데이터베이스의 게시물을 포함한 모든 관련 정보를 보관합니다. 채널은 [team]:[channel] 형식(예: myteam:mychannel) 또는 채널 ID로 지정할 수 있습니다.

형식

mmctl channel archive [channels] [flags]

예시

mmctl channel archive myteam:mychannel

옵션

-h, --help   help for archive

상위 명령어에서 상속된 옵션

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

mmctl channel add#

이 명령은 더 이상 사용되지 않습니다. mmctl channel users add 를 사용하세요.

설명

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

형식

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

예시

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

옵션

-h, --help   help for add

상위 명령어에서 상속된 옵션

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

mmctl channel create#

설명

채널을 생성합니다.

형식

mmctl channel create [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl channel delete#

설명

채널과 데이터베이스의 게시물을 포함한 모든 관련 정보를 영구적으로 삭제합니다.

Note

Requires the Enable API Channel Deletion configuration setting to be set to true. If this configuration setting is set to false, attempting to delete the channel using mmctl fails.

형식

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#

This command is deprecated in favour of mmctl channel modify and the --private flag.

설명

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

이 명령은 더 이상 사용되지 않습니다. mmctl channel users remove 를 사용하세요.

설명

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

형식

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

예시

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

옵션

-h, --help   help for remove

상위 명령어에서 상속된 옵션

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

mmctl channel restore#

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

설명

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

형식

mmctl channel restore [channels] [flags]

예시

mmctl channel restore myteam:mychannel

옵션

-h, --help   help for restore

상위 명령어에서 상속된 옵션

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

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl channel unarchive#

설명

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

형식

mmctl channel unarchive [channels] [flags]

예시

mmctl channel unarchive myteam:mychannel

옵션

-h, --help   help for unarchive

상위 명령어에서 상속된 옵션

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

mmctl channel users#

설명

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

옵션

-h, --help   help for users

상위 명령어에서 상속된 옵션

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

mmctl channel users add#

설명

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

형식

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

예시

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

옵션

-h, --help   help for add

상위 명령어에서 상속된 옵션

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

mmctl channel users remove#

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl command#

슬래시 명령어를 관리합니다.

하위 명령어 - mmctl command archive - 슬래시 명령어 보관 - mmctl command create - 사용자 정의 명령어 생성 - mmctl command delete - (더 이상 사용되지 않음) 지정한 슬래시 명령어 삭제 - mmctl command list - 지정한 팀의 슬래시 명령어 목록 - mmctl command modify - 슬래시 명령어 수정 - mmctl command move - 슬래시 명령어를 다른 팀으로 이동 - mmctl command show - 사용자 정의 슬래시 명령어 표시

옵션

-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 설명
-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 설명
-h, --help                   help for modify
--icon string                Command Icon URL
--post                       Use POST method for Callback URL
--response-username string   Command Response Username
--title string               Command Title
--trigger-word string        Command Trigger Word (required)
--url string                 Command Callback URL (required)

상위 명령어에서 상속된 옵션

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

mmctl command move#

설명

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

형식

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

예시

mmctl command move newteam commandID

옵션

-h, --help   help for move

상위 명령어에서 상속된 옵션

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

mmctl command show#

설명

사용자 정의 슬래시 명령어를 표시합니다. 명령어는 명령어 ID로 지정할 수 있습니다. 명령어 ID, 팀 ID, 트리거 워드, 표시 이름, 생성자 사용자 이름을 반환합니다.

형식

mmctl command show [commandID] [flags]

예시

mmctl command show commandID

옵션

-h, --help   help for show

상위 명령어에서 상속된 옵션

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

mmctl completion#

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

하위 명령어 - mmctl completion bash - Generate the autocompletion script for bash - mmctl completion fish - Generate the autocompletion script for fish - mmctl completion powershell - Generate the autocompletion script for powershell - mmctl completion zsh - Generate the autocompletion script for zsh

옵션

-h, --help   help for completion

mmctl completion bash#

설명

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

자동완성을 로드하려면 다음을 실행하십시오:

. <(mmctl completion bash)

bash 셸에서 세션마다 자동완성을 로드하도록 구성하려면 위 줄을 ~/.bashrc 에 추가하십시오.

자동완성을 로드하려면 다음을 실행하십시오:

mmctl completion bash [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl completion fish#

설명

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

자동완성을 로드하려면 다음을 실행하십시오:

mmctl completion fish | source

fish 셸에서 세션마다 자동완성을 로드하도록 구성하려면 위 줄을 fish 구성 파일에 추가하십시오.

형식

mmctl completion fish [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl completion powershell#

설명

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

자동완성을 로드하려면 다음을 실행하십시오:

mmctl completion powershell | Out-String | Invoke-Expression

powershell 셸에서 세션마다 자동완성을 로드하도록 구성하려면 위 줄을 PowerShell 프로필에 추가하십시오.

형식

mmctl completion powershell [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl completion zsh#

설명

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

자동완성을 로드하려면 다음을 실행하십시오:

. <(mmctl completion zsh)

zsh 셸에서 세션마다 자동완성을 로드하도록 구성하려면 위 줄을 ~/.zshrc 에 추가하십시오.

형식

mmctl completion zsh [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl cpa#

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

하위 명령어 - mmctl cpa field - Manage CPA fields

옵션

-h, --help   help for cpa

mmctl cpa field#

설명

사용자 정의 프로필 속성 필드를 관리합니다.

하위 명령어 - mmctl cpa field create - 새 CPA 필드 생성 - mmctl cpa field delete - CPA 필드 삭제 - mmctl cpa field edit - CPA 필드 편집 - mmctl cpa field list - CPA 필드 목록

옵션

-h, --help   help for field

mmctl cpa field create#

설명

새 사용자 정의 프로필 속성 필드를 생성합니다.

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl cpa field delete#

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl cpa field edit#

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl cpa field list#

설명

모든 사용자 정의 프로필 속성 필드를 나열합니다.

형식

mmctl cpa field list [flags]

예시

mmctl cpa field list
mmctl cpa field list --json

옵션

-h, --help   help for list

상위 명령어에서 상속된 옵션

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

mmctl compliance-export#

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

하위 명령어 - mmctl compliance-export cancel - Cancel a compliance export job - mmctl compliance-export create - Create a new compliance export job - mmctl compliance-export download - Download a compliance export file - mmctl compliance-export list - List compliance export jobs, sorted by creation date descending (newest first) - mmctl compliance-export show - Show compliance export job

mmctl compliance-export cancel#

설명

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

형식

mmctl compliance-export cancel [complianceExportJobID] [flags]

예시

mmctl compliance-export cancel o98rj3ur83dp5dppfyk5yk6osy

옵션

-h, --help   help for cancel

상위 명령어에서 상속된 옵션

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

mmctl compliance-export create#

설명

채널 메시지, 다이렉트 메시지, 파일 업로드, 플러그인/봇/웹훅의 게시물을 보관하는 새 컴플라이언스 내보내기 작업을 생성합니다. 지원되는 내보내기 형식으로는 CSV, Actiance XML, Global Relay EML(서드파티 컴플라이언스 시스템 연동용)이 있습니다.

  • --date 가 설정된 경우, 해당 일의 12am부터 12am(1밀리초 전)까지 하루 동안 작업이 실행됩니다.
  • mmctl에서 컴플라이언스 내보내기 작업을 실행해도 다음 예약된 작업의 batch_start_time 에는 영향을 주지 않습니다. 즉, mmctl에서 컴플라이언스 내보내기 작업을 실행하더라도 다음 예약된 작업은 평소와 같이 이전 예약 작업의 batch_end_time 부터 실행됩니다.
형식
mmctl compliance-export create [complianceExportType] --date "2025-03-27 -0400" [flags]

Example

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl compliance-export download#

설명

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

형식

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

Example

mmctl compliance-export download o98rj3ur83dp5dppfyk5yk6osy
  
**옵션**
-h, --help       help for list
   --num-retries int   Number of retries if the download fails (default 5)
   
**상위 명령어에서 상속된 옵션**
--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl compliance-export list#

설명

모든 컴플라이언스 내보내기 작업을 생성 날짜 내림차순(최신 순)으로 나열합니다.

형식

mmctl compliance-export list [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl compliance-export show#

설명

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

형식

mmctl compliance-export show [complianceExportJobID] [flags]

예시

mmctl compliance-export show o98rj3ur83dp5dppfyk5yk6osy

옵션

-h, --help   help for show

상위 명령어에서 상속된 옵션

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

mmctl config#

구성 설정을 관리합니다.

하위 명령어 - mmctl config edit - 구성 설정 편집 - mmctl config export - 서버 구성 내보내기 - mmctl config get - 구성 설정 값 가져오기 - mmctl config migrate - 기존 구성을 백엔드 간 마이그레이션 - mmctl config patch - 구성 패치 - mmctl config reload - 서버 구성 다시 로드 - mmctl config reset - 구성 초기화 - mmctl config set - 구성 값 설정 - mmctl config show - 서버 구성을 STDOUT에 출력 - mmctl config subpath - 구성된 서브패스를 사용하도록 클라이언트 에셋 로딩 업데이트

옵션

-h, --help   help for config

mmctl config edit#

설명

EDITOR 환경 변수에 정의된 편집기를 열어 서버 구성을 수정합니다. 완료 후 파일을 저장하고 서버에 업로드하십시오.

형식

mmctl config edit [flags]

예시

mmctl config edit

옵션

-h, --help   help for edit

상위 명령어에서 상속된 옵션

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

mmctl config export#

설명

서버 구성을 내보내는 명령어로, 다른 서버나 환경에서 가져올 수 있습니다. 마스킹된 값은 도구가 로컬 모드 로 실행될 때만 내보내집니다.

형식

mmctl config export [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl config get#

설명

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

형식

mmctl config get [flags]

예시

mmctl config get SqlSettings.DriverName

옵션

-h, --help   help for get

상위 명령어에서 상속된 옵션

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

mmctl config migrate#

설명

파일 기반 구성을 데이터베이스 기반 구성으로(또는 그 반대로) 마이그레이션합니다. Mattermost 서버가 대상 구성을 사용하도록 지정하십시오. 이 명령어는 구성 데이터를 한 유형에서 다른 유형으로만 마이그레이션합니다.

Note
    • To change the store type to use the database, a system admin needs to set a MM_CONFIG environment variable and restart the Mattermost server.
    • The migrate function requires local mode to be enabled. To do this, add the following line to your Mattermost Environment file:
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#

설명

점 표기법의 이름으로 구성 설정 값을 지정합니다. 배열 설정에 대해 여러 값을 허용합니다.

Note

Mattermost plugin uploads can't be enabled through the API or using mmctl in local mode.

형식

mmctl config set [flags]

4 Examples

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#

내보내기를 관리합니다.

하위 명령어 - mmctl export create - 내보내기 파일 생성 - mmctl export delete - 내보내기 파일 삭제 - mmctl export download - 내보내기 파일 다운로드 - mmctl export generate-presigned-url - 내보내기 파일의 사전 서명된 URL 생성 - mmctl export job - 내보내기 작업 목록 조회, 표시, 취소 - mmctl export job cancel - 내보내기 작업 취소 - mmctl export job list - 내보내기 작업 목록 - mmctl export job show - 내보내기 작업 표시 - mmctl export list - 내보내기 파일 목록

옵션

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

Example

mmctl export delete export_file.zip

옵션

-h, --help   help for delete

상위 명령어에서 상속된 옵션

~~~~~~~~~~~~~~~~~~~~~

설명

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

형식

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

Example

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

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

옵션

-h, --help          help for download
   --num-retries int   Number of retries to resume a download. (Default is 5)
    
**상위 명령어에서 상속된 옵션**
--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export generate-presigned-url#

설명

Mattermost Cloud 내보내기 파일의 크기가 크거나 Mattermost 서버에서 다운로드하기 어려운 경우 내보내기 파일의 사전 서명된 URL을 생성합니다.

EnableExportDirectDownload 기능 플래그를 true 로 설정해야 합니다.

형식

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

옵션

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

<p><strong>상위 명령어에서 상속된 옵션</strong>

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate 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]

Example

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]

Example

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]

Example

mmctl export job show
  
**옵션**
-h, --help   help for show

상위 명령어에서 상속된 옵션

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

mmctl export list#

설명

내보내기 파일을 나열합니다. 내보내기 파일 이름에는 작업 ID가 포함됩니다.

형식

mmctl export list [flags]

옵션

-h, --help   help for list

상위 명령어에서 상속된 옵션

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

mmctl group#

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

하위 명령어 - mmctl group channel - 채널 그룹 관리 - mmctl group list-ldap - LDAP 그룹 목록 - mmctl group team - 팀 그룹 관리 - mmctl group user - 사용자 정의 사용자 그룹 관리

mmctl group channel#

채널 그룹을 관리합니다.

하위 명령어 - mmctl group channel disable - 채널 그룹 제약 비활성화 - mmctl group channel enable - 채널 그룹 제약 활성화 - mmctl group channel list - 채널 그룹 목록 - mmctl group channel status - 그룹 상태 확인

옵션

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

팀 그룹을 관리합니다.

하위 명령어 - mmctl group team disable - 팀 그룹 제약 비활성화 - mmctl group team enable - 팀 그룹 제약 활성화 - mmctl group team list - 팀 그룹 목록 - mmctl group team status - 그룹 제약 상태 확인

옵션

-h, --help   help for group

mmctl group team disable#

설명

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

형식

mmctl group team disable [team] [flags]

예시

mmctl group team disable myteam

<p><strong>옵션</strong>

-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

상위 명령어에서 상속된 옵션


사용자 정의 사용자 그룹을 관리합니다.

하위 명령어 - mmctl group user restore - 사용자 정의 사용자 그룹 복원

옵션

-h, --help   help for group

mmctl group user restore#

설명

사용자 정의 사용자 그룹을 복원합니다.

형식

mmctl group user restore [groupname] [flags]

예시

mmctl group user restore examplegroup

<p><strong>옵션</strong>

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

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

하위 명령어 - mmctl extract job - 콘텐츠 추출 작업 목록 및 표시 - mmctl extract run - 콘텐츠 추출 작업 시작

옵션

-h, --help   help for list

mmctl extract job#

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

하위 명령어 - mmctl extract job list - 콘텐츠 추출 작업 목록 - mmctl extract job show - 추출 작업 표시

mmctl extract job list#

설명

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

형식

mmctl extract job list [flags]

예시

mmctl extract job list

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl extract job show#

설명

추출 작업을 표시합니다.

형식

mmctl extract job show [extractJobID] [flags]

예시

mmctl extract job show f3d68qkkm7n8xgsfxwuo498rah

옵션

-h, --help   help for disable

상위 명령어에서 상속된 옵션

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

mmctl extract run#

설명

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

형식

mmctl extract run [flags]

예시

mmctl extract run

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl import#

설명

가져오기를 관리합니다.

하위 명령어 - mmctl import delete - 가져오기 파일 삭제 - mmctl import job - 가져오기 작업 목록 및 표시 - mmctl import job list - 가져오기 작업 목록 - mmctl import job show - 가져오기 작업 표시 - mmctl import list - 모든 가져오기 파일 목록 - mmctl import list available - 사용 가능한 가져오기 파일 목록 - mmctl import list incomplete - 불완전한 가져오기 파일 업로드 목록 - mmctl import process - 가져오기 작업 시작 - mmctl import upload - 가져오기 파일 업로드 - mmctl import validate - 가져오기 파일 유효성 검사

옵션

-h, --help   help for import

mmctl import delete#

설명

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

형식

mmctl import delete [import-name] [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl import job#

설명

가져오기 작업을 목록 조회하고 표시합니다.

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import job list#

설명

가져오기 작업을 나열합니다.

형식

mmctl import job list [flags]

예시

mmctl import job list

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl import job show#

설명

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

형식

mmctl import job show [importJobID] [flags]

예시

mmctl import job show f3d68qkkm7n8xgsfxwuo498rah

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import list#

설명

모든 가져오기 파일을 나열합니다.

예시

mmctl import list

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import list available#

설명

사용 가능한 가져오기 파일을 나열합니다.

형식

mmctl import list available [flags]

예시

mmctl import list available

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import list incomplete#

설명

불완전한 가져오기 파일 업로드를 나열합니다.

형식

mmctl import list incomplete [flags]

예시

mmctl import list incomplete

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import process#

설명

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

형식

mmctl import process [importname] [flags]

예시

mmctl import process 35uy6cwrqfnhdx3genrhqqznxc_import.zip

옵션

-h, --help          help for status
--bypass-upload     File is read directly from the filesystem, instead of being processed from the server. Supported in --local mode only.
--extract-content   Document attachments will be extracted and indexed during the import process. We recommend disabling this to improve performance.

상위 명령어에서 상속된 옵션

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

mmctl import upload#

설명

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

형식

mmctl import upload [filepath] [flags]

예시

mmctl import upload import_file.zip

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl import validate#

설명

가져오기 파일의 유효성을 검사합니다.

형식

mmctl import validate [filepath] [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl integrity#

설명

이 명령어는 Mattermost v9.3부터 더 이상 사용되지 않습니다. 발견된 고아 레코드에 대한 정보를 반환하는 관계형 무결성 검사를 수행합니다. 이 명령어는 로컬 모드 를 사용해서만 실행할 수 있습니다.

형식

mmctl integrity [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl job#

작업을 관리합니다.

하위 명령어 - mmctl job list - 최신 작업 목록 - mmctl job update - 작업 상태 업데이트

옵션

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

설명

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

Important

다음 상태 규칙이 허용됩니다:

    • 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 관련 유틸리티입니다.

하위 명령어 - mmctl ldap idmigrate - LDAP IdAttribute를 새 값으로 마이그레이션 - mmctl ldap job - LDAP 동기화 작업 목록 및 표시 - mmctl ldap sync - 모든 LDAP 사용자 및 그룹 동기화

옵션

-h, --help   help for ldap

mmctl ldap idmigrate#

설명

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

  1. 서버 재시작의 영향을 최소화하기 위해 사용자 트래픽이 적은 시간을 기다립니다.
  2. mmctl ldap idmigrate objectGUID 명령어를 실행합니다.
  3. 시스템 콘솔에서 구성을 새 값 objectGUID 로 업데이트합니다.
  4. Mattermost 서버를 재시작합니다.

형식

mmctl ldap idmigrate <objectGUID> [flags]

예시

mmctl ldap idmigrate objectGUID

옵션

-h, --help   help for idmigrate

상위 명령어에서 상속된 옵션

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

mmctl ldap job#

LDAP 동기화 작업을 목록 조회하고 표시합니다.

하위 명령어

- mmctl ldap job list - LDAP 동기화 작업 목록 - mmctl ldap job show - LDAP 동기화 작업 표시

옵션

-h, --help   help for ldap

mmctl ldap job list#

설명

LDAP 동기화 작업을 나열합니다.

형식

mmctl ldap job list [flags]

예시

mmctl ldap job list

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl ldap job show#

설명

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

형식

mmctl ldap job show [ldapJobID] [flags]

예시

mmctl ldap show f3d68qkkm7n8xgsfxwuo498rah

옵션

-h, --help       help for list

상위 명령어에서 상속된 옵션

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

mmctl ldap sync#

설명

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

형식

mmctl ldap sync [flags]

예시

mmctl ldap sync

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl license#

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

하위 명령어 - mmctl license get - 현재 라이선스 가져오기 - mmctl license remove - 현재 라이선스 제거 - mmctl license upload - 새 라이선스 업로드 - mmctl license upload-string - 문자열로 라이선스 업로드

옵션

-h, --help   help for license

mmctl license get#

설명

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

형식

mmctl license get [flags]

예시

mmctl license get

옵션

-h, --help   help for get

상위 명령어에서 상속된 옵션

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

mmctl license remove#

설명

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

형식

mmctl license remove [flags]

예시

mmctl license remove

옵션

-h, --help   help for remove

상위 명령어에서 상속된 옵션

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

mmctl license upload#

설명

라이선스를 업로드하고 현재 라이선스를 대체합니다.

형식

mmctl license upload [license] [flags]

예시

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

옵션

-h, --help   help for upload

상위 명령어에서 상속된 옵션

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

mmctl license upload-string#

설명

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

형식

mmctl license upload-string [license] [flags]

예시

license upload-string "mylicensestring"

옵션

-h, --help   help for upload

상위 명령어에서 상속된 옵션

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

mmctl logs#

설명

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

형식

mmctl logs [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl oauth#

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

하위 명령어 - mmctl oauth list - OAuth2 애플리케이션 목록

옵션

-h, --help   help for permissions

mmctl oauth list#

설명

등록된 모든 OAuth2 애플리케이션을 나열합니다.

형식

mmctl oauth list [flags]

Example

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#

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

하위 명령어 - mmctl permissions add - 역할에 권한 추가 - mmctl permissions remove - 역할에서 권한 제거 - mmctl permissions reset - 역할의 기본 권한 초기화 - mmctl permissions role assign - 사용자를 역할에 할당 - mmctl permissions role show - 역할 정보 표시 - mmctl permissions role unassign - 역할에서 사용자 할당 해제

옵션

-h, --help   help for permissions

mmctl permissions add#

설명

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

형식

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#

설명

기존 역할에서 하나 이상의 권한을 제거합니다. 기밀 프로젝트의 경우, 이 명령어를 사용하여 팀원이 프로젝트 외부의 구성원을 알 수 없도록 하고, @멘션 이 기밀 프로젝트 외부 사람들의 이름을 노출하지 않도록 할 수 있습니다.

형식

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

예시

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

옵션

-h, --help   help for remove

상위 명령어에서 상속된 옵션

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

mmctl permissions reset#

설명

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

형식

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#

설명

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

형식

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

예시

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

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

옵션

-h, --help   help for assign

상위 명령어에서 상속된 옵션

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

mmctl permissions role show#

설명

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

형식

mmctl permissions role show <role_name> [flags]

예시

mmctl permissions role show system_user

옵션

-h, --help   help for show

상위 명령어에서 상속된 옵션

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

mmctl permissions role unassign#

설명

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

형식

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

예시

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

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

옵션

-h, --help   help for unassign

상위 명령어에서 상속된 옵션

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

mmctl plugin#

플러그인을 관리합니다.

하위 명령어 - mmctl plugin add - 플러그인 추가 - mmctl plugin delete - 플러그인 제거 - mmctl plugin disable - 플러그인 비활성화 - mmctl plugin enable - 플러그인 활성화 - mmctl plugin install-url - URL에서 플러그인 설치 - mmctl plugin list - 플러그인 목록 - mmctl plugin marketplace - 마켓플레이스 플러그인 관리

옵션

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

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

하위 명령어 - mmctl plugin marketplace install - 플러그인 마켓플레이스에서 플러그인 설치 - mmctl plugin marketplace list - 플러그인 마켓플레이스의 플러그인 목록

옵션

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

게시물을 관리합니다.

하위 명령어 - mmctl post create - 게시물 생성 - mmctl post delete - 게시물 삭제 - mmctl post list - 채널의 게시물 목록

옵션

-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 관련 유틸리티입니다.

하위 명령어 - mmctl saml auth-data-reset - AuthData 필드를 이메일로 초기화

옵션

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

서버 상태 및 구성과 상호 작용하기 위한 시스템 관리 명령어입니다.

하위 명령어 - mmctl system clearbusy - 사용 중 상태 해제 - mmctl system getbusy - 현재 사용 중 상태 가져오기 - mmctl system setbusy - 사용 중 상태를 true 로 설정 - mmctl system status - 서버 상태 출력 - mmctl system supportpacket - 지원 패킷 다운로드 - mmctl system version - 원격 서버 버전 빌드 번호 출력

옵션

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

팀을 관리합니다.

Important

mmctl 명령어에서 팀 이름을 지정할 때는 채널 사이드바에 표시되는 표시 이름이 아닌 team-URL 버전의 팀 이름을 사용해야 합니다. team-URL 에는 공백이 없습니다. mmctl team list 명령어를 실행하면 서버의 모든 팀 목록을 team-URL 형식으로 반환합니다. 자세한 내용은 팀 이름 및 URL 선택 문서를 참조하십시오.

하위 명령어

  • mmctl team archive - 팀 보관
  • mmctl team create - 팀 생성
  • mmctl team delete - 팀 삭제
  • mmctl team list - 팀 목록
  • mmctl team modify - 팀 수정
  • mmctl team rename - 팀 이름 변경
  • mmctl team restore - 팀 복원
  • mmctl team search - 팀 검색
  • mmctl team users - 팀 사용자 관리

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

설명

팀과 데이터베이스의 게시물을 포함한 모든 관련 정보를 영구적으로 삭제합니다.

Note

Requires the Enable API Team Deletion configuration setting to be set to true. If this configuration setting is set to false, attempting to delete the team using mmctl fails.

형식

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 search [teams] [flags]

예시

mmctl team search team1

옵션

-h, --help  help for search

상위 명령어에서 상속된 옵션

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

mmctl team users#

팀 사용자를 관리합니다.

하위 명령어 - mmctl team users add - 팀에 사용자 추가 - mmctl team users remove - 팀에서 사용자 제거

옵션

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

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

하위 명령어 - mmctl token generate - 사용자 토큰 생성 - mmctl token list - 사용자 토큰 목록 - mmctl token revoke - 사용자 토큰 취소

옵션

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

사용자를 관리합니다.

하위 명령어 - mmctl user activate - 사용자 활성화 - mmctl user change-password - 사용자 비밀번호 변경 - mmctl user convert - 사용자를 봇으로 또는 봇을 사용자로 변환 - mmctl user create - 사용자 생성 - mmctl user deactivate - 사용자 비활성화 - mmctl user delete - 사용자 삭제 - mmctl user deleteall - 모든 사용자 및 게시물 삭제 (로컬 명령어 전용) - mmctl user demote - 사용자를 게스트로 강등 - mmctl user edit - 사용자 속성 편집 - mmctl user edit authdata - 사용자 인증 데이터 편집 - mmctl user edit email - 사용자 이메일 주소 편집 - mmctl user edit username - 사용자 이름 편집 - mmctl user email - (더 이상 사용되지 않음) 사용자 이메일 설정 - mmctl user invite - 사용자 초대 - mmctl user list - 사용자 목록 - mmctl user migrate-auth - 사용자 계정 인증 유형 일괄 마이그레이션 - mmctl user preference - 사용자 환경설정 관리 - mmctl user promote - 게스트를 사용자로 승격 - mmctl user reset-password - 사용자 비밀번호 초기화 - mmctl user resetmfa - 사용자의 MFA 토큰 초기화 - mmctl user search - 사용자 검색 - mmctl user username - (더 이상 사용되지 않음) 사용자 이름 변경 - mmctl user verify - 사용자 이메일을 확인됨으로 표시

옵션

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

설명

사용자와 데이터베이스의 게시물을 포함한 모든 관련 정보를 영구적으로 삭제합니다.

Note

Requires the Enable API User Deletion configuration setting to be set to true. If this configuration setting is set to false, attempting to delete the user using mmctl fails.

형식

mmctl user delete [users] [flags]

예시

mmctl user delete user@example.com

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl user deleteall#

설명

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

형식

mmctl user deleteall [flags]

예시

mmctl user deleteall

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl user demote#

설명

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

형식

mmctl user demote [users] [flags]

예시

mmctl user demote user1 user2

옵션

-h, --help   help for demote

상위 명령어에서 상속된 옵션

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

mmctl user edit#

설명

사용자 이름, 이메일, 인증 데이터를 포함한 사용자 속성을 편집합니다. 이 명령어는 데이터베이스에 직접 접근하지 않고 사용자 속성을 수정하는 구조화된 방법을 제공합니다.

형식

mmctl user edit [user] [flags]

예시

mmctl user edit testuser --help

옵션

-h, --help       help for edit

하위 명령어

  • mmctl user edit authdata - 사용자 인증 데이터 편집
  • mmctl user edit email - 사용자 이메일 주소 편집
  • mmctl user edit username - 사용자 이름 편집
상위 명령어에서 상속된 옵션
--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user edit authdata#

설명

사용자 인증 데이터를 편집합니다. 이 명령어는 SAML 구성에서 ID 속성으로 이메일을 사용할 때 SAML 인증 사용자가 인증 정보를 변경해야 하는 일반적인 문제를 해결하여 데이터베이스 직접 조작 없이도 처리할 수 있습니다.

형식

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

예시

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

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

옵션

-h, --help       help for authdata

상위 명령어에서 상속된 옵션

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

mmctl user edit email#

설명

사용자 이메일 주소를 편집합니다. 이 명령어는 SAML 구성에서 ID 속성으로 이메일을 사용하는 경우 이메일 주소를 변경해야 하는 SAML 인증 사용자에게 특히 유용합니다. 데이터베이스 직접 조작보다 안전한 대안을 제공합니다.

Note

Mattermost v10.9부터, 꺾쇠 괄호로 묶인 이메일 주소(예: <billy@example.com>)는 거부됩니다. 문제를 방지하려면 모든 사용자 이메일이 일반 주소 형식(예: billy@example.com)을 따르는지 확인하십시오. 또한 영향을 받는 사용자는 Mattermost에 액세스하거나 사용자 프로필을 관리하는 데 문제가 발생할 수 있으므로, 이 제품 변경 사항에 맞게 Mattermost 사용자 데이터를 감사하고 업데이트하는 사전 조치를 취하는 것을 강력히 권장합니다. 다음 mmctl 명령어를 사용하여 이러한 사용자 이메일을 수동으로 업데이트할 수 있습니다: mmctl user edit email "<affecteduser@domain.com>" affecteduser@domain.com.

형식

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

예시

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

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

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

옵션

-h, --help       help for email

상위 명령어에서 상속된 옵션

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

mmctl user edit username#

설명

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

형식

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

예시

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

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

옵션

-h, --help       help for username

상위 명령어에서 상속된 옵션

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

mmctl user email#

이 명령은 더 이상 사용되지 않습니다. mmctl user edit email 을 사용하세요.

설명

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

Note

Mattermost v10.9부터, 꺾쇠 괄호로 묶인 이메일 주소(예: <billy@example.com>)는 거부됩니다. 문제를 방지하려면 모든 사용자 이메일이 일반 주소 형식(예: billy@example.com)을 따르는지 확인하십시오. 또한 영향을 받는 사용자는 Mattermost에 액세스하거나 사용자 프로필을 관리하는 데 문제가 발생할 수 있으므로, 이 제품 변경 사항에 맞게 Mattermost 사용자 데이터를 감사하고 업데이트하는 사전 조치를 취하는 것을 강력히 권장합니다. 다음 mmctl 명령어를 사용하여 이러한 사용자 이메일을 수동으로 업데이트할 수 있습니다: mmctl user edit email "<affecteduser@domain.com>" affecteduser@domain.com.

형식

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

예시

mmctl user email testuser user@example.com
  
**옵션**
-h, --help       help for email

상위 명령어에서 상속된 옵션

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

mmctl user invite#

설명

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

형식

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

예시

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

옵션

-h, --help       help for invite

상위 명령어에서 상속된 옵션

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

mmctl user list#

설명

모든 사용자를 나열합니다.

형식

mmctl user list [flags]

예시

mmctl user list

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl user migrate-auth#

설명

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

형식

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

Arguments

from_auth: 사용자 계정을 마이그레이션할 소스 인증 서비스입니다. 지원 옵션: email, gitlab, google, ldap, office365, saml. to_auth: 사용자를 마이그레이션할 대상 인증 서비스입니다. 지원 옵션: ldap, saml. migration-options (ldap): match_field: 두 인증 서비스에서 동일하게 보장되는 필드입니다. 예를 들어 사용자 이메일이 일치하면 email로 설정합니다. 지원 옵션: email, username. migration-options (saml): users_file: SAML로 마이그레이션할 모든 사용자의 사용자 이름과 이메일이 담긴 JSON 파일 경로입니다. 사용자 이름과 이메일은 SAML 서비스 공급자에 저장된 것과 동일해야 하며, 이메일은 Mattermost 데이터베이스의 이메일과 일치해야 합니다.
Example json content:
{
   "usr1@email.com": "usr.one",
   "usr2@email.com": "usr.two"
}

예시

mmctl user migrate-auth email saml users.json

user.json Example

[
  {
    "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#

설명

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

하위 명령어 - mmctl user preference get - Get a specific user preference - mmctl user preference list - List user preferences - mmctl user preference set - Set a specific user preference - mmctl user preference delete - Delete a specific 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 강제 적용이 활성화된 경우, 사용자는 다음 로그인 시 MFA를 다시 활성화해야 합니다.

형식

mmctl user resetmfa [users] [flags]

예시

mmctl user resetmfa user@example.com

옵션

-h, --help       help for resetmfa

상위 명령어에서 상속된 옵션

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

설명

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

형식

mmctl user search [users] [flags]

예시

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

옵션

-h, --help       help for search

상위 명령어에서 상속된 옵션

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

mmctl user username#

이 명령은 더 이상 사용되지 않습니다. 대신 mmctl user edit username 을 사용하세요.

설명

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

형식

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

예시

mmctl user username testuser newusername

옵션

-h, --help       help for version

상위 명령어에서 상속된 옵션

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

mmctl user verify#

설명

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

형식

mmctl user verify [users] [flags]

예시

mmctl user verify user1

옵션

-h, --help       help for version

상위 명령어에서 상속된 옵션

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

mmctl version#

설명

mmctl의 버전을 출력합니다.

형식

mmctl version [flags]

옵션

-h, --help       help for version

상위 명령어에서 상속된 옵션

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

mmctl webhook#

설명

웹훅을 관리합니다.

하위 명령어 - mmctl webhook create-incoming - Create an incoming webhook - mmctl webhook create-outgoing - Create an outgoing webhook - mmctl webhook delete - Delete webhooks - mmctl webhook list - List webhooks - mmctl webhook modify-incoming - Modify an incoming webhook - mmctl webhook modify-outgoing - Modify an outgoing webhook - mmctl webhook show - Show a webhook

옵션

-h, --help       help for webhook

mmctl webhook create-incoming#

설명

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

형식

mmctl webhook create-incoming [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl webhook create-outgoing#

설명

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

형식

mmctl webhook create-outgoing [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl webhook delete#

설명

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

형식

mmctl webhook delete [flags]

예시

mmctl webhook delete [webhookID]

옵션

-h, --help   help for delete

상위 명령어에서 상속된 옵션

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

mmctl webhook list#

설명

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

형식

mmctl webhook list [flags]

예시

mmctl webhook list myteam

옵션

-h, --help   help for list

상위 명령어에서 상속된 옵션

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

mmctl webhook modify-incoming#

설명

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

형식

mmctl webhook modify-incoming [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl webhook modify-outgoing#

설명

제목, 설명, 채널, 아이콘, URL, 콘텐츠 유형 또는 트리거를 변경하여 기존 발신 웹훅을 수정합니다.

형식

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

mmctl 명령줄 도구

원문 보기
요약

mmctl은 로컬에 설치되어 Mattermost API를 사용하는 Mattermost 서버용 CLI 도구이며, 원격으로도 사용할 수 있습니다. 로컬에 설치되면 자체 호스팅 및 Cloud Mattermost 인스턴스 모두에서 서버에 대한 접근(예: SSH)이 없는 경우에도 시스템 관리자가 CLI 명령어를 실행할 수 있습니다.

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

로컬에 설치되면 자체 호스팅 및 Cloud Mattermost 인스턴스 모두에서 서버에 대한 접근(예: SSH)이 없는 경우에도 시스템 관리자가 CLI 명령어를 실행할 수 있습니다.

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

mmctl 사용 참고 사항#

  • 시스템 관리자가 mmctl 명령어를 실행하는 방법은 두 가지입니다: 설치 지침 에서 찾을 수 있는 릴리스 URL에서 mmctl 을 다운로드하거나, 아래의 빌드 지침 을 확인하여 직접 빌드하는 방법입니다. 소스 코드는 mattermost 저장소 내 server/cmd/mmctl 디렉터리 에 있습니다.
  • mmctl 은 Mattermost 배포판에도 번들로 제공되며, CLI 옆의 설치 경로 bin 폴더에 위치합니다.
  • Mattermost bin 폴더의 경로를 $PATH 환경 변수에 추가하는 것을 권장합니다. 이렇게 하면 현재 디렉터리 위치에 관계없이 로컬에서 mmctl 명령어를 실행할 수 있습니다.
  • bin 디렉터리가 $PATH 환경 변수에 추가되지 않은 경우, mmctl을 사용할 때마다 bin 디렉터리에 있어야 하며, 명령어 앞에 ./ 를 붙여야 합니다. 다른 디렉터리에서 작업하는 경우 mmctl 명령어를 실행할 때 mmctl의 전체 경로를 지정해야 합니다.
  • mmctl 명령어의 매개변수는 순서에 종속적입니다.
  • --local 플래그를 mmctl 명령어와 함께 사용하면 Unix 소켓을 통해 서버와 통신하여 인증 없이 명령어를 실행할 수 있습니다. 활성화 및 사용 방법에 대한 자세한 내용은 로컬 모드 문서를 참조하십시오.
  • 특수 문자(!, |, (, ), ``, ', ")를 사용하는 경우, 전체 인수를 작은따옴표로 감싸야 합니다(예: -password 'mypassword!'). 또는 각 문자를 이스케이프 처리해야 합니다(예: password mypassword\!``).
  • 팀 이름과 채널 이름은 표시 이름이 아닌 핸들을 참조합니다. 예를 들어, URL https://community.mattermost.com/core/channels/town-square 에서 팀 이름은 core 이고 채널 이름은 town-square 입니다.

mmctl 명령어#

  • mmctl auth - 인증 관리
  • mmctl bot - 봇 관리
  • mmctl channel - 채널 관리
  • mmctl command - 명령어 관리
  • mmctl cpa - 사용자 정의 프로필 속성 관리
  • mmctl completion - bash, fish, powershell, zsh용 자동완성 스크립트 생성
  • mmctl compliance-export - 컴플라이언스 내보내기 관리
  • mmctl config - 구성 관리
  • mmctl docs - mmctl 문서 생성
  • mmctl export - 내보내기 관리
  • mmctl group - 그룹 관리
  • mmctl group channel - 채널 그룹 관리
  • mmctl group team - 팀 그룹 관리
  • mmctl group user - 사용자 정의 사용자 그룹 관리
  • mmctl import - 가져오기 관리
  • mmctl extract - 콘텐츠 추출 작업 관리
  • mmctl integrity - (더 이상 사용되지 않음) 데이터베이스 레코드 무결성
  • mmctl job - 작업 관리
  • mmctl ldap - LDAP 관리
  • mmctl license - 라이선스 관리
  • mmctl logs - 로그 관리
  • mmctl oauth - OAuth2 애플리케이션 관리
  • mmctl permissions - 권한 관리
  • mmctl plugin - 플러그인 관리
  • mmctl post - 게시물 관리
  • mmctl roles - 역할 관리
  • mmctl saml - SAML 관리
  • mmctl sampledata - 샘플 데이터 생성
  • mmctl system - 시스템 관리
  • mmctl team - 팀 관리
  • mmctl team users - 팀 사용자 관리
  • mmctl token - 토큰 관리
  • mmctl user - 사용자 관리
  • mmctl user preference - 사용자 환경설정 관리
  • mmctl version - 버전 관리
  • mmctl webhook - 웹훅 관리
  • mmctl websocket - 웹소켓 관리
옵션
--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 패키지에 번들로 제공됩니다. 패키지와 별도로 설치하려는 고객을 위해 다음과 같은 설치 방법을 사용할 수 있습니다.

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만 해당)가 포함됩니다.

로컬 Git 클론에서 mmctl을 빌드하여 소스 코드를 직접 사용하고, 최신 기능을 활용하며, 사용자 정의 변경 사항을 실험할 수 있습니다. 이 워크플로는 맞춤형 mmctl 버전이 필요하거나, 버그를 수정하거나, 공식 릴리스 전에 새 업데이트를 테스트하려는 경우에 이상적입니다.

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

Linux 또는 macOS에서는 공식적으로 지원되지 않는 방법입니다. 이 설치 채널은 커뮤니티에서 관리합니다. 이슈 보고는 homebrew/homebrew-core 저장소 를 참조하십시오.

Homebrew가 설치된 Linux 및 macOS에서 이 옵션을 사용하십시오.

brew install mmctl

mmctl 빌드#

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

로컬 시스템에 mattermost 저장소 를 체크아웃한 후, 프로젝트 루트 디렉터리에서 다음 명령어를 실행하여 mmctl 바이너리를 컴파일할 수 있습니다:

make -C server mmctl-build

로컬 모드#

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

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

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

로컬 모드 활성화#

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

Tip

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

로컬 모드 사용#

Mattermost v10.8부터, 인증 구성에서 인증 자격 증명을 찾을 수 없는 경우 mmctl은 자동으로 로컬 모드를 가정하므로 사용하려는 명령어에 --local 플래그를 수동으로 추가할 필요가 없습니다. 유효한 자격 증명이 있는 경우 Mattermost는 예상대로 계속 유효성을 검사합니다.

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

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

mmctl 테스트 실행#

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

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

테스트를 실행하려면 mattermost 프로젝트 루트 디렉터리에서 다음 명령어를 실행하십시오:

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

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

mmctl auth#

설명

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

하위 명령어 - mmctl auth clean - 자격 증명 정리 - mmctl auth current - 현재 자격 증명 표시 - mmctl auth delete - 인증 세부 정보 삭제 - mmctl auth list - 등록된 자격 증명 목록 - mmctl auth login - Mattermost 인스턴스에 로그인 - mmctl auth renew - 로그인 자격 증명 갱신 - mmctl auth set - 로그인 자격 증명 설정

옵션

-h, --help   help for auth

mmctl auth clean#

설명

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

형식

mmctl auth clean [flags]

예시

mmctl auth clean

옵션

-h, --help   help for clean

상위 명령어에서 상속된 옵션

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

mmctl auth current#

설명

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

형식

mmctl auth current [flags]

예시

mmctl auth current

옵션

-h, --help   help for current

상위 명령어에서 상속된 옵션

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

mmctl auth delete#

설명

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

형식

mmctl auth delete [server name] [flags]

예시

mmctl auth delete local-server

옵션

-h, --help   help for delete

상위 명령어에서 상속된 옵션

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

mmctl auth list#

설명

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

형식

mmctl auth list [flags]

예시

mmctl auth list

옵션

-h, --help   help for auth list

상위 명령어에서 상속된 옵션

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

mmctl auth login#

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

비밀번호#

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

login 명령어는 대화형으로도 작동하므로, 필수 플래그를 비워두면 mmctl 이 대화형으로 입력을 요청합니다:

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

MFA#

MFA를 사용하여 로그인하려면 --mfa-token 플래그를 사용하십시오:

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

액세스 토큰#

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

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

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

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

현재 저장된 자격 증명을 확인할 수 있습니다:

$ mmctl auth list

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

이제 명령어를 정상적으로 실행할 수 있습니다:

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

셸 자동완성 설치#

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

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

source <(mmctl completion bash)

zsh 의 경우 ~/.zshrc 파일에 다음 줄을 추가하십시오:

source <(mmctl completion zsh)

fish 의 경우 fish 구성에 다음 줄을 추가하십시오:

mmctl completion fish | source

powershell 의 경우 PowerShell 프로필에 다음 줄을 추가하십시오:

mmctl completion powershell | Out-String | Invoke-Expression

mmctl auth renew#

설명

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

형식

mmctl auth renew [flags]

예시

mmctl auth renew local-server

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl auth set#

설명

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

형식

mmctl auth set [server name] [flags]

예시

mmctl auth set local-server

옵션

-h, --help   help for set

상위 명령어에서 상속된 옵션

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

서버에 인증하려면(예: mmctl auth login https://test.mattermost.com), 사용자 이름과 비밀번호(계정에 MFA가 활성화된 경우 MFA 토큰도 포함)를 입력하십시오.

mmctl bot#

봇을 관리합니다.

하위 명령어 - mmctl bot assign - 봇 소유권 할당 - mmctl bot create - 새 봇 생성 - mmctl bot disable - 봇 비활성화 - mmctl bot enable - 봇 활성화 - mmctl bot list - 모든 봇 목록 - mmctl bot update - 봇 구성 업데이트

옵션

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

채널을 관리합니다.

하위 명령어 - mmctl channel add - (더 이상 사용되지 않음) 채널에 사용자 추가 - mmctl channel archive - 채널 보관 - mmctl channel create - 채널 생성 - mmctl channel delete - 채널 삭제 - mmctl channel list - 지정한 팀의 모든 채널 목록 - mmctl channel make-private - (더 이상 사용되지 않음) 채널 유형을 "비공개"로 설정 - mmctl channel modify - 채널 유형 변경 (비공개/공개) - mmctl channel move - 채널을 지정한 팀으로 이동 - mmctl channel remove - (더 이상 사용되지 않음) 채널에서 사용자 제거 - mmctl channel rename - 채널 이름 변경 - mmctl channel restore - (더 이상 사용되지 않음) 보관된 채널 복원 - mmctl channel search - 이름으로 채널 검색 - mmctl channel unarchive - 보관된 채널 복원 - mmctl channel users - 채널 사용자 관리 - mmctl channel users add - 채널에 사용자 추가 - mmctl channel users remove - 채널에서 사용자 제거

옵션

-h, --help   help for channel

mmctl channel archive#

설명

채널과 데이터베이스의 게시물을 포함한 모든 관련 정보를 보관합니다. 채널은 [team]:[channel] 형식(예: myteam:mychannel) 또는 채널 ID로 지정할 수 있습니다.

형식

mmctl channel archive [channels] [flags]

예시

mmctl channel archive myteam:mychannel

옵션

-h, --help   help for archive

상위 명령어에서 상속된 옵션

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

mmctl channel add#

이 명령은 더 이상 사용되지 않습니다. mmctl channel users add 를 사용하세요.

설명

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

형식

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

예시

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

옵션

-h, --help   help for add

상위 명령어에서 상속된 옵션

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

mmctl channel create#

설명

채널을 생성합니다.

형식

mmctl channel create [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl channel delete#

설명

채널과 데이터베이스의 게시물을 포함한 모든 관련 정보를 영구적으로 삭제합니다.

Note

Requires the Enable API Channel Deletion configuration setting to be set to true. If this configuration setting is set to false, attempting to delete the channel using mmctl fails.

형식

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#

This command is deprecated in favour of mmctl channel modify and the --private flag.

설명

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

이 명령은 더 이상 사용되지 않습니다. mmctl channel users remove 를 사용하세요.

설명

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

형식

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

예시

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

옵션

-h, --help   help for remove

상위 명령어에서 상속된 옵션

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

mmctl channel restore#

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

설명

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

형식

mmctl channel restore [channels] [flags]

예시

mmctl channel restore myteam:mychannel

옵션

-h, --help   help for restore

상위 명령어에서 상속된 옵션

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

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl channel unarchive#

설명

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

형식

mmctl channel unarchive [channels] [flags]

예시

mmctl channel unarchive myteam:mychannel

옵션

-h, --help   help for unarchive

상위 명령어에서 상속된 옵션

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

mmctl channel users#

설명

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

옵션

-h, --help   help for users

상위 명령어에서 상속된 옵션

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

mmctl channel users add#

설명

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

형식

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

예시

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

옵션

-h, --help   help for add

상위 명령어에서 상속된 옵션

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

mmctl channel users remove#

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl command#

슬래시 명령어를 관리합니다.

하위 명령어 - mmctl command archive - 슬래시 명령어 보관 - mmctl command create - 사용자 정의 명령어 생성 - mmctl command delete - (더 이상 사용되지 않음) 지정한 슬래시 명령어 삭제 - mmctl command list - 지정한 팀의 슬래시 명령어 목록 - mmctl command modify - 슬래시 명령어 수정 - mmctl command move - 슬래시 명령어를 다른 팀으로 이동 - mmctl command show - 사용자 정의 슬래시 명령어 표시

옵션

-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 설명
-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 설명
-h, --help                   help for modify
--icon string                Command Icon URL
--post                       Use POST method for Callback URL
--response-username string   Command Response Username
--title string               Command Title
--trigger-word string        Command Trigger Word (required)
--url string                 Command Callback URL (required)

상위 명령어에서 상속된 옵션

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

mmctl command move#

설명

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

형식

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

예시

mmctl command move newteam commandID

옵션

-h, --help   help for move

상위 명령어에서 상속된 옵션

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

mmctl command show#

설명

사용자 정의 슬래시 명령어를 표시합니다. 명령어는 명령어 ID로 지정할 수 있습니다. 명령어 ID, 팀 ID, 트리거 워드, 표시 이름, 생성자 사용자 이름을 반환합니다.

형식

mmctl command show [commandID] [flags]

예시

mmctl command show commandID

옵션

-h, --help   help for show

상위 명령어에서 상속된 옵션

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

mmctl completion#

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

하위 명령어 - mmctl completion bash - Generate the autocompletion script for bash - mmctl completion fish - Generate the autocompletion script for fish - mmctl completion powershell - Generate the autocompletion script for powershell - mmctl completion zsh - Generate the autocompletion script for zsh

옵션

-h, --help   help for completion

mmctl completion bash#

설명

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

자동완성을 로드하려면 다음을 실행하십시오:

. <(mmctl completion bash)

bash 셸에서 세션마다 자동완성을 로드하도록 구성하려면 위 줄을 ~/.bashrc 에 추가하십시오.

자동완성을 로드하려면 다음을 실행하십시오:

mmctl completion bash [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl completion fish#

설명

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

자동완성을 로드하려면 다음을 실행하십시오:

mmctl completion fish | source

fish 셸에서 세션마다 자동완성을 로드하도록 구성하려면 위 줄을 fish 구성 파일에 추가하십시오.

형식

mmctl completion fish [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl completion powershell#

설명

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

자동완성을 로드하려면 다음을 실행하십시오:

mmctl completion powershell | Out-String | Invoke-Expression

powershell 셸에서 세션마다 자동완성을 로드하도록 구성하려면 위 줄을 PowerShell 프로필에 추가하십시오.

형식

mmctl completion powershell [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl completion zsh#

설명

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

자동완성을 로드하려면 다음을 실행하십시오:

. <(mmctl completion zsh)

zsh 셸에서 세션마다 자동완성을 로드하도록 구성하려면 위 줄을 ~/.zshrc 에 추가하십시오.

형식

mmctl completion zsh [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl cpa#

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

하위 명령어 - mmctl cpa field - Manage CPA fields

옵션

-h, --help   help for cpa

mmctl cpa field#

설명

사용자 정의 프로필 속성 필드를 관리합니다.

하위 명령어 - mmctl cpa field create - 새 CPA 필드 생성 - mmctl cpa field delete - CPA 필드 삭제 - mmctl cpa field edit - CPA 필드 편집 - mmctl cpa field list - CPA 필드 목록

옵션

-h, --help   help for field

mmctl cpa field create#

설명

새 사용자 정의 프로필 속성 필드를 생성합니다.

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl cpa field delete#

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl cpa field edit#

설명

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

형식

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

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl cpa field list#

설명

모든 사용자 정의 프로필 속성 필드를 나열합니다.

형식

mmctl cpa field list [flags]

예시

mmctl cpa field list
mmctl cpa field list --json

옵션

-h, --help   help for list

상위 명령어에서 상속된 옵션

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

mmctl compliance-export#

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

하위 명령어 - mmctl compliance-export cancel - Cancel a compliance export job - mmctl compliance-export create - Create a new compliance export job - mmctl compliance-export download - Download a compliance export file - mmctl compliance-export list - List compliance export jobs, sorted by creation date descending (newest first) - mmctl compliance-export show - Show compliance export job

mmctl compliance-export cancel#

설명

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

형식

mmctl compliance-export cancel [complianceExportJobID] [flags]

예시

mmctl compliance-export cancel o98rj3ur83dp5dppfyk5yk6osy

옵션

-h, --help   help for cancel

상위 명령어에서 상속된 옵션

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

mmctl compliance-export create#

설명

채널 메시지, 다이렉트 메시지, 파일 업로드, 플러그인/봇/웹훅의 게시물을 보관하는 새 컴플라이언스 내보내기 작업을 생성합니다. 지원되는 내보내기 형식으로는 CSV, Actiance XML, Global Relay EML(서드파티 컴플라이언스 시스템 연동용)이 있습니다.

  • --date 가 설정된 경우, 해당 일의 12am부터 12am(1밀리초 전)까지 하루 동안 작업이 실행됩니다.
  • mmctl에서 컴플라이언스 내보내기 작업을 실행해도 다음 예약된 작업의 batch_start_time 에는 영향을 주지 않습니다. 즉, mmctl에서 컴플라이언스 내보내기 작업을 실행하더라도 다음 예약된 작업은 평소와 같이 이전 예약 작업의 batch_end_time 부터 실행됩니다.
형식
mmctl compliance-export create [complianceExportType] --date "2025-03-27 -0400" [flags]

Example

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl compliance-export download#

설명

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

형식

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

Example

mmctl compliance-export download o98rj3ur83dp5dppfyk5yk6osy
  
**옵션**
-h, --help       help for list
   --num-retries int   Number of retries if the download fails (default 5)
   
**상위 명령어에서 상속된 옵션**
--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl compliance-export list#

설명

모든 컴플라이언스 내보내기 작업을 생성 날짜 내림차순(최신 순)으로 나열합니다.

형식

mmctl compliance-export list [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl compliance-export show#

설명

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

형식

mmctl compliance-export show [complianceExportJobID] [flags]

예시

mmctl compliance-export show o98rj3ur83dp5dppfyk5yk6osy

옵션

-h, --help   help for show

상위 명령어에서 상속된 옵션

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

mmctl config#

구성 설정을 관리합니다.

하위 명령어 - mmctl config edit - 구성 설정 편집 - mmctl config export - 서버 구성 내보내기 - mmctl config get - 구성 설정 값 가져오기 - mmctl config migrate - 기존 구성을 백엔드 간 마이그레이션 - mmctl config patch - 구성 패치 - mmctl config reload - 서버 구성 다시 로드 - mmctl config reset - 구성 초기화 - mmctl config set - 구성 값 설정 - mmctl config show - 서버 구성을 STDOUT에 출력 - mmctl config subpath - 구성된 서브패스를 사용하도록 클라이언트 에셋 로딩 업데이트

옵션

-h, --help   help for config

mmctl config edit#

설명

EDITOR 환경 변수에 정의된 편집기를 열어 서버 구성을 수정합니다. 완료 후 파일을 저장하고 서버에 업로드하십시오.

형식

mmctl config edit [flags]

예시

mmctl config edit

옵션

-h, --help   help for edit

상위 명령어에서 상속된 옵션

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

mmctl config export#

설명

서버 구성을 내보내는 명령어로, 다른 서버나 환경에서 가져올 수 있습니다. 마스킹된 값은 도구가 로컬 모드 로 실행될 때만 내보내집니다.

형식

mmctl config export [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl config get#

설명

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

형식

mmctl config get [flags]

예시

mmctl config get SqlSettings.DriverName

옵션

-h, --help   help for get

상위 명령어에서 상속된 옵션

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

mmctl config migrate#

설명

파일 기반 구성을 데이터베이스 기반 구성으로(또는 그 반대로) 마이그레이션합니다. Mattermost 서버가 대상 구성을 사용하도록 지정하십시오. 이 명령어는 구성 데이터를 한 유형에서 다른 유형으로만 마이그레이션합니다.

Note
    • To change the store type to use the database, a system admin needs to set a MM_CONFIG environment variable and restart the Mattermost server.
    • The migrate function requires local mode to be enabled. To do this, add the following line to your Mattermost Environment file:
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#

설명

점 표기법의 이름으로 구성 설정 값을 지정합니다. 배열 설정에 대해 여러 값을 허용합니다.

Note

Mattermost plugin uploads can't be enabled through the API or using mmctl in local mode.

형식

mmctl config set [flags]

4 Examples

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#

내보내기를 관리합니다.

하위 명령어 - mmctl export create - 내보내기 파일 생성 - mmctl export delete - 내보내기 파일 삭제 - mmctl export download - 내보내기 파일 다운로드 - mmctl export generate-presigned-url - 내보내기 파일의 사전 서명된 URL 생성 - mmctl export job - 내보내기 작업 목록 조회, 표시, 취소 - mmctl export job cancel - 내보내기 작업 취소 - mmctl export job list - 내보내기 작업 목록 - mmctl export job show - 내보내기 작업 표시 - mmctl export list - 내보내기 파일 목록

옵션

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

Example

mmctl export delete export_file.zip

옵션

-h, --help   help for delete

상위 명령어에서 상속된 옵션

~~~~~~~~~~~~~~~~~~~~~

설명

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

형식

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

Example

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

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

옵션

-h, --help          help for download
   --num-retries int   Number of retries to resume a download. (Default is 5)
    
**상위 명령어에서 상속된 옵션**
--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl export generate-presigned-url#

설명

Mattermost Cloud 내보내기 파일의 크기가 크거나 Mattermost 서버에서 다운로드하기 어려운 경우 내보내기 파일의 사전 서명된 URL을 생성합니다.

EnableExportDirectDownload 기능 플래그를 true 로 설정해야 합니다.

형식

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

옵션

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

<p><strong>상위 명령어에서 상속된 옵션</strong>

--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate 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]

Example

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]

Example

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]

Example

mmctl export job show
  
**옵션**
-h, --help   help for show

상위 명령어에서 상속된 옵션

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

mmctl export list#

설명

내보내기 파일을 나열합니다. 내보내기 파일 이름에는 작업 ID가 포함됩니다.

형식

mmctl export list [flags]

옵션

-h, --help   help for list

상위 명령어에서 상속된 옵션

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

mmctl group#

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

하위 명령어 - mmctl group channel - 채널 그룹 관리 - mmctl group list-ldap - LDAP 그룹 목록 - mmctl group team - 팀 그룹 관리 - mmctl group user - 사용자 정의 사용자 그룹 관리

mmctl group channel#

채널 그룹을 관리합니다.

하위 명령어 - mmctl group channel disable - 채널 그룹 제약 비활성화 - mmctl group channel enable - 채널 그룹 제약 활성화 - mmctl group channel list - 채널 그룹 목록 - mmctl group channel status - 그룹 상태 확인

옵션

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

팀 그룹을 관리합니다.

하위 명령어 - mmctl group team disable - 팀 그룹 제약 비활성화 - mmctl group team enable - 팀 그룹 제약 활성화 - mmctl group team list - 팀 그룹 목록 - mmctl group team status - 그룹 제약 상태 확인

옵션

-h, --help   help for group

mmctl group team disable#

설명

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

형식

mmctl group team disable [team] [flags]

예시

mmctl group team disable myteam

<p><strong>옵션</strong>

-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

상위 명령어에서 상속된 옵션


사용자 정의 사용자 그룹을 관리합니다.

하위 명령어 - mmctl group user restore - 사용자 정의 사용자 그룹 복원

옵션

-h, --help   help for group

mmctl group user restore#

설명

사용자 정의 사용자 그룹을 복원합니다.

형식

mmctl group user restore [groupname] [flags]

예시

mmctl group user restore examplegroup

<p><strong>옵션</strong>

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

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

하위 명령어 - mmctl extract job - 콘텐츠 추출 작업 목록 및 표시 - mmctl extract run - 콘텐츠 추출 작업 시작

옵션

-h, --help   help for list

mmctl extract job#

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

하위 명령어 - mmctl extract job list - 콘텐츠 추출 작업 목록 - mmctl extract job show - 추출 작업 표시

mmctl extract job list#

설명

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

형식

mmctl extract job list [flags]

예시

mmctl extract job list

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl extract job show#

설명

추출 작업을 표시합니다.

형식

mmctl extract job show [extractJobID] [flags]

예시

mmctl extract job show f3d68qkkm7n8xgsfxwuo498rah

옵션

-h, --help   help for disable

상위 명령어에서 상속된 옵션

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

mmctl extract run#

설명

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

형식

mmctl extract run [flags]

예시

mmctl extract run

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl import#

설명

가져오기를 관리합니다.

하위 명령어 - mmctl import delete - 가져오기 파일 삭제 - mmctl import job - 가져오기 작업 목록 및 표시 - mmctl import job list - 가져오기 작업 목록 - mmctl import job show - 가져오기 작업 표시 - mmctl import list - 모든 가져오기 파일 목록 - mmctl import list available - 사용 가능한 가져오기 파일 목록 - mmctl import list incomplete - 불완전한 가져오기 파일 업로드 목록 - mmctl import process - 가져오기 작업 시작 - mmctl import upload - 가져오기 파일 업로드 - mmctl import validate - 가져오기 파일 유효성 검사

옵션

-h, --help   help for import

mmctl import delete#

설명

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

형식

mmctl import delete [import-name] [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl import job#

설명

가져오기 작업을 목록 조회하고 표시합니다.

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import job list#

설명

가져오기 작업을 나열합니다.

형식

mmctl import job list [flags]

예시

mmctl import job list

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl import job show#

설명

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

형식

mmctl import job show [importJobID] [flags]

예시

mmctl import job show f3d68qkkm7n8xgsfxwuo498rah

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import list#

설명

모든 가져오기 파일을 나열합니다.

예시

mmctl import list

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import list available#

설명

사용 가능한 가져오기 파일을 나열합니다.

형식

mmctl import list available [flags]

예시

mmctl import list available

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import list incomplete#

설명

불완전한 가져오기 파일 업로드를 나열합니다.

형식

mmctl import list incomplete [flags]

예시

mmctl import list incomplete

옵션

-h, --help   help for status

상위 명령어에서 상속된 옵션

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

mmctl import process#

설명

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

형식

mmctl import process [importname] [flags]

예시

mmctl import process 35uy6cwrqfnhdx3genrhqqznxc_import.zip

옵션

-h, --help          help for status
--bypass-upload     File is read directly from the filesystem, instead of being processed from the server. Supported in --local mode only.
--extract-content   Document attachments will be extracted and indexed during the import process. We recommend disabling this to improve performance.

상위 명령어에서 상속된 옵션

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

mmctl import upload#

설명

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

형식

mmctl import upload [filepath] [flags]

예시

mmctl import upload import_file.zip

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl import validate#

설명

가져오기 파일의 유효성을 검사합니다.

형식

mmctl import validate [filepath] [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl integrity#

설명

이 명령어는 Mattermost v9.3부터 더 이상 사용되지 않습니다. 발견된 고아 레코드에 대한 정보를 반환하는 관계형 무결성 검사를 수행합니다. 이 명령어는 로컬 모드 를 사용해서만 실행할 수 있습니다.

형식

mmctl integrity [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl job#

작업을 관리합니다.

하위 명령어 - mmctl job list - 최신 작업 목록 - mmctl job update - 작업 상태 업데이트

옵션

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

설명

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

Important

다음 상태 규칙이 허용됩니다:

    • 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 관련 유틸리티입니다.

하위 명령어 - mmctl ldap idmigrate - LDAP IdAttribute를 새 값으로 마이그레이션 - mmctl ldap job - LDAP 동기화 작업 목록 및 표시 - mmctl ldap sync - 모든 LDAP 사용자 및 그룹 동기화

옵션

-h, --help   help for ldap

mmctl ldap idmigrate#

설명

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

  1. 서버 재시작의 영향을 최소화하기 위해 사용자 트래픽이 적은 시간을 기다립니다.
  2. mmctl ldap idmigrate objectGUID 명령어를 실행합니다.
  3. 시스템 콘솔에서 구성을 새 값 objectGUID 로 업데이트합니다.
  4. Mattermost 서버를 재시작합니다.

형식

mmctl ldap idmigrate <objectGUID> [flags]

예시

mmctl ldap idmigrate objectGUID

옵션

-h, --help   help for idmigrate

상위 명령어에서 상속된 옵션

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

mmctl ldap job#

LDAP 동기화 작업을 목록 조회하고 표시합니다.

하위 명령어

- mmctl ldap job list - LDAP 동기화 작업 목록 - mmctl ldap job show - LDAP 동기화 작업 표시

옵션

-h, --help   help for ldap

mmctl ldap job list#

설명

LDAP 동기화 작업을 나열합니다.

형식

mmctl ldap job list [flags]

예시

mmctl ldap job list

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl ldap job show#

설명

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

형식

mmctl ldap job show [ldapJobID] [flags]

예시

mmctl ldap show f3d68qkkm7n8xgsfxwuo498rah

옵션

-h, --help       help for list

상위 명령어에서 상속된 옵션

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

mmctl ldap sync#

설명

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

형식

mmctl ldap sync [flags]

예시

mmctl ldap sync

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl license#

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

하위 명령어 - mmctl license get - 현재 라이선스 가져오기 - mmctl license remove - 현재 라이선스 제거 - mmctl license upload - 새 라이선스 업로드 - mmctl license upload-string - 문자열로 라이선스 업로드

옵션

-h, --help   help for license

mmctl license get#

설명

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

형식

mmctl license get [flags]

예시

mmctl license get

옵션

-h, --help   help for get

상위 명령어에서 상속된 옵션

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

mmctl license remove#

설명

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

형식

mmctl license remove [flags]

예시

mmctl license remove

옵션

-h, --help   help for remove

상위 명령어에서 상속된 옵션

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

mmctl license upload#

설명

라이선스를 업로드하고 현재 라이선스를 대체합니다.

형식

mmctl license upload [license] [flags]

예시

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

옵션

-h, --help   help for upload

상위 명령어에서 상속된 옵션

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

mmctl license upload-string#

설명

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

형식

mmctl license upload-string [license] [flags]

예시

license upload-string "mylicensestring"

옵션

-h, --help   help for upload

상위 명령어에서 상속된 옵션

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

mmctl logs#

설명

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

형식

mmctl logs [flags]

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl oauth#

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

하위 명령어 - mmctl oauth list - OAuth2 애플리케이션 목록

옵션

-h, --help   help for permissions

mmctl oauth list#

설명

등록된 모든 OAuth2 애플리케이션을 나열합니다.

형식

mmctl oauth list [flags]

Example

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#

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

하위 명령어 - mmctl permissions add - 역할에 권한 추가 - mmctl permissions remove - 역할에서 권한 제거 - mmctl permissions reset - 역할의 기본 권한 초기화 - mmctl permissions role assign - 사용자를 역할에 할당 - mmctl permissions role show - 역할 정보 표시 - mmctl permissions role unassign - 역할에서 사용자 할당 해제

옵션

-h, --help   help for permissions

mmctl permissions add#

설명

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

형식

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#

설명

기존 역할에서 하나 이상의 권한을 제거합니다. 기밀 프로젝트의 경우, 이 명령어를 사용하여 팀원이 프로젝트 외부의 구성원을 알 수 없도록 하고, @멘션 이 기밀 프로젝트 외부 사람들의 이름을 노출하지 않도록 할 수 있습니다.

형식

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

예시

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

옵션

-h, --help   help for remove

상위 명령어에서 상속된 옵션

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

mmctl permissions reset#

설명

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

형식

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#

설명

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

형식

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

예시

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

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

옵션

-h, --help   help for assign

상위 명령어에서 상속된 옵션

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

mmctl permissions role show#

설명

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

형식

mmctl permissions role show <role_name> [flags]

예시

mmctl permissions role show system_user

옵션

-h, --help   help for show

상위 명령어에서 상속된 옵션

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

mmctl permissions role unassign#

설명

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

형식

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

예시

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

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

옵션

-h, --help   help for unassign

상위 명령어에서 상속된 옵션

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

mmctl plugin#

플러그인을 관리합니다.

하위 명령어 - mmctl plugin add - 플러그인 추가 - mmctl plugin delete - 플러그인 제거 - mmctl plugin disable - 플러그인 비활성화 - mmctl plugin enable - 플러그인 활성화 - mmctl plugin install-url - URL에서 플러그인 설치 - mmctl plugin list - 플러그인 목록 - mmctl plugin marketplace - 마켓플레이스 플러그인 관리

옵션

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

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

하위 명령어 - mmctl plugin marketplace install - 플러그인 마켓플레이스에서 플러그인 설치 - mmctl plugin marketplace list - 플러그인 마켓플레이스의 플러그인 목록

옵션

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

게시물을 관리합니다.

하위 명령어 - mmctl post create - 게시물 생성 - mmctl post delete - 게시물 삭제 - mmctl post list - 채널의 게시물 목록

옵션

-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 관련 유틸리티입니다.

하위 명령어 - mmctl saml auth-data-reset - AuthData 필드를 이메일로 초기화

옵션

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

서버 상태 및 구성과 상호 작용하기 위한 시스템 관리 명령어입니다.

하위 명령어 - mmctl system clearbusy - 사용 중 상태 해제 - mmctl system getbusy - 현재 사용 중 상태 가져오기 - mmctl system setbusy - 사용 중 상태를 true 로 설정 - mmctl system status - 서버 상태 출력 - mmctl system supportpacket - 지원 패킷 다운로드 - mmctl system version - 원격 서버 버전 빌드 번호 출력

옵션

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

팀을 관리합니다.

Important

mmctl 명령어에서 팀 이름을 지정할 때는 채널 사이드바에 표시되는 표시 이름이 아닌 team-URL 버전의 팀 이름을 사용해야 합니다. team-URL 에는 공백이 없습니다. mmctl team list 명령어를 실행하면 서버의 모든 팀 목록을 team-URL 형식으로 반환합니다. 자세한 내용은 팀 이름 및 URL 선택 문서를 참조하십시오.

하위 명령어

  • mmctl team archive - 팀 보관
  • mmctl team create - 팀 생성
  • mmctl team delete - 팀 삭제
  • mmctl team list - 팀 목록
  • mmctl team modify - 팀 수정
  • mmctl team rename - 팀 이름 변경
  • mmctl team restore - 팀 복원
  • mmctl team search - 팀 검색
  • mmctl team users - 팀 사용자 관리

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

설명

팀과 데이터베이스의 게시물을 포함한 모든 관련 정보를 영구적으로 삭제합니다.

Note

Requires the Enable API Team Deletion configuration setting to be set to true. If this configuration setting is set to false, attempting to delete the team using mmctl fails.

형식

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 search [teams] [flags]

예시

mmctl team search team1

옵션

-h, --help  help for search

상위 명령어에서 상속된 옵션

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

mmctl team users#

팀 사용자를 관리합니다.

하위 명령어 - mmctl team users add - 팀에 사용자 추가 - mmctl team users remove - 팀에서 사용자 제거

옵션

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

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

하위 명령어 - mmctl token generate - 사용자 토큰 생성 - mmctl token list - 사용자 토큰 목록 - mmctl token revoke - 사용자 토큰 취소

옵션

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

사용자를 관리합니다.

하위 명령어 - mmctl user activate - 사용자 활성화 - mmctl user change-password - 사용자 비밀번호 변경 - mmctl user convert - 사용자를 봇으로 또는 봇을 사용자로 변환 - mmctl user create - 사용자 생성 - mmctl user deactivate - 사용자 비활성화 - mmctl user delete - 사용자 삭제 - mmctl user deleteall - 모든 사용자 및 게시물 삭제 (로컬 명령어 전용) - mmctl user demote - 사용자를 게스트로 강등 - mmctl user edit - 사용자 속성 편집 - mmctl user edit authdata - 사용자 인증 데이터 편집 - mmctl user edit email - 사용자 이메일 주소 편집 - mmctl user edit username - 사용자 이름 편집 - mmctl user email - (더 이상 사용되지 않음) 사용자 이메일 설정 - mmctl user invite - 사용자 초대 - mmctl user list - 사용자 목록 - mmctl user migrate-auth - 사용자 계정 인증 유형 일괄 마이그레이션 - mmctl user preference - 사용자 환경설정 관리 - mmctl user promote - 게스트를 사용자로 승격 - mmctl user reset-password - 사용자 비밀번호 초기화 - mmctl user resetmfa - 사용자의 MFA 토큰 초기화 - mmctl user search - 사용자 검색 - mmctl user username - (더 이상 사용되지 않음) 사용자 이름 변경 - mmctl user verify - 사용자 이메일을 확인됨으로 표시

옵션

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

설명

사용자와 데이터베이스의 게시물을 포함한 모든 관련 정보를 영구적으로 삭제합니다.

Note

Requires the Enable API User Deletion configuration setting to be set to true. If this configuration setting is set to false, attempting to delete the user using mmctl fails.

형식

mmctl user delete [users] [flags]

예시

mmctl user delete user@example.com

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl user deleteall#

설명

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

형식

mmctl user deleteall [flags]

예시

mmctl user deleteall

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl user demote#

설명

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

형식

mmctl user demote [users] [flags]

예시

mmctl user demote user1 user2

옵션

-h, --help   help for demote

상위 명령어에서 상속된 옵션

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

mmctl user edit#

설명

사용자 이름, 이메일, 인증 데이터를 포함한 사용자 속성을 편집합니다. 이 명령어는 데이터베이스에 직접 접근하지 않고 사용자 속성을 수정하는 구조화된 방법을 제공합니다.

형식

mmctl user edit [user] [flags]

예시

mmctl user edit testuser --help

옵션

-h, --help       help for edit

하위 명령어

  • mmctl user edit authdata - 사용자 인증 데이터 편집
  • mmctl user edit email - 사용자 이메일 주소 편집
  • mmctl user edit username - 사용자 이름 편집
상위 명령어에서 상속된 옵션
--config string                path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager                disables paged output
--insecure-sha1-intermediate   allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version         allows to use TLS versions 1.0 and 1.1
--json                         the output format will be in json format
--local                        allows communicating with the server through a unix socket
--quiet                        prevent mmctl to generate output for the commands
--strict                       will only run commands if the mmctl version matches the server one
--suppress-warnings            disables printing warning messages

mmctl user edit authdata#

설명

사용자 인증 데이터를 편집합니다. 이 명령어는 SAML 구성에서 ID 속성으로 이메일을 사용할 때 SAML 인증 사용자가 인증 정보를 변경해야 하는 일반적인 문제를 해결하여 데이터베이스 직접 조작 없이도 처리할 수 있습니다.

형식

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

예시

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

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

옵션

-h, --help       help for authdata

상위 명령어에서 상속된 옵션

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

mmctl user edit email#

설명

사용자 이메일 주소를 편집합니다. 이 명령어는 SAML 구성에서 ID 속성으로 이메일을 사용하는 경우 이메일 주소를 변경해야 하는 SAML 인증 사용자에게 특히 유용합니다. 데이터베이스 직접 조작보다 안전한 대안을 제공합니다.

Note

Mattermost v10.9부터, 꺾쇠 괄호로 묶인 이메일 주소(예: <billy@example.com>)는 거부됩니다. 문제를 방지하려면 모든 사용자 이메일이 일반 주소 형식(예: billy@example.com)을 따르는지 확인하십시오. 또한 영향을 받는 사용자는 Mattermost에 액세스하거나 사용자 프로필을 관리하는 데 문제가 발생할 수 있으므로, 이 제품 변경 사항에 맞게 Mattermost 사용자 데이터를 감사하고 업데이트하는 사전 조치를 취하는 것을 강력히 권장합니다. 다음 mmctl 명령어를 사용하여 이러한 사용자 이메일을 수동으로 업데이트할 수 있습니다: mmctl user edit email "<affecteduser@domain.com>" affecteduser@domain.com.

형식

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

예시

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

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

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

옵션

-h, --help       help for email

상위 명령어에서 상속된 옵션

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

mmctl user edit username#

설명

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

형식

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

예시

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

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

옵션

-h, --help       help for username

상위 명령어에서 상속된 옵션

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

mmctl user email#

이 명령은 더 이상 사용되지 않습니다. mmctl user edit email 을 사용하세요.

설명

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

Note

Mattermost v10.9부터, 꺾쇠 괄호로 묶인 이메일 주소(예: <billy@example.com>)는 거부됩니다. 문제를 방지하려면 모든 사용자 이메일이 일반 주소 형식(예: billy@example.com)을 따르는지 확인하십시오. 또한 영향을 받는 사용자는 Mattermost에 액세스하거나 사용자 프로필을 관리하는 데 문제가 발생할 수 있으므로, 이 제품 변경 사항에 맞게 Mattermost 사용자 데이터를 감사하고 업데이트하는 사전 조치를 취하는 것을 강력히 권장합니다. 다음 mmctl 명령어를 사용하여 이러한 사용자 이메일을 수동으로 업데이트할 수 있습니다: mmctl user edit email "<affecteduser@domain.com>" affecteduser@domain.com.

형식

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

예시

mmctl user email testuser user@example.com
  
**옵션**
-h, --help       help for email

상위 명령어에서 상속된 옵션

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

mmctl user invite#

설명

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

형식

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

예시

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

옵션

-h, --help       help for invite

상위 명령어에서 상속된 옵션

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

mmctl user list#

설명

모든 사용자를 나열합니다.

형식

mmctl user list [flags]

예시

mmctl user list

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl user migrate-auth#

설명

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

형식

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

Arguments

from_auth: 사용자 계정을 마이그레이션할 소스 인증 서비스입니다. 지원 옵션: email, gitlab, google, ldap, office365, saml. to_auth: 사용자를 마이그레이션할 대상 인증 서비스입니다. 지원 옵션: ldap, saml. migration-options (ldap): match_field: 두 인증 서비스에서 동일하게 보장되는 필드입니다. 예를 들어 사용자 이메일이 일치하면 email로 설정합니다. 지원 옵션: email, username. migration-options (saml): users_file: SAML로 마이그레이션할 모든 사용자의 사용자 이름과 이메일이 담긴 JSON 파일 경로입니다. 사용자 이름과 이메일은 SAML 서비스 공급자에 저장된 것과 동일해야 하며, 이메일은 Mattermost 데이터베이스의 이메일과 일치해야 합니다.
Example json content:
{
   "usr1@email.com": "usr.one",
   "usr2@email.com": "usr.two"
}

예시

mmctl user migrate-auth email saml users.json

user.json Example

[
  {
    "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#

설명

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

하위 명령어 - mmctl user preference get - Get a specific user preference - mmctl user preference list - List user preferences - mmctl user preference set - Set a specific user preference - mmctl user preference delete - Delete a specific 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 강제 적용이 활성화된 경우, 사용자는 다음 로그인 시 MFA를 다시 활성화해야 합니다.

형식

mmctl user resetmfa [users] [flags]

예시

mmctl user resetmfa user@example.com

옵션

-h, --help       help for resetmfa

상위 명령어에서 상속된 옵션

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

설명

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

형식

mmctl user search [users] [flags]

예시

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

옵션

-h, --help       help for search

상위 명령어에서 상속된 옵션

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

mmctl user username#

이 명령은 더 이상 사용되지 않습니다. 대신 mmctl user edit username 을 사용하세요.

설명

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

형식

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

예시

mmctl user username testuser newusername

옵션

-h, --help       help for version

상위 명령어에서 상속된 옵션

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

mmctl user verify#

설명

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

형식

mmctl user verify [users] [flags]

예시

mmctl user verify user1

옵션

-h, --help       help for version

상위 명령어에서 상속된 옵션

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

mmctl version#

설명

mmctl의 버전을 출력합니다.

형식

mmctl version [flags]

옵션

-h, --help       help for version

상위 명령어에서 상속된 옵션

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

mmctl webhook#

설명

웹훅을 관리합니다.

하위 명령어 - mmctl webhook create-incoming - Create an incoming webhook - mmctl webhook create-outgoing - Create an outgoing webhook - mmctl webhook delete - Delete webhooks - mmctl webhook list - List webhooks - mmctl webhook modify-incoming - Modify an incoming webhook - mmctl webhook modify-outgoing - Modify an outgoing webhook - mmctl webhook show - Show a webhook

옵션

-h, --help       help for webhook

mmctl webhook create-incoming#

설명

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

형식

mmctl webhook create-incoming [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl webhook create-outgoing#

설명

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

형식

mmctl webhook create-outgoing [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl webhook delete#

설명

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

형식

mmctl webhook delete [flags]

예시

mmctl webhook delete [webhookID]

옵션

-h, --help   help for delete

상위 명령어에서 상속된 옵션

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

mmctl webhook list#

설명

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

형식

mmctl webhook list [flags]

예시

mmctl webhook list myteam

옵션

-h, --help   help for list

상위 명령어에서 상속된 옵션

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

mmctl webhook modify-incoming#

설명

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

형식

mmctl webhook modify-incoming [flags]

예시

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

옵션

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

상위 명령어에서 상속된 옵션

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

mmctl webhook modify-outgoing#

설명

제목, 설명, 채널, 아이콘, URL, 콘텐츠 유형 또는 트리거를 변경하여 기존 발신 웹훅을 수정합니다.

형식

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