create-member
Create a member of a team
Auth
Team Owner Staff
Example
ghit-cli create-member platform alice --role member
Expected Response
Creates the resource and prints the created JSON object.
Errors
400 Bad Requestfor invalid flags/values.404 Not Foundwhen referenced owners/resources are missing.409 Conflictfor uniqueness or state conflicts.
Common auth errors are documented on the CLI overview page.
Help Output
Create a member of a team
Usage: ghit-cli create-member --role <ROLE> <TEAM_SLUG> <USERNAME>
Arguments:
<TEAM_SLUG> Team slug
<USERNAME> Username
Options:
--role <ROLE> Member role [possible values: owner, member]
-h, --help Print help