Skip to content

Instantly share code, notes, and snippets.

@gh640
Last active May 11, 2021 09:43
Show Gist options
  • Select an option

  • Save gh640/2d0cf267c10357a86786e7b8d01dfd67 to your computer and use it in GitHub Desktop.

Select an option

Save gh640/2d0cf267c10357a86786e7b8d01dfd67 to your computer and use it in GitHub Desktop.
Fetching GitHub issue title wth GitHub CLI
# Fetch issue title
gh issue view --json title -q '.title' [issue id]
# Add alias
gh alias set it 'issue view --json title -q ".title"'
# Use the alias
gh it [issue id]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment