Last active
May 11, 2021 09:43
-
-
Save gh640/2d0cf267c10357a86786e7b8d01dfd67 to your computer and use it in GitHub Desktop.
Fetching GitHub issue title wth GitHub CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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