Crates.io | gr-bin |
lib.rs | gr-bin |
version | 0.2.1 |
source | src |
created_at | 2023-03-10 17:42:26.891535 |
updated_at | 2023-07-28 22:18:20.132931 |
description | Interact with remote repositories like you interact with git |
homepage | |
repository | https://github.com/daniel7grant/gr |
max_upload_size | |
id | 806600 |
size | 239,090 |
Interact with remote repositories like you interact with git
And it's all from the terminal!
You can install with cargo, cargo-binstall or npm:
# Any one of these is good
cargo install gr-bin
cargo binstall gr-bin
npm install --global gr-bin
If all went well, you should have gr
installed:
gr --version
gr
is similar to git
, that it looks at your current directory, and reads the information from it. To start, move to a local git repo, and login to the remote (if you only want to try, replace gr
with npx gr-bin
):
cd /path/to/repo
gr login
Create pull request on current branch:
gr pr create -m "PR title"
Get information about the open PRs:
gr pr list
Merge the PR on the current branch:
gr pr merge --delete
For more information, print the help with gr --help
.