From 0a9f09b6a759c6c18857e59c6d94fb58ef362231 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Sun, 5 Jun 2016 02:31:34 -0400 Subject: Add invite_user command to CLI help text (#3229) --- mattermost.go | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'mattermost.go') 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. -- cgit v1.2.3-1-g7c22