gh repo view -w
gh repo view [<repository>] [flags]
Displays the description and the README of a GitHub repository.
With no argument, the repository for the current directory is displayed.
With --web
, open the repository in a web browser instead.