add_to_team

./lib/teachers_pet/actions/add_tp_team.rb

Description

Add members to a Organization. Adds each user in the list to the team specified my the filename. Creates the team on the specified organization if it doesn't already exist.

Command line

teachers_pet add_to_team --organization=[organization] --members=[members]

Descriptions of parameters

Parameteres
--organization The name of your github organization
--members = 'PATH'. The path to the file containing the list of usernames to add.

Oauth parameters

Parameters
--username (Optional) Default: system username.
--pasword = password. Required the github password of the account.
--token =token Provide a token instead of a username+password to authenticate via OAuth
--api = origin (Optional) The API endpoint of your GitHub Enterprise instance, if you have one. Default: https://api.github.com/
--web = origin (Optional) The URL of your GitHub Enterprise instance, if you have one. Default: https://github.com/