Add "template" argument to issue create command for non-interactive template selection

Description

Currently, the issue create command requires interactive selection when templates are available. This feature request asks for the addition of a --template (or similar) argument to allow users to specify a template directly without needing to interact with the selection prompt.

Use Case

Users who want to automate issue creation workflows or integrate the CLI into scripts would benefit from being able to specify a template non-interactively. This would enable:

  • Scripted issue creation with predefined templates
  • CI/CD pipeline integration for automated issue creation
  • Batch issue creation with consistent formatting

Proposed Solution

Add a --template argument to the issue create command that accepts a template name or ID, allowing users to bypass the interactive selection prompt.

Example usage:

glab issue create --title "Bug Report" --template "bug"
Edited by Craig Miskell