Project

gisty

0.08
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
yet another command line client for gist. Gisty uses Github API V3 via OAuth2.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.3.0, ~> 1.3.0
~> 4.0
>= 13.0.0, ~> 13.0
<= 1.1.2
~> 3.0
 Project Readme

gisty¶ ↑

<img src=“https://secure.travis-ci.org/swdyh/gisty.png?branch=master” alt=“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.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

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
Author

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

Copyright

Copyright © 2008 swdyh

License

MIT