dpt-invite-github(1)

dpt-invite-github1

Invite someone to a github organization

Usage

dpt invite-github [option ...] github-username

Overview

dpt invite-github can be used for inviting people to become members of a GitHub organization. You can set the organization name through "DPT_GITHUB_ORGNAME" environment variable (defaults to pkg-perl-tools).

This script needs the "DPT_GITHUB_OAUTH" environment variable, which can be set in ~/.dpt.conf or ~/.config/dpt.conf. Cf. dpt-github-oauth(1) and dpt-config(5).

You need to have write access to the "admin:org" scope to be able to manage organization memberships. Please, make sure the token you use has that scope in <https://github.com/settings/tokens>.

Options

--role name

This option sets the role for the user. Valid roles are admin or member, which is the default.

--force

Use this option if the GitHub user is already a member of the organization and you want to change their role anyway.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From pkg-perl-tools 0.82 in Debian 13 (Trixie). Parsed by carta from the page's man source.