diff options
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 17 |
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. |