1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

gist: enhance list/update description (#5666)

This commit is contained in:
Nicolas Kosinski 2021-04-02 18:59:30 +02:00 committed by GitHub
parent 3bee1562b0
commit 80c2d46b46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
- Create a private gist with a description:
`gist -p -d "{{A meaningful description}}" {{file.txt}} `
`gist --private --description "{{A meaningful description}}" {{file.txt}} `
- Read contents from stdin and create a gist from it:
@ -21,12 +21,12 @@
- List your public and private gists:
`gist -l`
`gist --list`
- List all gists for the currently logged in user:
- List all public gists for any user:
`gist -l {{username}}`
`gist --list {{username}}`
- Use the id from the gist URL to modify or include a file:
- Update a gist using the id from URL:
`gist -u {{GIST_ID}} {{file.txt}}`
`gist --update {{GIST_ID}} {{file.txt}}`