gh gist

Work with GitHub Gists. More information: https://cli.github.com/manual/gh_gist.

gh gist create path/to/file1 path/to/file2 ...

gh gist create path/to/file1 path/to/file2 ... --desc "description"

gh gist edit id|url

gh gist list --limit 42

gh gist view id|url --web --raw