Create a gh subcommand alias

gh alias

  • Manage GitHub CLI command aliases from the command-line.
    More information: <https://cli.github.com/manual/gh_alias>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gh alias set {{pv}} '{{pr view}}'

click the source code to copy install gh alias on any operating system with command-not-found.com