Crates.io | pears |
lib.rs | pears |
version | 1.2.5 |
source | src |
created_at | 2018-10-04 14:06:23.688609 |
updated_at | 2020-01-31 18:54:25.813384 |
description | A simple tool for viewing open pull requests. |
homepage | |
repository | https://github.com/rthoward/pears |
max_upload_size | |
id | 88021 |
size | 131,387 |
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
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"}
]
}
]
}