9 个稳定版本
使用旧的 Rust 2015
| 1.2.5 | 2020年1月31日 | 
|---|---|
| 1.2.4 | 2020年1月30日 | 
| 1.2.3 | 2019年2月22日 | 
| 1.1.0 | 2018年10月10日 | 
| 0.1.0 | 2018年10月4日 | 
#5 in #viewing
每月 28 次下载
45KB
945 行
pears
用法
在 ~/.config/pears/pears.json 创建一个 json 配置文件。有关配置文件格式的详细信息,请参阅 配置。
USAGE:
    pears [OPTIONS] [SUBCOMMAND]
FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
OPTIONS:
    -c, --config <FILE>    Set a custom config file [default: ~/.config/pears/pears.json]
    -r, --repo <repo>      Specify a repository. Format: <owner>/<repo>
SUBCOMMANDS:
    config    Show config
    help      Prints this message or the help of the given subcommand(s)
    list      lists active pull requests
    show      details for a pull request
配置
一个示例 pears.json 文件
{
    // --- Required ---
    "me": "my-github-username",
    // Create one of these here: https://github.com/settings/tokens
    "token": "github-token",
    // --- Optional ---
    // For multi repo groups
    "groups": [
        {
            "name": "$group_name",
            "repos": [
                {"owner": "$owner_name1", "name": "$repo_name1"},
                {"owner": "$owner_name2", "name": "$repo_name2"},
                {"owner": "$owner_name3", "name": "$repo_name3"}
            ]
        }
    ]
}
依赖项
~39MB
~730K SLoC