Skip to content

CLI that makes it easier to work with github.

Notifications You must be signed in to change notification settings

holistic-web/github-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Tools

CLI that makes it easier to work with github. Powered by commander and octokit.

Usage

Use this package directly with npx:

npx @holistic-web/github-tools list-repos --org holistic-web

Commands

list-repos

List all repos for the authenticated user or an organisation

option Description
-o, --org <org>' The organization to list repos for

Configuration

Environment Variable Description
GITHUB_ACCESS_TOKEN Your github access token (see below)

Github Personal Access Token Scopes

Personal access tokens in github are created here: https://github.com/settings/tokens/new. When creating a token you need to provide a scope. Here are the scopes required for each command, add whichever you'd like to use.

Command Scopes
list-repos repo

Publish Changes

This project automatically publishes a new version to https://www.npmjs.com/package/@holistic-web/github-tools on merge to the master branch. It requires the secret NPM_TOKEN to be set in github for this repository.

About

CLI that makes it easier to work with github.

Resources

Stars

Watchers

Forks