github-collaborators

    1.0.5 • Public • Published

    Github Collaborators CLI 🤖

    Github Collaborators CLI - CI NPM version

    A simple CLI made to easily manage your repository collaborators

    Installation

    yarn global add github-collaborators
     
    npm install -g github-collaborators

    Set up

    In order to use the script you will need to get your github token

    Once you have your access token create the script config file

    touch ~/.github-collaborators

    Then open the file and paste this

    GITHUB_USER=<your-username>
    GITHUB_ACCESS_TOKEN=<your-token>

    Replace the <variable> with your credentials e.g.

    GITHUB_USER=octocat
    GITHUB_ACCESS_TOKEN=nBlHCGhHFo

    That's it you're ready to run the script. Try listing the repo collaborators

    github-collaborators ls <repo-name>

    Usage

    Usage: github-collaborators [options] [command]
     
    Options:
      -V, --version                 output the version number
      -h, --help                    output usage information
     
    Commands:
      ls <repo>                     Lists repo collaborators
      add <collaborator> <repo>     Adds a collaborator to the repo
      remove <collaborator> <repo>  Removes a collaborator from the repo
      cancel <collaborator> <repo>  Cancels an invitation

    Install

    npm i github-collaborators

    DownloadsWeekly Downloads

    1

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    8.53 kB

    Total Files

    5

    Last publish

    Collaborators

    • fernando-mf