pears

Crates.iopears
lib.rspears
version1.2.5
sourcesrc
created_at2018-10-04 14:06:23.688609
updated_at2020-01-31 18:54:25.813384
descriptionA simple tool for viewing open pull requests.
homepage
repositoryhttps://github.com/rthoward/pears
max_upload_size
id88021
size131,387
Richard Howard (rthoward)

documentation

README

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"}
            ]
        }
    ]
}
Commit count: 69

cargo fmt