GitHub issue を CLI から作成する gh issue create
GitHub issue を CLI から作成する gh issue create
コマンドをご紹介します。
背景 CLI から GitHub issue を一括作成したい
GitHub issue をたくさん生成したい用途があり、 CLI で実行できる gh issue create コマンドを試しに使ってみました。
gh issue create
で issue を作成
gh issue create
コマンドで GitHub issue を作成したサンプルスクリプトと作成した issue は以下の通りです。
gh issue create \
--title "I found a bug" \
--body "Nothing works" \
--label "bug,help wanted" \
--assignee "@me" \
--project "sandbox project" \
--repo "codenote-net/sandbox"
I found a bug · Issue #12 · codenote-net/sandbox
以上、GitHub issue を CLI から追加する gh issue create
コマンドを活用していきたい、現場からお送りしました。