I’d like to introduce the gh issue create
command for creating GitHub issues from the CLI.
I had a need to generate many GitHub issues, so I tried using the gh issue create command that can be executed from the CLI.
gh issue create
Here’s a sample script for creating GitHub issues with the gh issue create
command and the issue that was created:
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
That’s all from the Gemba, where I want to make use of the gh issue create
command for adding GitHub issues from the CLI.