From 65c4eab887d1439a0a2feba2c4cc245ec941e32c Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Tue, 21 Nov 2023 13:35:51 -0600 Subject: [PATCH] Add doc for GitHub CLI token --- doc/github.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/github.md b/doc/github.md index 57e1a83..d0aec84 100644 --- a/doc/github.md +++ b/doc/github.md @@ -36,17 +36,29 @@ ```powershell Install-Module -Name PowerShellForGitHub -Scope CurrentUser + Set-GitHubConfiguration -DisableTelemetry + ``` -1. Clone my multi-repo helper scripts +1. Authorize PowerShell for GitHub + + Generate a classic token at + Select all the permissions that start with `read`, skip the ones I clearly don't care about. If you're not me, and reading this...use your judgement, and good luck. + + Now run: + ```powershell + set-githubauthentication + ``` + and paste the token into password, and set the username to 'Slartibarfast'. + +3. Clone my multi-repo helper scripts ```powershell cd ~/src git clone git@github.com:uillinois-community/powershell-scripts.git - ``` -1. Review the available commands +4. Review the available commands ```powershell get-command -module MarkDownGitHub -- 2.47.3