Updating mattermost.go help
Этот коммит содержится в:
@@ -535,12 +535,14 @@ func flushLogAndExit(code int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var usage = `Mattermost commands to help configure the system
|
var usage = `Mattermost commands to help configure the system
|
||||||
Usage:
|
|
||||||
|
|
||||||
|
NAME:
|
||||||
|
platform -- platform configuation tool
|
||||||
|
|
||||||
|
USAGE:
|
||||||
platform [options]
|
platform [options]
|
||||||
|
|
||||||
-version Display the current version
|
FLAGS:
|
||||||
|
|
||||||
-config="config.json" Path to the config file
|
-config="config.json" Path to the config file
|
||||||
|
|
||||||
-email="user@example.com" Email address used in other commands
|
-email="user@example.com" Email address used in other commands
|
||||||
@@ -557,10 +559,8 @@ Usage:
|
|||||||
is used to help administer one team.
|
is used to help administer one team.
|
||||||
"system_admin" - Represents a system
|
"system_admin" - Represents a system
|
||||||
admin who has access to all teams
|
admin who has access to all teams
|
||||||
and configuration settings. This
|
and configuration settings.
|
||||||
role can only be created on the
|
COMMANDS:
|
||||||
team named "admin"
|
|
||||||
|
|
||||||
-create_team Creates a team. It requires the -team_name
|
-create_team Creates a team. It requires the -team_name
|
||||||
and -email flag to create a team.
|
and -email flag to create a team.
|
||||||
Example:
|
Example:
|
||||||
@@ -572,7 +572,7 @@ Usage:
|
|||||||
platform -create_user -team_name="name" -email="user@example.com" -password="mypassword"
|
platform -create_user -team_name="name" -email="user@example.com" -password="mypassword"
|
||||||
|
|
||||||
-assign_role Assigns role to a user. It requires the -role,
|
-assign_role Assigns role to a user. It requires the -role,
|
||||||
-email and -team_name flag. You may need to logout
|
-email and -team_name flag. You may need to log out
|
||||||
of your current sessions for the new role to be
|
of your current sessions for the new role to be
|
||||||
applied.
|
applied.
|
||||||
Example:
|
Example:
|
||||||
@@ -584,18 +584,19 @@ Usage:
|
|||||||
platform -reset_password -team_name="name" -email="user@example.com" -password="newpassword"
|
platform -reset_password -team_name="name" -email="user@example.com" -password="newpassword"
|
||||||
|
|
||||||
-permanent_delete_user Permanently deletes a user and all related information
|
-permanent_delete_user Permanently deletes a user and all related information
|
||||||
include posts from the database. It requires the
|
including posts from the database. It requires the
|
||||||
-team_name, and -email flag. You may need to restart the
|
-team_name, and -email flag. You may need to restart the
|
||||||
server to invlidate the cache
|
server to invalidate the cache
|
||||||
Example:
|
Example:
|
||||||
platform -permanent_delete_user -team_name="name" -email="user@example.com"
|
platform -permanent_delete_user -team_name="name" -email="user@example.com"
|
||||||
|
|
||||||
-permanent_delete_team Permanently deletes a team and all users along with
|
-permanent_delete_team Permanently deletes a team and all users along with
|
||||||
all related information including posts from the database.
|
all related information including posts from the database.
|
||||||
It requires the -team_name flag. You may need to restart
|
It requires the -team_name flag. You may need to restart
|
||||||
the server to invalidate the cache.
|
the server to invalidate the cache.
|
||||||
Example:
|
Example:
|
||||||
platform -permanent_delete_team -team_name="name"
|
platform -permanent_delete_team -team_name="name"
|
||||||
|
|
||||||
|
-version Display the current of the Mattermost platform
|
||||||
|
|
||||||
`
|
-help Displays this help page`
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user