All Projects → arusahni → Git Req

arusahni / Git Req

Licence: mit
Check out merge requests from your GitLab/GitHub hosted repositories from the command line with just the request number.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Git Req

Lab
Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab
Stars: ✭ 911 (+1722%)
Mutual labels:  cli, hacktoberfest, gitlab
Tox
Command line driven CI frontend and development task automation tool.
Stars: ✭ 2,523 (+4946%)
Mutual labels:  cli, hacktoberfest, gitlab
Archisteamfarm
C# application with primary purpose of idling Steam cards from multiple accounts simultaneously.
Stars: ✭ 7,219 (+14338%)
Mutual labels:  cli, hacktoberfest
Schemathesis
A modern API testing tool for web applications built with Open API and GraphQL specifications.
Stars: ✭ 768 (+1436%)
Mutual labels:  cli, hacktoberfest
Mrm
Codemods for your project config files
Stars: ✭ 900 (+1700%)
Mutual labels:  cli, hacktoberfest
Terjira
Terjira is a very interactive and easy to use CLI tool for Jira.
Stars: ✭ 713 (+1326%)
Mutual labels:  cli, hacktoberfest
Jenkinsfile Runner
A command line tool to run Jenkinsfile as a function
Stars: ✭ 727 (+1354%)
Mutual labels:  cli, hacktoberfest
Clifx
Declarative framework for building command line interfaces
Stars: ✭ 900 (+1700%)
Mutual labels:  cli, hacktoberfest
Backslide
💦 CLI tool for making HTML presentations with Remark.js using Markdown
Stars: ✭ 679 (+1258%)
Mutual labels:  cli, hacktoberfest
Executor
Watch for file changes and then execute command. Very nice for test driven development.
Stars: ✭ 14 (-72%)
Mutual labels:  cli, hacktoberfest
Swiftinfo
📊 Extract and analyze the evolution of an iOS app's code.
Stars: ✭ 880 (+1660%)
Mutual labels:  cli, hacktoberfest
Bat
A cat(1) clone with wings.
Stars: ✭ 30,833 (+61566%)
Mutual labels:  cli, hacktoberfest
Gitea
Git with a cup of tea, painless self-hosted git service
Stars: ✭ 27,320 (+54540%)
Mutual labels:  hacktoberfest, gitlab
Glow
Render markdown on the CLI, with pizzazz! 💅🏻
Stars: ✭ 7,596 (+15092%)
Mutual labels:  cli, hacktoberfest
Mevn Cli
Light speed setup for MEVN(Mongo Express Vue Node) Apps
Stars: ✭ 696 (+1292%)
Mutual labels:  cli, hacktoberfest
Git Repo
Git-Repo: CLI utility to manage git services from your workspace
Stars: ✭ 818 (+1536%)
Mutual labels:  cli, gitlab
Cimonitor
Displays CI statuses on a dashboard and triggers fun modules representing the status!
Stars: ✭ 34 (-32%)
Mutual labels:  hacktoberfest, gitlab
Faas Cli
Official CLI for OpenFaaS
Stars: ✭ 633 (+1166%)
Mutual labels:  cli, hacktoberfest
Wbot
A simple Web based BOT for WhatsApp™ in NodeJS 😜. Working as of 📅 Feb 14th, 2020
Stars: ✭ 638 (+1176%)
Mutual labels:  cli, hacktoberfest
Laminas Cli
Console command runner, exposing commands written in Laminas MVC and Mezzio components and applications
Stars: ✭ 25 (-50%)
Mutual labels:  cli, hacktoberfest

Travis build status Appveyor build status Latest version

git-req

Check out merge requests from your GitLab/GitHub hosted repos with ease!

Why?

jrdev: Hey @aru, can you verify the issue you reported is fixed by mr 17?
aru: Oh? OK.
aru switches to a browser, navigates to his org's GitLab instance, finds the project, clicks to the merge requests view, finds the MR, reads the branch name (hotfix/jrdevs_new_branch), switches back to the terminal, inputs git checkout hotfix/jrdevs_new_branch (no typos!), and starts reviewing.


That sucks. Too much context switching, too many clicks. You know what's easier?

$ git req 17
Switched to branch 'hotfix/jrdevs_new_branch'

That's exactly what git-req does.

Installation

  1. Install it:

The first time you run git req <#> it will prompt you for API credentials; use a Personal Access Token. This wiki page has instructions on locating these on both GitLab and GitHub.

Configuration

git-req maintains two levels of configuration: Global and Project.

Global

Per-domain API keys are stored in the global scope, so your API keys can be used across projects.

To clear the API key: git req --clear-domain-key To change the API key: git req --set-domain-key NEW_KEY

Project

Project IDs are stored in the project scope. This ID is tied to the git host being used. If you change your upstream remote, you may have to edit this property.

To clear the project ID: git req --clear-project-id To change the project ID: git req --set-project-id PROJECT_ID

Completions

Completions are available for ZShell, Bash, and Fish shells.

ZShell

git req --completions zsh > /path/to/zfunc/location/_git-req
rm ~/.zcompdump
exec zsh

Bash

git req --completions bash > git-req-completions.sh
source git-req-completions.sh  # add this to your .bashrc!

Fish

git req --completions fish > git-req-completions.fish
source git-req-completions.fish

Contributing

Contributions are welcome! I'm especially looking for:

  • Supporting other services (e.g. BitBucket).
  • Rust code reviews. This is my first non-trivial Rust project, so I'd love to be corrected on best practices and patterns.

Non-binary Version

The last non-binary version of this was v1.0.0. If you don't wish to run (or compile) the Rust executable, feel free to use it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].