CLI reference
hub invite
Invite someone to your org.
Make a link that lets one person join your org. With an email, only that address can use it.
Hub sends no email. Send the link to the person you invite. It can be used once and expires after 7 days. To let someone use one app without joining your org, use hub app <name> invite <email>.
Usage
hub invite [options] [email]Arguments
| Argument | Description |
|---|---|
[email] | The address the invite is for. Optional. |
Options
| Option | Description |
|---|---|
--role <role> | Role they join with: viewer, member or admin, default member. |
--label <text> | A note for the invite list, such as who the link is for. |
Examples
# Invite a member who signs in with that address
hub invite teammate@company.com
# Invite an admin
hub invite teammate@company.com --role admin
# A link anyone can use once
hub invite