Options (6)
booleanCreate a new Gist from one or more files
Example:
gh gist {{[new|create]}} {{path/to/file1 path/to/file2 ...}}-d, --descbooleanCreate a new Gist with a specific [desc]ription
Example:
gh gist {{[new|create]}} {{path/to/file1 path/to/file2 ...}} {{[-d|--desc]}} "{{description}}"booleanList up to 42 Gists owned by the currently logged in user
Example:
gh gist {{[ls|list]}} {{[-L|--limit]}} 42-L, --limitbooleanList up to 42 Gists owned by the currently logged in user
Example:
gh gist {{[ls|list]}} {{[-L|--limit]}} 42-w, --webbooleanView a Gist in the default browser without rendering Markdown
Example:
gh gist view {{id|url}} {{[-w|--web]}} {{[-r|--raw]}}-r, --rawbooleanView a Gist in the default browser without rendering Markdown
Example:
gh gist view {{id|url}} {{[-w|--web]}} {{[-r|--raw]}}Examples (5)
Create a new Gist from one or more files
gh gist [new|create] path/to/file1 path/to/file2 ...Create a new Gist with a specific [desc]ription
gh gist [new|create] path/to/file1 path/to/file2 ... [-d|--desc] "description"List up to 42 Gists owned by the currently logged in user
gh gist [ls|list] [-L|--limit] 42made by @shridhargupta | data from tldr-pages