]> apps.delaporte.us Git - dotfiles.git/commitdiff
Add doc for GitHub CLI token
authorEdward Delaporte <delaport@illinois.edu>
Tue, 21 Nov 2023 19:35:51 +0000 (13:35 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Tue, 21 Nov 2023 19:35:51 +0000 (13:35 -0600)
doc/github.md

index 57e1a83487318dfe8fae743882775eb6462a949c..d0aec8426f19d4f9f5553b1ca5431cc2d47bcc5e 100644 (file)
 
        ```powershell
        Install-Module -Name PowerShellForGitHub -Scope CurrentUser
 
        ```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 <https://github.com/settings/tokens?type=beta>
+  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
 
        ```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
 
        ```powershell
        get-command -module MarkDownGitHub