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() {
|
function cmr() {
|
||||||
if [[ "$*" == "--draft" ]]
|
if [[ "$*" == "--draft" ]]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user