mattermost.go -create_user -team_name="teamname" -email="you@example.com" -password="jimmers"
mattermost -assign_role -team_name="teamname" -email="you@example.com" -role="admin"
If the user.email == team.owner and it's the first user created in the team then it will get the "admin" by default.
or if want to make a system admin
mattermost -assign_role -team_name="teamname" -email="you@example.com" -role="system_admin"