Add invite_user command to CLI help text (#3229)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
cc4d23e276
Коммит
0a9f09b6a7
@@ -1217,13 +1217,13 @@ func getMockContext() *api.Context {
|
|||||||
|
|
||||||
var usage = `Mattermost commands to help configure the system
|
var usage = `Mattermost commands to help configure the system
|
||||||
|
|
||||||
NAME:
|
NAME:
|
||||||
platform -- platform configuation tool
|
platform -- platform configuation tool
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
platform [options]
|
platform [options]
|
||||||
|
|
||||||
FLAGS:
|
FLAGS:
|
||||||
-config="config.json" Path to the config file
|
-config="config.json" Path to the config file
|
||||||
|
|
||||||
-username="someuser" Username used in other commands
|
-username="someuser" Username used in other commands
|
||||||
@@ -1243,7 +1243,7 @@ FLAGS:
|
|||||||
"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.
|
and configuration settings.
|
||||||
COMMANDS:
|
COMMANDS:
|
||||||
-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:
|
||||||
@@ -1254,6 +1254,11 @@ COMMANDS:
|
|||||||
Example:
|
Example:
|
||||||
platform -create_user -team_name="name" -email="user@example.com" -password="mypassword" -username="user"
|
platform -create_user -team_name="name" -email="user@example.com" -password="mypassword" -username="user"
|
||||||
|
|
||||||
|
-invite_user Invites a user to a team by email. It requires the -team_name
|
||||||
|
and -email flags.
|
||||||
|
Example:
|
||||||
|
platform -invite_user -team_name="name" -email="user@example.com"
|
||||||
|
|
||||||
-join_team Joins a user to the team. It required the -email and
|
-join_team Joins a user to the team. It required the -email and
|
||||||
-team_name. You may need to logout of your current session
|
-team_name. You may need to logout of your current session
|
||||||
for the new team to be applied.
|
for the new team to be applied.
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user