aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-04-10 12:53:29 +0800
committertypebrook <typebrook@gmail.com>2020-04-10 13:09:56 +0800
commit8a17ea850ca638b6a721a3fe1118cee3a186d73e (patch)
treed09c6e1dab134b22110ba93b5f72fbed60112c04
parentdbc2efa4a60af98045162d894519d5a09660d2d5 (diff)
Update helper message and comments
-rwxr-xr-xgist5
1 files changed, 3 insertions, 2 deletions
diff --git a/gist b/gist
index 956d849..5e28bbc 100755
--- a/gist
+++ b/gist
@@ -13,7 +13,7 @@
13# 'all' or 'a' for both your and starred gists. Format for each line is: 13# 'all' or 'a' for both your and starred gists. Format for each line is:
14# <INDEX> <URL> <FILE_NUM> <COMMENT_NUM> <DESCRIPTION> 14# <INDEX> <URL> <FILE_NUM> <COMMENT_NUM> <DESCRIPTION>
15# fetch, f [star|s] Update the local list of your gists, 'star' for your starred gists 15# fetch, f [star|s] Update the local list of your gists, 'star' for your starred gists
16# <INDEX> [--no-action] Show the path of local gist repo and do custom actions 16# <INDEX> [--no-action] Show the path of local gist repo and do custom actions(enter sub-shell by default)
17# new, n [-d |--desc <description>] [-p] <FILE>... create a new gist with files 17# new, n [-d |--desc <description>] [-p] <FILE>... create a new gist with files
18# new, n [-d |--desc <description>] [-p] [-f|--file <FILE_NAME>] create a new gist from STDIN 18# new, n [-d |--desc <description>] [-p] [-f|--file <FILE_NAME>] create a new gist from STDIN
19# grep, g <PATTERN> Grep gists by description, filename and content with a given pattern 19# grep, g <PATTERN> Grep gists by description, filename and content with a given pattern
@@ -44,12 +44,13 @@
44# gist 3 (show the repo path of your 3rd gist, and do custom actions) 44# gist 3 (show the repo path of your 3rd gist, and do custom actions)
45# gist 3 --no-action (show the repo path of your 3rd gist, and do not perform actions) 45# gist 3 --no-action (show the repo path of your 3rd gist, and do not perform actions)
46# gist new --desc bar foo (create a new gist with files and description) 46# gist new --desc bar foo (create a new gist with files and description)
47# gist tag 3 (Add tags to your 3rd gist)
47# gist tag .+ (show tagged gists) 48# gist tag .+ (show tagged gists)
48# 49#
49# Since now a gist is a local cloned repo 50# Since now a gist is a local cloned repo
50# It is your business to do git commit and git push 51# It is your business to do git commit and git push
51 52
52# TODO README/helper message about tag and default action ${SHELL:-bash} 53# TODO improve the speed of showing list
53# TODO codebase statistics, like C++ or something 54# TODO codebase statistics, like C++ or something
54# TODO migrate to gh-page, with install.sh and check_md5 in README 55# TODO migrate to gh-page, with install.sh and check_md5 in README
55 56