diff options
author | typebrook <typebrook@gmail.com> | 2020-02-04 23:00:02 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-02-04 23:00:02 +0800 |
commit | aa770d7a8e2b02ccb5c27e2f40bec1a482497688 (patch) | |
tree | 0a657998d7d1359fa9fca4146e455f3a0865b7ad | |
parent | 1c5ae79e7304a662d530cf6eb2ae7a5e05d05c32 (diff) |
update
-rwxr-xr-x | scripts/gist | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/gist b/scripts/gist index e9e5130..4662c99 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -161,8 +161,6 @@ http_method() { | |||
161 | } | 161 | } |
162 | 162 | ||
163 | # Show the list of gist, but not updated time | 163 | # Show the list of gist, but not updated time |
164 | # TODO a way to show files | ||
165 | # TODO show git status outdated | ||
166 | _show_list() { | 164 | _show_list() { |
167 | if [[ ! -e $INDEX ]]; then | 165 | if [[ ! -e $INDEX ]]; then |
168 | echo 'No local file found for last update, please run command:' | 166 | echo 'No local file found for last update, please run command:' |
@@ -225,7 +223,7 @@ _parse_response() { | |||
225 | done | 223 | done |
226 | } | 224 | } |
227 | 225 | ||
228 | # TODO add author, files and date of a gist | 226 | # TODO add files and date of a gist |
229 | # get latest list of gists from Github API | 227 | # get latest list of gists from Github API |
230 | _update() { | 228 | _update() { |
231 | echo "fetching $user's gists from $GITHUB_API..." | 229 | echo "fetching $user's gists from $GITHUB_API..." |