yet another command line client for gist
Ruby
Latest commit aa34025 Jan 25, 2015 @swdyh update version and dependency
Permalink
Failed to load latest commit information.
bin apply File.path_expand to GISTY_DIR Jan 25, 2015
lib update version and dependency Jan 25, 2015
test fixed require Mar 25, 2012
tmp first commit Dec 5, 2008
.gitignore
.travis.yml Test with ruby 2.0 on travis-ci Apr 21, 2013
Gemfile fix minitest version Apr 13, 2014
README.rdoc fixes #16 by adding env var access for enterprise installs. Mar 16, 2014
Rakefile update version and dependency Jan 25, 2015
_gisty
gisty.gemspec update version and dependency Jan 25, 2015

README.rdoc

gisty

Build
Status

Description

yet another command line client for gist supported API V3.

Installation

Gem Installation

gem install gisty

set environment variable GISTY_DIR.

export GISTY_DIR="$HOME/dev/gists"

get OAuth access token here. swdyh-gisty.heroku.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

Features/Problems

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"

GitHub Enterprise

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

Synopsis

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

Copyright

Author

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

Copyright

Copyright © 2008 swdyh

License

MIT