定制 stevebauman/github-summarizer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

stevebauman/github-summarizer

最新稳定版本:v2.0.0

Composer 安装命令:

composer create-project stevebauman/github-summarizer

包简介

Summarize GitHub content using PHP.

README 文档

README

Summarize GitHub pull requests and commits using OpenAI

Index

Requirements

  • PHP >= 8.1

Installation

Install GitHub summarizer via the below command:

composer global require stevebauman/github-summarizer

Setup

GitHub Summarizer will prompt you for an OpenAI token the first time you attempt to summarize local commits, as well as a GitHub token the first time you attempt to summarize a pull request.

Usage

Local Git Commit Summarization

Summarize local git commits in the current working directory:

summarize here {files?} {--all}

Pull Request Summarization

Summarize a GitHub pull request:

summarize pr {org}/{repo} {--number=} {--state=open} {--style=changelog}

List all open PR's for selection:

summarize pr laravel/framework

List all closed PR's for selection:

summarize pr laravel/framework --state=closed

Summarize a specific PR by its number:

summarize pr laravel/framework 1234

Summarize a specific PR by its number responding in a "commit" style:

summarize pr laravel/framework 1234 --style=commit

Commit Summarization:

Summarize a GitHub commit or range of commits:

summarize commit {org}/{repo} {sha} {--from=} {--to=} {--style=changelog}

List recent commits to summarize:

summarize commit laravel/framework

List recent commits in a specific branch to summarize:

summarize commit laravel/framework --branch=10.x

Summarize a specific commit:

summarize commit laravel/framework {sha}

Summarize a specific commit responding in a "commit" style:

summarize commit laravel/framework {sha} --style=commit

Summarize a range of commits from the tagged version to master:

summarize commit laravel/framework --from=v10.0.1

Summarize a range of commits from the tagged version to another tagged version:

summarize commit laravel/framework --from=v10.0.1 --to=v10.0.2

Summarize a range of commits:

summarize commit laravel/framework --from={sha} --to={sha}

Summarize a range of commits (from the given commit to master)

summarize commit laravel/framework --from={sha}

统计信息

  • 总下载量: 40
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 45
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 45
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固