9 stable releases

Uses old Rust 2015

1.2.5 Jan 31, 2020
1.2.4 Jan 30, 2020
1.2.3 Feb 22, 2019
1.1.0 Oct 10, 2018
0.1.0 Oct 4, 2018

#5 in #viewing

28 downloads per month

MIT license

45KB
945 lines

pears

Usage

Create a json configuration file at ~/.config/pears/pears.json. See Configuration for details on the config file format.

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

Configuration

An example pears.json file:

{
    // --- 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"}
            ]
        }
    ]
}

Dependencies

~39MB
~730K SLoC