8000 GitHub - swdyh/gisty: yet another command line client for gist · GitHub
[go: up one dir, main page]

Skip to content
swdyhPublic

About

yet another command line client for gist

Resources

Stars

183 stars

Watchers

14 watching

Forks

Latest commit

 

History

135 Commits

Folders and files

Repository files navigation

<img src=“https://secure.travis-ci.org/swdyh/gisty.png?branch=master” alt=“Build Status” />

yet another command line client for gist supported API V3.

gem install gisty

set environment variable GISTY_DIR.

export GISTY_DIR="$HOME/dev/gists"

get OAuth access token here. swdyh-gisty.herokuapp.com/ alternatively: github.com/settings/applications -> “Personal access tokens” set environment variable GISTY_ACCESS_TOKEN

export GISTY_ACCESS_TOKEN=your_access_key

if you use zsh command completion, download this file to $fpath directory. github.com/swdyh/gisty/raw/master/_gisty

if “certificate verify failed” is occurred, set environment variable GISTY_SSL_CA.

export GISTY_SSL_CA="/your_ca_file_path/cert.pem"

if you do not want to verify, set GISTY_SSL_VERIFY.

export GISTY_SSL_VERIFY="NONE"

enterprise.github.com/help/articles/using-the-api

To set the default API access URL:

export GIST_API_URL=http(s)://github.enterprise.hostname/api/v3/gists

To specify the base URI reference for the clone path (e.g. git@<path>:id.git)

export GISTY_BASE_URI=github.enterprise.hostname

commands

gisty list                          show local list.
gisty post file1 file2 ...          post new gist.
gisty private_post file1 file2 ...  post new private gist.
gisty sync                          sync remote gist. (clone all remote gist)
gisty sync_delete                   sync remote gist. delete local gist if remote gist was deleted.
gisty pull_all                      pull all gist.
gisty about                         show about gisty
gisty help                          show help
Author

swdyh <mailhide.recaptcha.net/d?k=01AhB7crgrlHptVaYRD0oPwA==&c=L_iqOZrGmo6hcGpPTFg1QYnjr-WpAStyQ4Y8ShfgOHs=>

Copyright

Copyright © 2008 swdyh

License

MIT

About

yet another command line client for gist

Resources

Stars

183 stars

Watchers

14 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0