diff options
Diffstat (limited to 'scripts/gist')
| -rwxr-xr-x | scripts/gist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gist b/scripts/gist index 7299d41..3f511e5 100755 --- a/scripts/gist +++ b/scripts/gist | |||
| @@ -60,6 +60,7 @@ _show_list() { | |||
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | # get the list of gists | 62 | # get the list of gists |
| 63 | # TODO support secret gist | ||
| 63 | _update() { | 64 | _update() { |
| 64 | curl -s -H "$auth_header" $github_api/users/$user/gists |\ | 65 | curl -s -H "$auth_header" $github_api/users/$user/gists |\ |
| 65 | tee jojo |\ | 66 | tee jojo |\ |
| @@ -126,6 +127,7 @@ _clean_repos() { | |||
| 126 | done | 127 | done |
| 127 | } | 128 | } |
| 128 | 129 | ||
| 130 | # TODO star count | ||
| 129 | _show_detail() { | 131 | _show_detail() { |
| 130 | GIST_ID=$(_gist_id $1) | 132 | GIST_ID=$(_gist_id $1) |
| 131 | curl -s -H "$auth_header" $github_api/gists/$GIST_ID |\ | 133 | curl -s -H "$auth_header" $github_api/gists/$GIST_ID |\ |