gh-gist-view - Man Page
View a gist
Synopsis
gh gist view [<id> | <url>] [flags]
Description
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
Exit Codes
0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
See Also
Referenced By
Dec 2024 GitHub CLI manual