hub
https://github.com/mislav/hub
Go
A command-line tool that makes git easier to use with GitHub.
Gitlab::QuickActions::Extractor#commands_regex
Builds a regular expression to match known commands. First match group captures the command name and second match group captures its arguments. It looks something like: /^\/(?<cmd>close|reopen|...)(?:( |$))(?<arg>[^\/\n]*)(?:\n|$)/
Edit
git clone [email protected]:mislav/hub.git
cd hub
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Gitlab--QuickActions--Extractor-commands_regex-for-pr
# Commit to gitgit add git commit -m "better docs for Gitlab::QuickActions::Extractor#commands_regex"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Gitlab--QuickActions--Extractor-commands_regex-for-pr
hub pull-request
# Celebrate!