diff options
| author | typebrook <typebrook@gmail.com> | 2020-01-31 18:02:49 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-01-31 18:02:49 +0800 |
| commit | 81697121db982881ebbf1c502af8459b41239a6a (patch) | |
| tree | d40d9073bdfd50e4467cf35b62b1adf2b76c8926 /scripts | |
| parent | 2d0d547a4e817e2cf74f65b103f032e760b496fa (diff) | |
update
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/gist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist index 457b07e..c454fc7 100755 --- a/scripts/gist +++ b/scripts/gist | |||
| @@ -56,6 +56,7 @@ | |||
| 56 | # TODO push github.com (may need new token) | 56 | # TODO push github.com (may need new token) |
| 57 | # TODO description for current directory | 57 | # TODO description for current directory |
| 58 | # TODO error handling, unit test | 58 | # TODO error handling, unit test |
| 59 | # TODO test on mac and remote machine | ||
| 59 | # TODO completion | 60 | # TODO completion |
| 60 | 61 | ||
| 61 | # Validate configuration | 62 | # Validate configuration |
| @@ -236,7 +237,7 @@ _parse_response() { | |||
| 236 | done | 237 | done |
| 237 | } | 238 | } |
| 238 | 239 | ||
| 239 | # get the list of gists | 240 | # get latest list of gists from Github API |
| 240 | _update() { | 241 | _update() { |
| 241 | echo "fetching $user's gists from $GITHUB_API..." | 242 | echo "fetching $user's gists from $GITHUB_API..." |
| 242 | echo | 243 | echo |