Code Monkey home page Code Monkey logo

gh-repo-admins's Introduction

Repo Admins

gh-repo-admins is a GitHub CLI extension used to retrieve a list of repository admins. This is useful when attempting to respond to security incidents or to determine who to make administrative requests to.

Note: The extension will retrieve the username, public full name, and public email address of all repository admins. If a users name or email are not public, only the username will be returned.

Note: You must have at least read access to the repository in order to use this extension.

Pre-requisites

Installation

gh extension install lindluni/gh-repo-admins

Usage

NAME:
   repo-admins - query repository admins

USAGE:
   repo-admins [global options] command [command options] [arguments...]

VERSION:
   1.1.0

DESCRIPTION:
   gh repo-admins --owner [owner] --repo [repo]
   gh repo-admins --help

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --owner value, -o value  organization or user that owns the repository
   --repo value, -r value   repository name
   --file value, -f value   name of CSV output file (default: "repo-admins.csv")
   --delay value, -d value  delay between GitHub API requests in milliseconds. If you are hitting API rate limits, increase this value. (default: 500)
   --help, -h               show help (default: false)
   --version, -v            print the version (default: false)

Examples

# Retrieve a list of repository admins for the lindluni/gh-repo-admins repository
gh repo-admins --owner lindluni --repo gh-repo-admins

# Retrieve a list of repository admins for the lindluni/gh-repo-admins repository and save the results to a different CSV file
gh repo-admins --owner lindluni --repo gh-repo-admins --file repo-admins.csv

# Retrieve a list of repository admins for the lindluni/gh-repo-admins repository and increase the delay between GitHub API requests
gh repo-admins --owner lindluni --repo gh-repo-admins --delay 1000

gh-repo-admins's People

Contributors

lindluni avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.