# gh issue create

File an issue without the browser.

## Quick answer
```
gh issue create --title "Bug: crash on startup" --body "Steps to reproduce..."
```

## Syntax
```
gh issue create [flags]
```

## Examples

# Interactive create with templates
gh issue create

# Set title and body directly
gh issue create --title "Crash on startup" --body "Steps: ..."

# Assign to yourself and label it
gh issue create --title "Docs typo" --assignee @me --label docs

# Read the body from a file
gh issue create --title "RFC" --body-file rfc.md

# Finish creating it in the browser
gh issue create --web

## Key flags

  -t, --title	Issue title.
  -b, --body	Issue body text.
  -F, --body-file	Read the body from a file (- for stdin).
  -a, --assignee	Assign people. Use @me for yourself.
  -l, --label	Add labels by name.
  -m, --milestone	Add the issue to a milestone.
  -p, --project	Add the issue to a project.
  -T, --template	Use a specific issue template.
  -w, --web	Continue in the browser.

Full guide: https://ghcli.com/gh-issue-create.php
