Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
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:
```bash
glab issue create --title "Bug Report" --template "bug"
```
issue