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

#2572 in Command line utilities

Download history 4/week @ 2023-11-02 1/week @ 2023-11-09 1/week @ 2023-11-16 10/week @ 2023-11-23 32/week @ 2023-11-30 10/week @ 2023-12-07 10/week @ 2023-12-14 20/week @ 2023-12-21 10/week @ 2024-01-04 29/week @ 2024-01-18 10/week @ 2024-01-25 10/week @ 2024-02-01 11/week @ 2024-02-08 107/week @ 2024-02-15

138 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

~40MB
~724K SLoC