swichers/github-utils

此包最新版本(dev-main)没有提供许可证信息。

dev-main 2021-10-08 03:11 UTC

This package is auto-updated.

Last update: 2024-09-19 22:04:39 UTC


README

基于 Symfony 的 GitHub 报告和任务运行器。

安装

git clone git@github.com:swichers/github-utils.git
cd github-utils
composer install
cp config/example.local.config.yml config/local.config.yml
nano config/local.config.yml

添加您的 GitHub API 密钥和组织名称。

使用方法

运行 ./bin/gh-utils 以获取可用命令列表。

可用命令

 repos
  repos:autotag                 Automatically tag repositories
  repos:branch:default          Sets the default branch across all repositories
  repos:branch:rename           Rename the given branch across all repositories
  repos:migrate:teams           Migrate users from teams to repo members
  repos:report:empty            List repositories with no code
  repos:report:inactive         List inactive repositories
  repos:report:list             List all repositories
  repos:report:pending-invites  List repos with pending invites
 teams
  teams:report:bad-names        List improperly named teams
  teams:report:empty            List teams with no members
  teams:report:orphans          List teams with no projects
  teams:report:pending-invites  List teams with pending invites