dpt-invite-github(1)
π NAME π
dpt-invite-github β the little helper that slides into someone's DMs and invites them to join a GitHub organization π«Ά
β¨ SYNOPSIS β¨
dpt invite-github [option...] {github-username}
π¦ DESCRIPTION π¦
okay so bestie, dpt invite-github is literally the move for inviting people to become members of a GitHub organization. no cap. π
you get to pick which organization, and here's the thing: you set the org name through the DPT_GITHUB_ORGNAME environment variable. and if you don't set it? it just defaults to pkg-perl-tools. comfy.
this script needs the DPT_GITHUB_OAUTH environment variable though β like, it will not function without it. you can set it in ~/.dpt.conf or ~/.config/dpt.conf. cf. dpt-github-oauth(1) and dpt-config(5) for the deets. π
and now for the part that actually matters: you need write access to the admin:org scope to be able to manage organization memberships. like, that's not optional, that's the whole vibe check. please please please make sure the token you're using has that scope, over at <https://github.com/settings/tokens>. π
not me forgetting the scope and then wondering why nothing works... it's giving "read the docs bestie" π
π OPTIONS π
--rolename β this one sets the role for the user. valid roles areadminormember, andmemberis the default. β¨--forceβ use this if the GitHub user is already a member of the organization and you wanna change their role anyway. basically "i said what i said" energy. π₯
π LICENSE AND COPYRIGHT π
Copyright 2016 Alex Muntada.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See <http://dev.perl.org/licenses/> for more information.
and that's a wrap, babe π§ this was dpt-invite-github(1), shipped as part of pkg-perl-tools 0.88, dated 2026-04-01. go forth and invite people, main character π
π¦ where this page comes from
- ubuntu stonking: pkg-perl-tools 0.88 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms