gh-alias
Manage GitHub CLI command aliases from the command line.
TLDR
List all the aliases gh is configured to use
$ gh alias list
Create a gh subcommand alias
$ gh alias set [pv] '[pr view]'
Set a shell command as a gh subcommand
$ gh alias set --shell [alias_name] [command]
Delete a command shortcut
$ gh alias delete [alias_name]
Display the subcommand help
$ gh alias
SYNOPSIS
gh alias <command> [flags]
DESCRIPTION
Aliases can be used to make shortcuts for gh commands or to compose multiple commands.
Run "gh help alias set" to learn more.
COMMANDS
gh-alias-delete(1)
-
Delete an alias
gh-alias-list(1)
-
List your aliases
gh-alias-set(1)
-
Create a shortcut for a gh command
SEE ALSO
gh(1)