Coder Social home page Coder Social logo

gisty's Introduction

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.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
Author

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

Copyright

Copyright © 2008 swdyh

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.