aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-03-16 13:14:08 +0800
committertypebrook <typebrook@gmail.com>2020-03-16 13:14:08 +0800
commit837657f5ee10dfd7c78b53f2548b5e83d93714d3 (patch)
tree8dc1e5fcdf4e6be72e0e33504a690d8787af79e5
parent005f6cd10e2befd2899e455466d51b5803ad7849 (diff)
Update helper message
-rwxr-xr-xgist22
1 files changed, 11 insertions, 11 deletions
diff --git a/gist b/gist
index ce752f8..0380db5 100755
--- a/gist
+++ b/gist
@@ -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#