diff options
| -rwxr-xr-x | gist | 22 |
1 files changed, 11 insertions, 11 deletions
| @@ -8,22 +8,22 @@ | |||
| 8 | # Description: Manage your gists with git and Github API v3 | 8 | # Description: Manage your gists with git and Github API v3 |
| 9 | # Usage: gist [command] [<args>] | 9 | # Usage: gist [command] [<args>] |
| 10 | # | 10 | # |
| 11 | # [star | s] List your gists with format below, star for your starred gists: | 11 | # [star | s] List your gists, use argument 'star' for your starred gists. Format is like: |
| 12 | # [index_of_gist] [url] [file_num] [comment_num] [short description] | 12 | # <index_of_gist> <url> <file_num> <comment_num> <description> |
| 13 | # fetch, f [star | s] Update the local list of your gists, star for your starred gists | 13 | # fetch, f [star | s] Update the local list of your gists, 'star' for your starred gists |
| 14 | # <index_of_gist> [--no-action] Show the path of local gist repo and do custom actions | 14 | # <index_of_gist> [--no-action] Show the path of local gist repo and do custom actions |
| 15 | # new, n [-d | --desc <description>] [-p] <files>... create a new gist with files | 15 | # new, n [-d | --desc <description>] [-p] <file1> <file2>... create a new gist with files |
| 16 | # new, n [-d | --desc <description>] [-p] [-f | --file <file_name>] create a new gist from STDIN | 16 | # new, n [-d | --desc <description>] [-p] [-f | --file <file_name>] create a new gist from STDIN |
| 17 | # detail, d <index_of_gist> Show the detail of a gist | 17 | # detail, d <index_of_gist> Show the detail of a gist |
| 18 | # edit, e <index_of_gist> Edit a gist's description | 18 | # edit, e <index_of_gist> Edit a gist's description |
| 19 | # delete, D <index_of_gist>... Delete a gist | 19 | # delete, D <index_of_gist>... Delete a gist |
| 20 | # clean, C Clean removed gists in local | 20 | # clean, C Clean removed gists in local |
| 21 | # config, c [token | user | folder | auto_sync | EDITOR | action | protocol [value] ] Do configuration | 21 | # config, c [token | user | folder | auto_sync | EDITOR | action | protocol [value] ] Do configuration |
| 22 | # user, U <user> Get gists from a given Github user | 22 | # user, U <user> Get gists from a given Github user |
| 23 | # grep, g <pattern> Grep gists by a given pattern | 23 | # grep, g <pattern> Grep gists by a given pattern |
| 24 | # push, p <index_of_gist> Push changes by git (well, better to make commit by youself) | 24 | # push, p <index_of_gist> Push changes by git (well, better to make commit by youself) |
| 25 | # github, G <index_of_gist> Import selected gist as a new Github repo | 25 | # github, G <index_of_gist> Import selected gist as a new Github repo |
| 26 | # help, h Show this help message | 26 | # help, h Show this help message |
| 27 | # version Get the tool version | 27 | # version Get the tool version |
| 28 | # update Update Bash-Snippet Tools | 28 | # update Update Bash-Snippet Tools |
| 29 | # | 29 | # |