feat(custom-commands): add gcmr command to create MR on github
This commit is contained in:
@@ -162,6 +162,16 @@ function dbar() {
|
||||
}
|
||||
|
||||
|
||||
function gcmr() {
|
||||
if [[ "$*" == "--draft" ]]
|
||||
then
|
||||
draft="--draft"
|
||||
else
|
||||
draft=""
|
||||
fi
|
||||
gh pr create -a "@me" --fill -y $draft
|
||||
}
|
||||
|
||||
function cmr() {
|
||||
if [[ "$*" == "--draft" ]]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user