Skip to content

Commit

Permalink
pass cli args
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerfehr committed Oct 7, 2022
1 parent cda6959 commit 937f663
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/get-repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const GITHUB_REPOS_URL = '/orgs/{org}/repos';

const REPO_BLACKLIST = getBlacklist();

const [ORGANIZATION_NAME] = process.argv.slice(2);

const oct = new octokit.Octokit({ auth: process.env.GITHUB_API_KEY });

const getRepos = async (page, perPage = 100) => oct.request(
Expand Down

0 comments on commit 937f663

Please sign in to comment.