summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-06-05 02:31:34 -0400
committerenahum <nahumhbl@gmail.com>2016-06-05 03:31:34 -0300
commit0a9f09b6a759c6c18857e59c6d94fb58ef362231 (patch)
tree999f39caf7423ebc4a9ac907fdbdddea470fabaa /mattermost.go
parentcc4d23e27669ce85285b514a0606b4ea8c27d6e7 (diff)
downloadchat-0a9f09b6a759c6c18857e59c6d94fb58ef362231.tar.gz
chat-0a9f09b6a759c6c18857e59c6d94fb58ef362231.tar.bz2
chat-0a9f09b6a759c6c18857e59c6d94fb58ef362231.zip
Add invite_user command to CLI help text (#3229)
Diffstat (limited to 'mattermost.go')
-rw-r--r--mattermost.go17
1 files changed, 11 insertions, 6 deletions
diff --git a/mattermost.go b/mattermost.go
index 6467afab2..143be6783 100644
--- a/mattermost.go
+++ b/mattermost.go
@@ -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.