gh gist view

gh gist view [<id> | <url>] [flags]

View the given gist or select from recent gists.

Options

-f, --filename <string>
Display a single file from the gist
--files
List file names from the gist
-r, --raw
Print raw instead of rendered gist contents
-w, --web
Open gist in the browser

See also