Includes mmctl into the mono-repo (#23091)

* Includes mmctl into the mono-repo

* Update to use the new public module paths

* Adds docs check to the mmctl CI

* Fix public utils import path

* Tidy up modules

* Fix linter

* Update CI tasks to use the new file structure

* Update CI references
Этот коммит содержится в:
Miguel de la Cruz
2023-06-05 12:42:55 +02:00
коммит произвёл GitHub
родитель 412109b02e
Коммит 951456c780
305 изменённых файлов: 47027 добавлений и 88 удалений

61
server/cmd/mmctl/docs/mmctl.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,61 @@
.. _mmctl:
mmctl
-----
Remote client for the Open Source, self-hosted Slack-alternative
Synopsis
~~~~~~~~
Mattermost offers workplace messaging across web, PC and phones with archiving, search and integration with your existing systems. Documentation available at https://docs.mattermost.com
Options
~~~~~~~
::
--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
SEE ALSO
~~~~~~~~
* `mmctl auth <mmctl_auth.rst>`_ - Manages the credentials of the remote Mattermost instances
* `mmctl bot <mmctl_bot.rst>`_ - Management of bots
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels
* `mmctl command <mmctl_command.rst>`_ - Management of slash commands
* `mmctl completion <mmctl_completion.rst>`_ - Generates autocompletion scripts for bash and zsh
* `mmctl config <mmctl_config.rst>`_ - Configuration
* `mmctl docs <mmctl_docs.rst>`_ - Generates mmctl documentation
* `mmctl export <mmctl_export.rst>`_ - Management of exports
* `mmctl extract <mmctl_extract.rst>`_ - Management of content extraction job.
* `mmctl group <mmctl_group.rst>`_ - Management of groups
* `mmctl import <mmctl_import.rst>`_ - Management of imports
* `mmctl integrity <mmctl_integrity.rst>`_ - Check database records integrity.
* `mmctl ldap <mmctl_ldap.rst>`_ - LDAP related utilities
* `mmctl license <mmctl_license.rst>`_ - Licensing commands
* `mmctl logs <mmctl_logs.rst>`_ - Display logs in a human-readable format
* `mmctl permissions <mmctl_permissions.rst>`_ - Management of permissions
* `mmctl plugin <mmctl_plugin.rst>`_ - Management of plugins
* `mmctl post <mmctl_post.rst>`_ - Management of posts
* `mmctl roles <mmctl_roles.rst>`_ - Manage user roles
* `mmctl saml <mmctl_saml.rst>`_ - SAML related utilities
* `mmctl sampledata <mmctl_sampledata.rst>`_ - Generate sample data
* `mmctl system <mmctl_system.rst>`_ - System management
* `mmctl team <mmctl_team.rst>`_ - Management of teams
* `mmctl token <mmctl_token.rst>`_ - manage users' access tokens
* `mmctl user <mmctl_user.rst>`_ - Management of users
* `mmctl version <mmctl_version.rst>`_ - Prints the version of mmctl.
* `mmctl webhook <mmctl_webhook.rst>`_ - Management of webhooks
* `mmctl websocket <mmctl_websocket.rst>`_ - Display websocket in a human-readable format

47
server/cmd/mmctl/docs/mmctl_auth.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,47 @@
.. _mmctl_auth:
mmctl auth
----------
Manages the credentials of the remote Mattermost instances
Synopsis
~~~~~~~~
Manages the credentials of the remote Mattermost instances
Options
~~~~~~~
::
-h, --help help for auth
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl auth clean <mmctl_auth_clean.rst>`_ - Clean all credentials
* `mmctl auth current <mmctl_auth_current.rst>`_ - Show current user credentials
* `mmctl auth delete <mmctl_auth_delete.rst>`_ - Delete an credentials
* `mmctl auth list <mmctl_auth_list.rst>`_ - Lists the credentials
* `mmctl auth login <mmctl_auth_login.rst>`_ - Login into an instance
* `mmctl auth renew <mmctl_auth_renew.rst>`_ - Renews a set of credentials
* `mmctl auth set <mmctl_auth_set.rst>`_ - Set the credentials to use

51
server/cmd/mmctl/docs/mmctl_auth_clean.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_auth_clean:
mmctl auth clean
----------------
Clean all credentials
Synopsis
~~~~~~~~
Clean the currently stored credentials
::
mmctl auth clean [flags]
Examples
~~~~~~~~
::
auth clean
Options
~~~~~~~
::
-h, --help help for clean
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl auth <mmctl_auth.rst>`_ - Manages the credentials of the remote Mattermost instances

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

@@ -0,0 +1,51 @@
.. _mmctl_auth_current:
mmctl auth current
------------------
Show current user credentials
Synopsis
~~~~~~~~
Show the currently stored user credentials
::
mmctl auth current [flags]
Examples
~~~~~~~~
::
auth current
Options
~~~~~~~
::
-h, --help help for current
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl auth <mmctl_auth.rst>`_ - Manages the credentials of the remote Mattermost instances

51
server/cmd/mmctl/docs/mmctl_auth_delete.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_auth_delete:
mmctl auth delete
-----------------
Delete an credentials
Synopsis
~~~~~~~~
Delete an credentials by its name
::
mmctl auth delete [server name] [flags]
Examples
~~~~~~~~
::
auth delete local-server
Options
~~~~~~~
::
-h, --help help for delete
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl auth <mmctl_auth.rst>`_ - Manages the credentials of the remote Mattermost instances

51
server/cmd/mmctl/docs/mmctl_auth_list.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_auth_list:
mmctl auth list
---------------
Lists the credentials
Synopsis
~~~~~~~~
Print a list of the registered credentials
::
mmctl auth list [flags]
Examples
~~~~~~~~
::
auth list
Options
~~~~~~~
::
-h, --help help for list
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl auth <mmctl_auth.rst>`_ - Manages the credentials of the remote Mattermost instances

60
server/cmd/mmctl/docs/mmctl_auth_login.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,60 @@
.. _mmctl_auth_login:
mmctl auth login
----------------
Login into an instance
Synopsis
~~~~~~~~
Login into an instance and store credentials
::
mmctl auth login [instance url] --name [server name] --username [username] --password-file [password-file] [flags]
Examples
~~~~~~~~
::
auth login https://mattermost.example.com
auth login https://mattermost.example.com --name local-server --username sysadmin --password-file mysupersecret.txt
auth login https://mattermost.example.com --name local-server --username sysadmin --password-file mysupersecret.txt --mfa-token 123456
auth login https://mattermost.example.com --name local-server --access-token myaccesstoken
Options
~~~~~~~
::
-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
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl auth <mmctl_auth.rst>`_ - Manages the credentials of the remote Mattermost instances

54
server/cmd/mmctl/docs/mmctl_auth_renew.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,54 @@
.. _mmctl_auth_renew:
mmctl auth renew
----------------
Renews a set of credentials
Synopsis
~~~~~~~~
Renews the credentials for a given server
::
mmctl auth renew [flags]
Examples
~~~~~~~~
::
auth renew local-server
Options
~~~~~~~
::
-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
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl auth <mmctl_auth.rst>`_ - Manages the credentials of the remote Mattermost instances

51
server/cmd/mmctl/docs/mmctl_auth_set.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_auth_set:
mmctl auth set
--------------
Set the credentials to use
Synopsis
~~~~~~~~
Set an credentials to use in the following commands
::
mmctl auth set [server name] [flags]
Examples
~~~~~~~~
::
auth set local-server
Options
~~~~~~~
::
-h, --help help for set
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl auth <mmctl_auth.rst>`_ - Manages the credentials of the remote Mattermost instances

46
server/cmd/mmctl/docs/mmctl_bot.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,46 @@
.. _mmctl_bot:
mmctl bot
---------
Management of bots
Synopsis
~~~~~~~~
Management of bots
Options
~~~~~~~
::
-h, --help help for bot
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl bot assign <mmctl_bot_assign.rst>`_ - Assign bot
* `mmctl bot create <mmctl_bot_create.rst>`_ - Create bot
* `mmctl bot disable <mmctl_bot_disable.rst>`_ - Disable bot
* `mmctl bot enable <mmctl_bot_enable.rst>`_ - Enable bot
* `mmctl bot list <mmctl_bot_list.rst>`_ - List bots
* `mmctl bot update <mmctl_bot_update.rst>`_ - Update bot

51
server/cmd/mmctl/docs/mmctl_bot_assign.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_bot_assign:
mmctl bot assign
----------------
Assign bot
Synopsis
~~~~~~~~
Assign the ownership of a bot to another user
::
mmctl bot assign [bot-username] [new-owner-username] [flags]
Examples
~~~~~~~~
::
bot assign testbot user2
Options
~~~~~~~
::
-h, --help help for assign
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl bot <mmctl_bot.rst>`_ - Management of bots

54
server/cmd/mmctl/docs/mmctl_bot_create.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,54 @@
.. _mmctl_bot_create:
mmctl bot create
----------------
Create bot
Synopsis
~~~~~~~~
Create bot.
::
mmctl bot create [username] [flags]
Examples
~~~~~~~~
::
bot create testbot
Options
~~~~~~~
::
--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.
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl bot <mmctl_bot.rst>`_ - Management of bots

51
server/cmd/mmctl/docs/mmctl_bot_disable.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_bot_disable:
mmctl bot disable
-----------------
Disable bot
Synopsis
~~~~~~~~
Disable an enabled bot
::
mmctl bot disable [username] [flags]
Examples
~~~~~~~~
::
bot disable testbot
Options
~~~~~~~
::
-h, --help help for disable
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl bot <mmctl_bot.rst>`_ - Management of bots

51
server/cmd/mmctl/docs/mmctl_bot_enable.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_bot_enable:
mmctl bot enable
----------------
Enable bot
Synopsis
~~~~~~~~
Enable a disabled bot
::
mmctl bot enable [username] [flags]
Examples
~~~~~~~~
::
bot enable testbot
Options
~~~~~~~
::
-h, --help help for enable
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl bot <mmctl_bot.rst>`_ - Management of bots

53
server/cmd/mmctl/docs/mmctl_bot_list.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,53 @@
.. _mmctl_bot_list:
mmctl bot list
--------------
List bots
Synopsis
~~~~~~~~
List the bots users.
::
mmctl bot list [flags]
Examples
~~~~~~~~
::
bot list
Options
~~~~~~~
::
--all Optional. Show all bots (including deleleted and orphaned).
-h, --help help for list
--orphaned Optional. Only show orphaned bots.
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl bot <mmctl_bot.rst>`_ - Management of bots

54
server/cmd/mmctl/docs/mmctl_bot_update.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,54 @@
.. _mmctl_bot_update:
mmctl bot update
----------------
Update bot
Synopsis
~~~~~~~~
Update bot information.
::
mmctl bot update [username] [flags]
Examples
~~~~~~~~
::
bot update testbot --username newbotusername
Options
~~~~~~~
::
--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.
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl bot <mmctl_bot.rst>`_ - Management of bots

50
server/cmd/mmctl/docs/mmctl_channel.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,50 @@
.. _mmctl_channel:
mmctl channel
-------------
Management of channels
Synopsis
~~~~~~~~
Management of channels
Options
~~~~~~~
::
-h, --help help for channel
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl channel archive <mmctl_channel_archive.rst>`_ - Archive channels
* `mmctl channel create <mmctl_channel_create.rst>`_ - Create a channel
* `mmctl channel delete <mmctl_channel_delete.rst>`_ - Delete channels
* `mmctl channel list <mmctl_channel_list.rst>`_ - List all channels on specified teams.
* `mmctl channel modify <mmctl_channel_modify.rst>`_ - Modify a channel's public/private type
* `mmctl channel move <mmctl_channel_move.rst>`_ - Moves channels to the specified team
* `mmctl channel rename <mmctl_channel_rename.rst>`_ - Rename channel
* `mmctl channel search <mmctl_channel_search.rst>`_ - Search a channel
* `mmctl channel unarchive <mmctl_channel_unarchive.rst>`_ - Unarchive some channels
* `mmctl channel users <mmctl_channel_users.rst>`_ - Management of channel users

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

@@ -0,0 +1,53 @@
.. _mmctl_channel_archive:
mmctl channel archive
---------------------
Archive channels
Synopsis
~~~~~~~~
Archive some channels.
Archive a channel along with all related information including posts from the database.
Channels can be specified by [team]:[channel]. ie. myteam:mychannel or by channel ID.
::
mmctl channel archive [channels] [flags]
Examples
~~~~~~~~
::
channel archive myteam:mychannel
Options
~~~~~~~
::
-h, --help help for archive
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels

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

@@ -0,0 +1,58 @@
.. _mmctl_channel_create:
mmctl channel create
--------------------
Create a channel
Synopsis
~~~~~~~~
Create a channel.
::
mmctl channel create [flags]
Examples
~~~~~~~~
::
channel create --team myteam --name mynewchannel --display-name "My New Channel"
channel create --team myteam --name mynewprivatechannel --display-name "My New Private Channel" --private
Options
~~~~~~~
::
--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
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels

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

@@ -0,0 +1,53 @@
.. _mmctl_channel_delete:
mmctl channel delete
--------------------
Delete channels
Synopsis
~~~~~~~~
Permanently delete some channels.
Permanently deletes one or multiple channels along with all related information including posts from the database.
::
mmctl channel delete [channels] [flags]
Examples
~~~~~~~~
::
channel delete myteam:mychannel
Options
~~~~~~~
::
--confirm Confirm you really want to delete the channel and a DB backup has been performed.
-h, --help help for delete
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels

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

@@ -0,0 +1,53 @@
.. _mmctl_channel_list:
mmctl channel list
------------------
List all channels on specified teams.
Synopsis
~~~~~~~~
List all channels on specified teams.
Archived channels are appended with ' (archived)'.
Private channels the user is a member of or has access to are appended with ' (private)'.
::
mmctl channel list [teams] [flags]
Examples
~~~~~~~~
::
channel list myteam
Options
~~~~~~~
::
-h, --help help for list
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels

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

@@ -0,0 +1,55 @@
.. _mmctl_channel_modify:
mmctl channel modify
--------------------
Modify a channel's public/private type
Synopsis
~~~~~~~~
Change the Public/Private type of a channel.
Channel can be specified by [team]:[channel]. ie. myteam:mychannel or by channel ID.
::
mmctl channel modify [channel] [flags]
Examples
~~~~~~~~
::
channel modify myteam:mychannel --private
channel modify channelId --public
Options
~~~~~~~
::
-h, --help help for modify
--private Convert the channel to a private channel
--public Convert the channel to a public channel
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels

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

@@ -0,0 +1,54 @@
.. _mmctl_channel_move:
mmctl channel move
------------------
Moves channels to the specified team
Synopsis
~~~~~~~~
Moves the provided channels to the specified team.
Validates that all users in the channel belong to the target team. Incoming/Outgoing webhooks are moved along with the channel.
Channels can be specified by [team]:[channel]. ie. myteam:mychannel or by channel ID.
::
mmctl channel move [team] [channels] [flags]
Examples
~~~~~~~~
::
channel move newteam oldteam:mychannel
Options
~~~~~~~
::
--force Remove users that are not members of target team before moving the channel.
-h, --help help for move
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels

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

@@ -0,0 +1,55 @@
.. _mmctl_channel_rename:
mmctl channel rename
--------------------
Rename channel
Synopsis
~~~~~~~~
Rename an existing channel.
::
mmctl channel rename [channel] [flags]
Examples
~~~~~~~~
::
channel rename myteam:oldchannel --name 'new-channel' --display-name 'New Display Name'
channel rename myteam:oldchannel --name 'new-channel'
channel rename myteam:oldchannel --display-name 'New Display Name'
Options
~~~~~~~
::
--display-name string Channel Display Name
-h, --help help for rename
--name string Channel Name
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels

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

@@ -0,0 +1,55 @@
.. _mmctl_channel_search:
mmctl channel search
--------------------
Search a channel
Synopsis
~~~~~~~~
Search a channel by channel name.
Channel can be specified by team. ie. --team myteam mychannel or by team ID.
::
mmctl channel search [channel]
mmctl search --team [team] [channel] [flags]
Examples
~~~~~~~~
::
channel search mychannel
channel search --team myteam mychannel
Options
~~~~~~~
::
-h, --help help for search
--team string Team name or ID
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels

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

@@ -0,0 +1,52 @@
.. _mmctl_channel_unarchive:
mmctl channel unarchive
-----------------------
Unarchive some channels
Synopsis
~~~~~~~~
Unarchive a previously archived channel
Channels can be specified by [team]:[channel]. ie. myteam:mychannel or by channel ID.
::
mmctl channel unarchive [channels] [flags]
Examples
~~~~~~~~
::
channel unarchive myteam:mychannel
Options
~~~~~~~
::
-h, --help help for unarchive
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels

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

@@ -0,0 +1,42 @@
.. _mmctl_channel_users:
mmctl channel users
-------------------
Management of channel users
Synopsis
~~~~~~~~
Management of channel users
Options
~~~~~~~
::
-h, --help help for users
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel <mmctl_channel.rst>`_ - Management of channels
* `mmctl channel users add <mmctl_channel_users_add.rst>`_ - Add users to channel
* `mmctl channel users remove <mmctl_channel_users_remove.rst>`_ - Remove users from channel

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

@@ -0,0 +1,51 @@
.. _mmctl_channel_users_add:
mmctl channel users add
-----------------------
Add users to channel
Synopsis
~~~~~~~~
Add some users to channel
::
mmctl channel users add [channel] [users] [flags]
Examples
~~~~~~~~
::
channel users add myteam:mychannel user@example.com username
Options
~~~~~~~
::
-h, --help help for add
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel users <mmctl_channel_users.rst>`_ - Management of channel users

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

@@ -0,0 +1,53 @@
.. _mmctl_channel_users_remove:
mmctl channel users remove
--------------------------
Remove users from channel
Synopsis
~~~~~~~~
Remove some users from channel
::
mmctl channel users remove [channel] [users] [flags]
Examples
~~~~~~~~
::
channel users remove myteam:mychannel user@example.com username
channel users remove myteam:mychannel --all-users
Options
~~~~~~~
::
--all-users Remove all users from the indicated channel.
-h, --help help for remove
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl channel users <mmctl_channel_users.rst>`_ - Management of channel users

46
server/cmd/mmctl/docs/mmctl_command.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,46 @@
.. _mmctl_command:
mmctl command
-------------
Management of slash commands
Synopsis
~~~~~~~~
Management of slash commands
Options
~~~~~~~
::
-h, --help help for command
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl command archive <mmctl_command_archive.rst>`_ - Archive a slash command
* `mmctl command create <mmctl_command_create.rst>`_ - Create a custom slash command
* `mmctl command list <mmctl_command_list.rst>`_ - List all commands on specified teams.
* `mmctl command modify <mmctl_command_modify.rst>`_ - Modify a slash command
* `mmctl command move <mmctl_command_move.rst>`_ - Move a slash command to a different team
* `mmctl command show <mmctl_command_show.rst>`_ - Show a custom slash command

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

@@ -0,0 +1,51 @@
.. _mmctl_command_archive:
mmctl command archive
---------------------
Archive a slash command
Synopsis
~~~~~~~~
Archive a slash command. Commands can be specified by command ID.
::
mmctl command archive [commandID] [flags]
Examples
~~~~~~~~
::
command archive commandID
Options
~~~~~~~
::
-h, --help help for archive
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl command <mmctl_command.rst>`_ - Management of slash commands

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

@@ -0,0 +1,62 @@
.. _mmctl_command_create:
mmctl command create
--------------------
Create a custom slash command
Synopsis
~~~~~~~~
Create a custom slash command for the specified team.
::
mmctl command create [team] [flags]
Examples
~~~~~~~~
::
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
Options
~~~~~~~
::
--autocomplete Show Command in autocomplete list
--autocompleteDesc string Short Command Description for autocomplete list
--autocompleteHint string Command Arguments displayed as help in autocomplete list
--creator string Command Creator's username, email or id (required)
--description string Command Description
-h, --help help for 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)
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl command <mmctl_command.rst>`_ - Management of slash commands

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

@@ -0,0 +1,51 @@
.. _mmctl_command_list:
mmctl command list
------------------
List all commands on specified teams.
Synopsis
~~~~~~~~
List all commands on specified teams.
::
mmctl command list [teams] [flags]
Examples
~~~~~~~~
::
command list myteam
Options
~~~~~~~
::
-h, --help help for list
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl command <mmctl_command.rst>`_ - Management of slash commands

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

@@ -0,0 +1,62 @@
.. _mmctl_command_modify:
mmctl command modify
--------------------
Modify a slash command
Synopsis
~~~~~~~~
Modify a slash command. Commands can be specified by command ID.
::
mmctl command modify [commandID] [flags]
Examples
~~~~~~~~
::
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
Options
~~~~~~~
::
--autocomplete Show Command in autocomplete list
--autocompleteDesc string Short Command Description for autocomplete list
--autocompleteHint string Command Arguments displayed as help in autocomplete list
--creator string Command Creator's username, email or id (required)
--description string Command Description
-h, --help help for modify
--icon string Command Icon URL
--post Use POST method for Callback URL
--response-username string Command Response Username
--title string Command Title
--trigger-word string Command Trigger Word (required)
--url string Command Callback URL (required)
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl command <mmctl_command.rst>`_ - Management of slash commands

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

@@ -0,0 +1,51 @@
.. _mmctl_command_move:
mmctl command move
------------------
Move a slash command to a different team
Synopsis
~~~~~~~~
Move a slash command to a different team. Commands can be specified by command ID.
::
mmctl command move [team] [commandID] [flags]
Examples
~~~~~~~~
::
command move newteam commandID
Options
~~~~~~~
::
-h, --help help for move
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl command <mmctl_command.rst>`_ - Management of slash commands

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

@@ -0,0 +1,51 @@
.. _mmctl_command_show:
mmctl command show
------------------
Show a custom slash command
Synopsis
~~~~~~~~
Show a custom slash command. Commands can be specified by command ID. Returns command ID, team ID, trigger word, display name and creator username.
::
mmctl command show [commandID] [flags]
Examples
~~~~~~~~
::
command show commandID
Options
~~~~~~~
::
-h, --help help for show
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl command <mmctl_command.rst>`_ - Management of slash commands

42
server/cmd/mmctl/docs/mmctl_completion.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,42 @@
.. _mmctl_completion:
mmctl completion
----------------
Generates autocompletion scripts for bash and zsh
Synopsis
~~~~~~~~
Generates autocompletion scripts for bash and zsh
Options
~~~~~~~
::
-h, --help help for completion
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl completion bash <mmctl_completion_bash.rst>`_ - Generates the bash autocompletion scripts
* `mmctl completion zsh <mmctl_completion_zsh.rst>`_ - Generates the zsh autocompletion scripts

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

@@ -0,0 +1,49 @@
.. _mmctl_completion_bash:
mmctl completion bash
---------------------
Generates the bash autocompletion scripts
Synopsis
~~~~~~~~
To load completion, run
. <(mmctl completion bash)
To configure your bash shell to load completions for each session, add the above line to your ~/.bashrc
::
mmctl completion bash [flags]
Options
~~~~~~~
::
-h, --help help for bash
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl completion <mmctl_completion.rst>`_ - Generates autocompletion scripts for bash and zsh

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

@@ -0,0 +1,49 @@
.. _mmctl_completion_zsh:
mmctl completion zsh
--------------------
Generates the zsh autocompletion scripts
Synopsis
~~~~~~~~
To load completion, run
. <(mmctl completion zsh)
To configure your zsh shell to load completions for each session, add the above line to your ~/.zshrc
::
mmctl completion zsh [flags]
Options
~~~~~~~
::
-h, --help help for zsh
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl completion <mmctl_completion.rst>`_ - Generates autocompletion scripts for bash and zsh

49
server/cmd/mmctl/docs/mmctl_config.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,49 @@
.. _mmctl_config:
mmctl config
------------
Configuration
Synopsis
~~~~~~~~
Configuration
Options
~~~~~~~
::
-h, --help help for config
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl config edit <mmctl_config_edit.rst>`_ - Edit the config
* `mmctl config get <mmctl_config_get.rst>`_ - Get config setting
* `mmctl config migrate <mmctl_config_migrate.rst>`_ - Migrate existing config between backends
* `mmctl config patch <mmctl_config_patch.rst>`_ - Patch the config
* `mmctl config reload <mmctl_config_reload.rst>`_ - Reload the server configuration
* `mmctl config reset <mmctl_config_reset.rst>`_ - Reset config setting
* `mmctl config set <mmctl_config_set.rst>`_ - Set config setting
* `mmctl config show <mmctl_config_show.rst>`_ - Writes the server configuration to STDOUT
* `mmctl config subpath <mmctl_config_subpath.rst>`_ - Update client asset loading to use the configured subpath

51
server/cmd/mmctl/docs/mmctl_config_edit.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_config_edit:
mmctl config edit
-----------------
Edit the config
Synopsis
~~~~~~~~
Opens the editor defined in the EDITOR environment variable to modify the server's configuration and then uploads it
::
mmctl config edit [flags]
Examples
~~~~~~~~
::
config edit
Options
~~~~~~~
::
-h, --help help for edit
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl config <mmctl_config.rst>`_ - Configuration

51
server/cmd/mmctl/docs/mmctl_config_get.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_config_get:
mmctl config get
----------------
Get config setting
Synopsis
~~~~~~~~
Gets the value of a config setting by its name in dot notation.
::
mmctl config get [flags]
Examples
~~~~~~~~
::
config get SqlSettings.DriverName
Options
~~~~~~~
::
-h, --help help for get
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl config <mmctl_config.rst>`_ - Configuration

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

@@ -0,0 +1,51 @@
.. _mmctl_config_migrate:
mmctl config migrate
--------------------
Migrate existing config between backends
Synopsis
~~~~~~~~
Migrate a file-based configuration to (or from) a database-based configuration. Point the Mattermost server at the target configuration to start using it. Note that this command is only available in `--local` mode.
::
mmctl config migrate [from_config] [to_config] [flags]
Examples
~~~~~~~~
::
config migrate path/to/config.json "postgres://mmuser:mostest@localhost:5432/mattermost_test?sslmode=disable&connect_timeout=10"
Options
~~~~~~~
::
-h, --help help for migrate
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl config <mmctl_config.rst>`_ - Configuration

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

@@ -0,0 +1,51 @@
.. _mmctl_config_patch:
mmctl config patch
------------------
Patch the config
Synopsis
~~~~~~~~
Patches config settings with the given config file.
::
mmctl config patch <config-file> [flags]
Examples
~~~~~~~~
::
config patch /path/to/config.json
Options
~~~~~~~
::
-h, --help help for patch
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl config <mmctl_config.rst>`_ - Configuration

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

@@ -0,0 +1,51 @@
.. _mmctl_config_reload:
mmctl config reload
-------------------
Reload the server configuration
Synopsis
~~~~~~~~
Reload the server configuration in case you want to new settings to be applied.
::
mmctl config reload [flags]
Examples
~~~~~~~~
::
config reload
Options
~~~~~~~
::
-h, --help help for reload
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl config <mmctl_config.rst>`_ - Configuration

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

@@ -0,0 +1,52 @@
.. _mmctl_config_reset:
mmctl config reset
------------------
Reset config setting
Synopsis
~~~~~~~~
Resets the value of a config setting by its name in dot notation or a setting section. Accepts multiple values for array settings.
::
mmctl config reset [flags]
Examples
~~~~~~~~
::
config reset SqlSettings.DriverName LogSettings
Options
~~~~~~~
::
--confirm confirm you really want to reset all configuration settings to its default value
-h, --help help for reset
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl config <mmctl_config.rst>`_ - Configuration

52
server/cmd/mmctl/docs/mmctl_config_set.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,52 @@
.. _mmctl_config_set:
mmctl config set
----------------
Set config setting
Synopsis
~~~~~~~~
Sets the value of a config setting by its name in dot notation. Accepts multiple values for array settings
::
mmctl config set [flags]
Examples
~~~~~~~~
::
config set SqlSettings.DriverName mysql
config set SqlSettings.DataSourceReplicas "replica1" "replica2"
Options
~~~~~~~
::
-h, --help help for set
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl config <mmctl_config.rst>`_ - Configuration

51
server/cmd/mmctl/docs/mmctl_config_show.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,51 @@
.. _mmctl_config_show:
mmctl config show
-----------------
Writes the server configuration to STDOUT
Synopsis
~~~~~~~~
Prints the server configuration and writes to STDOUT in JSON format.
::
mmctl config show [flags]
Examples
~~~~~~~~
::
config show
Options
~~~~~~~
::
-h, --help help for show
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl config <mmctl_config.rst>`_ - Configuration

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

@@ -0,0 +1,60 @@
.. _mmctl_config_subpath:
mmctl config subpath
--------------------
Update client asset loading to use the configured subpath
Synopsis
~~~~~~~~
Update the hard-coded production client asset paths to take into account Mattermost running on a subpath. This command needs access to the Mattermost assets directory to be able to rewrite the paths.
::
mmctl config subpath [flags]
Examples
~~~~~~~~
::
# 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 /
Options
~~~~~~~
::
-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
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl config <mmctl_config.rst>`_ - Configuration

45
server/cmd/mmctl/docs/mmctl_docs.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,45 @@
.. _mmctl_docs:
mmctl docs
----------
Generates mmctl documentation
Synopsis
~~~~~~~~
Generates mmctl documentation
::
mmctl docs [flags]
Options
~~~~~~~
::
-d, --directory string The directory where the docs would be generated in. (default "docs")
-h, --help help for docs
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative

45
server/cmd/mmctl/docs/mmctl_export.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,45 @@
.. _mmctl_export:
mmctl export
------------
Management of exports
Synopsis
~~~~~~~~
Management of exports
Options
~~~~~~~
::
-h, --help help for export
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl export create <mmctl_export_create.rst>`_ - Create export file
* `mmctl export delete <mmctl_export_delete.rst>`_ - Delete export file
* `mmctl export download <mmctl_export_download.rst>`_ - Download export files
* `mmctl export job <mmctl_export_job.rst>`_ - List, show and cancel export jobs
* `mmctl export list <mmctl_export_list.rst>`_ - List export files

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

@@ -0,0 +1,45 @@
.. _mmctl_export_create:
mmctl export create
-------------------
Create export file
Synopsis
~~~~~~~~
Create export file
::
mmctl export create [flags]
Options
~~~~~~~
::
-h, --help help for create
--no-attachments Set to true to exclude file attachments in the export file.
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl export <mmctl_export.rst>`_ - Management of exports

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

@@ -0,0 +1,51 @@
.. _mmctl_export_delete:
mmctl export delete
-------------------
Delete export file
Synopsis
~~~~~~~~
Delete export file
::
mmctl export delete [exportname] [flags]
Examples
~~~~~~~~
::
export delete export_file.zip
Options
~~~~~~~
::
-h, --help help for delete
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl export <mmctl_export.rst>`_ - Management of exports

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

@@ -0,0 +1,56 @@
.. _mmctl_export_download:
mmctl export download
---------------------
Download export files
Synopsis
~~~~~~~~
Download export files
::
mmctl export download [exportname] [filepath] [flags]
Examples
~~~~~~~~
::
# you can indicate the name of the export and its destination path
$ mmctl export download samplename sample_export.zip
# or if you only indicate the name, the path would match it
$ mmctl export download sample_export.zip
Options
~~~~~~~
::
-h, --help help for download
--num-retries int Number of retries to do to resume a download. (default 5)
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl export <mmctl_export.rst>`_ - Management of exports

43
server/cmd/mmctl/docs/mmctl_export_job.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,43 @@
.. _mmctl_export_job:
mmctl export job
----------------
List, show and cancel export jobs
Synopsis
~~~~~~~~
List, show and cancel export jobs
Options
~~~~~~~
::
-h, --help help for job
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl export <mmctl_export.rst>`_ - Management of exports
* `mmctl export job cancel <mmctl_export_job_cancel.rst>`_ - Cancel export job
* `mmctl export job list <mmctl_export_job_list.rst>`_ - List export jobs
* `mmctl export job show <mmctl_export_job_show.rst>`_ - Show export job

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

@@ -0,0 +1,51 @@
.. _mmctl_export_job_cancel:
mmctl export job cancel
-----------------------
Cancel export job
Synopsis
~~~~~~~~
Cancel export job
::
mmctl export job cancel [exportJobID] [flags]
Examples
~~~~~~~~
::
export job cancel o98rj3ur83dp5dppfyk5yk6osy
Options
~~~~~~~
::
-h, --help help for cancel
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl export job <mmctl_export_job.rst>`_ - List, show and cancel export jobs

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

@@ -0,0 +1,54 @@
.. _mmctl_export_job_list:
mmctl export job list
---------------------
List export jobs
Synopsis
~~~~~~~~
List export jobs
::
mmctl export job list [flags]
Examples
~~~~~~~~
::
export job list
Options
~~~~~~~
::
--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 (default 200)
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl export job <mmctl_export_job.rst>`_ - List, show and cancel export jobs

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

@@ -0,0 +1,51 @@
.. _mmctl_export_job_show:
mmctl export job show
---------------------
Show export job
Synopsis
~~~~~~~~
Show export job
::
mmctl export job show [exportJobID] [flags]
Examples
~~~~~~~~
::
export job show o98rj3ur83dp5dppfyk5yk6osy
Options
~~~~~~~
::
-h, --help help for show
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl export job <mmctl_export_job.rst>`_ - List, show and cancel export jobs

44
server/cmd/mmctl/docs/mmctl_export_list.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,44 @@
.. _mmctl_export_list:
mmctl export list
-----------------
List export files
Synopsis
~~~~~~~~
List export files
::
mmctl export list [flags]
Options
~~~~~~~
::
-h, --help help for list
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl export <mmctl_export.rst>`_ - Management of exports

42
server/cmd/mmctl/docs/mmctl_extract.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,42 @@
.. _mmctl_extract:
mmctl extract
-------------
Management of content extraction job.
Synopsis
~~~~~~~~
Management of content extraction job.
Options
~~~~~~~
::
-h, --help help for extract
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl extract job <mmctl_extract_job.rst>`_ - List and show content extraction jobs
* `mmctl extract run <mmctl_extract_run.rst>`_ - Start a content extraction job.

42
server/cmd/mmctl/docs/mmctl_extract_job.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,42 @@
.. _mmctl_extract_job:
mmctl extract job
-----------------
List and show content extraction jobs
Synopsis
~~~~~~~~
List and show content extraction jobs
Options
~~~~~~~
::
-h, --help help for job
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl extract <mmctl_extract.rst>`_ - Management of content extraction job.
* `mmctl extract job list <mmctl_extract_job_list.rst>`_ - List content extraction jobs
* `mmctl extract job show <mmctl_extract_job_show.rst>`_ - Show extract job

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

@@ -0,0 +1,54 @@
.. _mmctl_extract_job_list:
mmctl extract job list
----------------------
List content extraction jobs
Synopsis
~~~~~~~~
List content extraction jobs
::
mmctl extract job list [flags]
Examples
~~~~~~~~
::
extract job list
Options
~~~~~~~
::
--all Fetch all extract jobs. --page flag will be ignore if provided
-h, --help help for list
--page int Page number to fetch for the list of extract jobs
--per-page int Number of extract jobs to be fetched (default 200)
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl extract job <mmctl_extract_job.rst>`_ - List and show content extraction jobs

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

@@ -0,0 +1,51 @@
.. _mmctl_extract_job_show:
mmctl extract job show
----------------------
Show extract job
Synopsis
~~~~~~~~
Show extract job
::
mmctl extract job show [extractJobID] [flags]
Examples
~~~~~~~~
::
extract job show f3d68qkkm7n8xgsfxwuo498rah
Options
~~~~~~~
::
-h, --help help for show
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl extract job <mmctl_extract_job.rst>`_ - List and show content extraction jobs

53
server/cmd/mmctl/docs/mmctl_extract_run.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,53 @@
.. _mmctl_extract_run:
mmctl extract run
-----------------
Start a content extraction job.
Synopsis
~~~~~~~~
Start a content extraction job.
::
mmctl extract run [flags]
Examples
~~~~~~~~
::
extract run
Options
~~~~~~~
::
--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.
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl extract <mmctl_extract.rst>`_ - Management of content extraction job.

44
server/cmd/mmctl/docs/mmctl_group.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,44 @@
.. _mmctl_group:
mmctl group
-----------
Management of groups
Synopsis
~~~~~~~~
Management of groups
Options
~~~~~~~
::
-h, --help help for group
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl group channel <mmctl_group_channel.rst>`_ - Management of channel groups
* `mmctl group list-ldap <mmctl_group_list-ldap.rst>`_ - List LDAP groups
* `mmctl group team <mmctl_group_team.rst>`_ - Management of team groups
* `mmctl group user <mmctl_group_user.rst>`_ - Management of custom user groups

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

@@ -0,0 +1,44 @@
.. _mmctl_group_channel:
mmctl group channel
-------------------
Management of channel groups
Synopsis
~~~~~~~~
Management of channel groups
Options
~~~~~~~
::
-h, --help help for channel
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group <mmctl_group.rst>`_ - Management of groups
* `mmctl group channel disable <mmctl_group_channel_disable.rst>`_ - Disables group constrains in the specified channel
* `mmctl group channel enable <mmctl_group_channel_enable.rst>`_ - Enables group constrains in the specified channel
* `mmctl group channel list <mmctl_group_channel_list.rst>`_ - List channel groups
* `mmctl group channel status <mmctl_group_channel_status.rst>`_ - Show's the group constrain status for the specified channel

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

@@ -0,0 +1,51 @@
.. _mmctl_group_channel_disable:
mmctl group channel disable
---------------------------
Disables group constrains in the specified channel
Synopsis
~~~~~~~~
Disables group constrains in the specified channel
::
mmctl group channel disable [team]:[channel] [flags]
Examples
~~~~~~~~
::
group channel disable myteam:mychannel
Options
~~~~~~~
::
-h, --help help for disable
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group channel <mmctl_group_channel.rst>`_ - Management of channel groups

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

@@ -0,0 +1,51 @@
.. _mmctl_group_channel_enable:
mmctl group channel enable
--------------------------
Enables group constrains in the specified channel
Synopsis
~~~~~~~~
Enables group constrains in the specified channel
::
mmctl group channel enable [team]:[channel] [flags]
Examples
~~~~~~~~
::
group channel enable myteam:mychannel
Options
~~~~~~~
::
-h, --help help for enable
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group channel <mmctl_group_channel.rst>`_ - Management of channel groups

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

@@ -0,0 +1,51 @@
.. _mmctl_group_channel_list:
mmctl group channel list
------------------------
List channel groups
Synopsis
~~~~~~~~
List the groups associated with a channel
::
mmctl group channel list [team]:[channel] [flags]
Examples
~~~~~~~~
::
group channel list myteam:mychannel
Options
~~~~~~~
::
-h, --help help for list
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group channel <mmctl_group_channel.rst>`_ - Management of channel groups

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

@@ -0,0 +1,51 @@
.. _mmctl_group_channel_status:
mmctl group channel status
--------------------------
Show's the group constrain status for the specified channel
Synopsis
~~~~~~~~
Show's the group constrain status for the specified channel
::
mmctl group channel status [team]:[channel] [flags]
Examples
~~~~~~~~
::
group channel status myteam:mychannel
Options
~~~~~~~
::
-h, --help help for status
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group channel <mmctl_group_channel.rst>`_ - Management of channel groups

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

@@ -0,0 +1,51 @@
.. _mmctl_group_list-ldap:
mmctl group list-ldap
---------------------
List LDAP groups
Synopsis
~~~~~~~~
List LDAP groups
::
mmctl group list-ldap [flags]
Examples
~~~~~~~~
::
group list-ldap
Options
~~~~~~~
::
-h, --help help for list-ldap
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group <mmctl_group.rst>`_ - Management of groups

44
server/cmd/mmctl/docs/mmctl_group_team.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,44 @@
.. _mmctl_group_team:
mmctl group team
----------------
Management of team groups
Synopsis
~~~~~~~~
Management of team groups
Options
~~~~~~~
::
-h, --help help for team
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group <mmctl_group.rst>`_ - Management of groups
* `mmctl group team disable <mmctl_group_team_disable.rst>`_ - Disables group constrains in the specified team
* `mmctl group team enable <mmctl_group_team_enable.rst>`_ - Enables group constrains in the specified team
* `mmctl group team list <mmctl_group_team_list.rst>`_ - List team groups
* `mmctl group team status <mmctl_group_team_status.rst>`_ - Show's the group constrain status for the specified team

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

@@ -0,0 +1,51 @@
.. _mmctl_group_team_disable:
mmctl group team disable
------------------------
Disables group constrains in the specified team
Synopsis
~~~~~~~~
Disables group constrains in the specified team
::
mmctl group team disable [team] [flags]
Examples
~~~~~~~~
::
group team disable myteam
Options
~~~~~~~
::
-h, --help help for disable
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group team <mmctl_group_team.rst>`_ - Management of team groups

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

@@ -0,0 +1,51 @@
.. _mmctl_group_team_enable:
mmctl group team enable
-----------------------
Enables group constrains in the specified team
Synopsis
~~~~~~~~
Enables group constrains in the specified team
::
mmctl group team enable [team] [flags]
Examples
~~~~~~~~
::
group team enable myteam
Options
~~~~~~~
::
-h, --help help for enable
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group team <mmctl_group_team.rst>`_ - Management of team groups

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

@@ -0,0 +1,51 @@
.. _mmctl_group_team_list:
mmctl group team list
---------------------
List team groups
Synopsis
~~~~~~~~
List the groups associated with a team
::
mmctl group team list [team] [flags]
Examples
~~~~~~~~
::
group team list myteam
Options
~~~~~~~
::
-h, --help help for list
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group team <mmctl_group_team.rst>`_ - Management of team groups

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

@@ -0,0 +1,51 @@
.. _mmctl_group_team_status:
mmctl group team status
-----------------------
Show's the group constrain status for the specified team
Synopsis
~~~~~~~~
Show's the group constrain status for the specified team
::
mmctl group team status [team] [flags]
Examples
~~~~~~~~
::
group team status myteam
Options
~~~~~~~
::
-h, --help help for status
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group team <mmctl_group_team.rst>`_ - Management of team groups

41
server/cmd/mmctl/docs/mmctl_group_user.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,41 @@
.. _mmctl_group_user:
mmctl group user
----------------
Management of custom user groups
Synopsis
~~~~~~~~
Management of custom user groups
Options
~~~~~~~
::
-h, --help help for user
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group <mmctl_group.rst>`_ - Management of groups
* `mmctl group user restore <mmctl_group_user_restore.rst>`_ - Restore user group

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

@@ -0,0 +1,51 @@
.. _mmctl_group_user_restore:
mmctl group user restore
------------------------
Restore user group
Synopsis
~~~~~~~~
Restore deleted custom user group
::
mmctl group user restore [groupname] [flags]
Examples
~~~~~~~~
::
group user restore examplegroup
Options
~~~~~~~
::
-h, --help help for restore
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl group user <mmctl_group_user.rst>`_ - Management of custom user groups

45
server/cmd/mmctl/docs/mmctl_import.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,45 @@
.. _mmctl_import:
mmctl import
------------
Management of imports
Synopsis
~~~~~~~~
Management of imports
Options
~~~~~~~
::
-h, --help help for import
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl import job <mmctl_import_job.rst>`_ - List and show import jobs
* `mmctl import list <mmctl_import_list.rst>`_ - List import files
* `mmctl import process <mmctl_import_process.rst>`_ - Start an import job
* `mmctl import upload <mmctl_import_upload.rst>`_ - Upload import files
* `mmctl import validate <mmctl_import_validate.rst>`_ - Validate an import file

42
server/cmd/mmctl/docs/mmctl_import_job.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,42 @@
.. _mmctl_import_job:
mmctl import job
----------------
List and show import jobs
Synopsis
~~~~~~~~
List and show import jobs
Options
~~~~~~~
::
-h, --help help for job
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl import <mmctl_import.rst>`_ - Management of imports
* `mmctl import job list <mmctl_import_job_list.rst>`_ - List import jobs
* `mmctl import job show <mmctl_import_job_show.rst>`_ - Show import job

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

@@ -0,0 +1,54 @@
.. _mmctl_import_job_list:
mmctl import job list
---------------------
List import jobs
Synopsis
~~~~~~~~
List import jobs
::
mmctl import job list [flags]
Examples
~~~~~~~~
::
import job list
Options
~~~~~~~
::
--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 (default 200)
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl import job <mmctl_import_job.rst>`_ - List and show import jobs

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

@@ -0,0 +1,51 @@
.. _mmctl_import_job_show:
mmctl import job show
---------------------
Show import job
Synopsis
~~~~~~~~
Show import job
::
mmctl import job show [importJobID] [flags]
Examples
~~~~~~~~
::
import job show f3d68qkkm7n8xgsfxwuo498rah
Options
~~~~~~~
::
-h, --help help for show
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl import job <mmctl_import_job.rst>`_ - List and show import jobs

49
server/cmd/mmctl/docs/mmctl_import_list.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,49 @@
.. _mmctl_import_list:
mmctl import list
-----------------
List import files
Synopsis
~~~~~~~~
List import files
Examples
~~~~~~~~
::
import list
Options
~~~~~~~
::
-h, --help help for list
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl import <mmctl_import.rst>`_ - Management of imports
* `mmctl import list available <mmctl_import_list_available.rst>`_ - List available import files
* `mmctl import list incomplete <mmctl_import_list_incomplete.rst>`_ - List incomplete import files uploads

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

@@ -0,0 +1,51 @@
.. _mmctl_import_list_available:
mmctl import list available
---------------------------
List available import files
Synopsis
~~~~~~~~
List available import files
::
mmctl import list available [flags]
Examples
~~~~~~~~
::
import list available
Options
~~~~~~~
::
-h, --help help for available
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl import list <mmctl_import_list.rst>`_ - List import files

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

@@ -0,0 +1,51 @@
.. _mmctl_import_list_incomplete:
mmctl import list incomplete
----------------------------
List incomplete import files uploads
Synopsis
~~~~~~~~
List incomplete import files uploads
::
mmctl import list incomplete [flags]
Examples
~~~~~~~~
::
import list incomplete
Options
~~~~~~~
::
-h, --help help for incomplete
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl import list <mmctl_import_list.rst>`_ - List import files

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

@@ -0,0 +1,51 @@
.. _mmctl_import_process:
mmctl import process
--------------------
Start an import job
Synopsis
~~~~~~~~
Start an import job
::
mmctl import process [importname] [flags]
Examples
~~~~~~~~
::
import process 35uy6cwrqfnhdx3genrhqqznxc_import.zip
Options
~~~~~~~
::
-h, --help help for process
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl import <mmctl_import.rst>`_ - Management of imports

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

@@ -0,0 +1,53 @@
.. _mmctl_import_upload:
mmctl import upload
-------------------
Upload import files
Synopsis
~~~~~~~~
Upload import files
::
mmctl import upload [filepath] [flags]
Examples
~~~~~~~~
::
import upload import_file.zip
Options
~~~~~~~
::
-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.
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl import <mmctl_import.rst>`_ - Management of imports

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

@@ -0,0 +1,55 @@
.. _mmctl_import_validate:
mmctl import validate
---------------------
Validate an import file
Synopsis
~~~~~~~~
Validate an import file
::
mmctl import validate [filepath] [flags]
Examples
~~~~~~~~
::
import validate import_file.zip --team myteam --team myotherteam
Options
~~~~~~~
::
--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 Don't check if the attached files are present in the archive
--team stringArray Predefined team[s] to assume as already present on the destination server. Implies --check-missing-teams. The flag can be repeated
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl import <mmctl_import.rst>`_ - Management of imports

46
server/cmd/mmctl/docs/mmctl_integrity.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,46 @@
.. _mmctl_integrity:
mmctl integrity
---------------
Check database records integrity.
Synopsis
~~~~~~~~
Perform a relational integrity check which returns information about any orphaned record found.
::
mmctl integrity [flags]
Options
~~~~~~~
::
--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
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative

42
server/cmd/mmctl/docs/mmctl_ldap.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,42 @@
.. _mmctl_ldap:
mmctl ldap
----------
LDAP related utilities
Synopsis
~~~~~~~~
LDAP related utilities
Options
~~~~~~~
::
-h, --help help for ldap
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl ldap idmigrate <mmctl_ldap_idmigrate.rst>`_ - Migrate LDAP IdAttribute to new value
* `mmctl ldap sync <mmctl_ldap_sync.rst>`_ - Synchronize now

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

@@ -0,0 +1,56 @@
.. _mmctl_ldap_idmigrate:
mmctl ldap idmigrate
--------------------
Migrate LDAP IdAttribute to new value
Synopsis
~~~~~~~~
Migrate LDAP "IdAttribute" to a new value. Run this utility to change the value of your ID Attribute without your users losing their accounts. After running the command you can change the ID Attribute to the new value in the System Console. For example, if your current ID Attribute was "sAMAccountName" and you wanted to change it to "objectGUID", you would:
1. Wait for an off-peak time when your users wont be impacted by a server restart.
2. Run the command "mmctl ldap idmigrate objectGUID".
3. Update the config within the System Console to the new value "objectGUID".
4. Restart the Mattermost server.
::
mmctl ldap idmigrate <objectGUID> [flags]
Examples
~~~~~~~~
::
ldap idmigrate objectGUID
Options
~~~~~~~
::
-h, --help help for idmigrate
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl ldap <mmctl_ldap.rst>`_ - LDAP related utilities

52
server/cmd/mmctl/docs/mmctl_ldap_sync.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,52 @@
.. _mmctl_ldap_sync:
mmctl ldap sync
---------------
Synchronize now
Synopsis
~~~~~~~~
Synchronize all LDAP users and groups now.
::
mmctl ldap sync [flags]
Examples
~~~~~~~~
::
ldap sync
Options
~~~~~~~
::
-h, --help help for sync
--include-removed-members Include members who left or were removed from a group-synced team/channel
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl ldap <mmctl_ldap.rst>`_ - LDAP related utilities

43
server/cmd/mmctl/docs/mmctl_license.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,43 @@
.. _mmctl_license:
mmctl license
-------------
Licensing commands
Synopsis
~~~~~~~~
Licensing commands
Options
~~~~~~~
::
-h, --help help for license
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl license remove <mmctl_license_remove.rst>`_ - Remove the current license.
* `mmctl license upload <mmctl_license_upload.rst>`_ - Upload a license.
* `mmctl license upload-string <mmctl_license_upload-string.rst>`_ - Upload a license from a string.

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

@@ -0,0 +1,51 @@
.. _mmctl_license_remove:
mmctl license remove
--------------------
Remove the current license.
Synopsis
~~~~~~~~
Remove the current license and leave mattermost in Team Edition.
::
mmctl license remove [flags]
Examples
~~~~~~~~
::
license remove
Options
~~~~~~~
::
-h, --help help for remove
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl license <mmctl_license.rst>`_ - Licensing commands

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

@@ -0,0 +1,51 @@
.. _mmctl_license_upload-string:
mmctl license upload-string
---------------------------
Upload a license from a string.
Synopsis
~~~~~~~~
Upload a license from a string. Replaces current license.
::
mmctl license upload-string [license] [flags]
Examples
~~~~~~~~
::
license upload-string "mylicensestring"
Options
~~~~~~~
::
-h, --help help for upload-string
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl license <mmctl_license.rst>`_ - Licensing commands

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

@@ -0,0 +1,51 @@
.. _mmctl_license_upload:
mmctl license upload
--------------------
Upload a license.
Synopsis
~~~~~~~~
Upload a license. Replaces current license.
::
mmctl license upload [license] [flags]
Examples
~~~~~~~~
::
license upload /path/to/license/mylicensefile.mattermost-license
Options
~~~~~~~
::
-h, --help help for upload
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl license <mmctl_license.rst>`_ - Licensing commands

46
server/cmd/mmctl/docs/mmctl_logs.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,46 @@
.. _mmctl_logs:
mmctl logs
----------
Display logs in a human-readable format
Synopsis
~~~~~~~~
Display logs in a human-readable format. As the logs format depends on the server, the "--format" flag cannot be used with this command.
::
mmctl logs [flags]
Options
~~~~~~~
::
-h, --help help for logs
-l, --logrus Use logrus for formatting.
-n, --number int Number of log lines to retrieve. (default 200)
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative

44
server/cmd/mmctl/docs/mmctl_permissions.rst Обычный файл
Просмотреть файл

@@ -0,0 +1,44 @@
.. _mmctl_permissions:
mmctl permissions
-----------------
Management of permissions
Synopsis
~~~~~~~~
Management of permissions
Options
~~~~~~~
::
-h, --help help for permissions
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl <mmctl.rst>`_ - Remote client for the Open Source, self-hosted Slack-alternative
* `mmctl permissions add <mmctl_permissions_add.rst>`_ - Add permissions to a role (EE Only)
* `mmctl permissions remove <mmctl_permissions_remove.rst>`_ - Remove permissions from a role (EE Only)
* `mmctl permissions reset <mmctl_permissions_reset.rst>`_ - Reset default permissions for role (EE Only)
* `mmctl permissions role <mmctl_permissions_role.rst>`_ - Management of roles

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

@@ -0,0 +1,52 @@
.. _mmctl_permissions_add:
mmctl permissions add
---------------------
Add permissions to a role (EE Only)
Synopsis
~~~~~~~~
Add one or more permissions to an existing role (Only works in Enterprise Edition).
::
mmctl permissions add <role> <permission...> [flags]
Examples
~~~~~~~~
::
permissions add system_user list_open_teams
permissions add system_manager sysconsole_read_user_management_channels
Options
~~~~~~~
::
-h, --help help for add
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl permissions <mmctl_permissions.rst>`_ - Management of permissions

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

@@ -0,0 +1,52 @@
.. _mmctl_permissions_remove:
mmctl permissions remove
------------------------
Remove permissions from a role (EE Only)
Synopsis
~~~~~~~~
Remove one or more permissions from an existing role (Only works in Enterprise Edition).
::
mmctl permissions remove <role> <permission...> [flags]
Examples
~~~~~~~~
::
permissions remove system_user list_open_teams
permissions remove system_manager sysconsole_read_user_management_channels
Options
~~~~~~~
::
-h, --help help for remove
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
SEE ALSO
~~~~~~~~
* `mmctl permissions <mmctl_permissions.rst>`_ - Management of permissions

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше