Add invite_user command to CLI help text (#3229)

Этот коммит содержится в:
Joram Wilander
2016-06-05 02:31:34 -04:00
коммит произвёл enahum
родитель cc4d23e276
Коммит 0a9f09b6a7

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

@@ -1217,13 +1217,13 @@ func getMockContext() *api.Context {
var usage = `Mattermost commands to help configure the system
NAME:
NAME:
platform -- platform configuation tool
USAGE:
USAGE:
platform [options]
FLAGS:
FLAGS:
-config="config.json" Path to the config file
-username="someuser" Username used in other commands
@@ -1243,7 +1243,7 @@ FLAGS:
"system_admin" - Represents a system
admin who has access to all teams
and configuration settings.
COMMANDS:
COMMANDS:
-create_team Creates a team. It requires the -team_name
and -email flag to create a team.
Example:
@@ -1254,6 +1254,11 @@ COMMANDS:
Example:
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
-team_name. You may need to logout of your current session
for the new team to be applied.