Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple cli utility for using gist.github.com like a unix pro.

Version 0.3.7

Signed-off-by: Tim Smart <tim@fostle.com>
latest commit 8774d4d3ac
Tim authored March 31, 2014
Octocat-spinner-32 bin Update compiled assets March 31, 2014
Octocat-spinner-32 docs Update compiled assets March 31, 2014
Octocat-spinner-32 src Use normal URL rather than html_url March 31, 2014
Octocat-spinner-32 .gitignore 0.0.1 - First revision April 01, 2011
Octocat-spinner-32 Cakefile Revert "README update" June 08, 2011
Octocat-spinner-32 README Omit the password option in the readme. June 22, 2012
Octocat-spinner-32 package.json Version 0.3.7 March 31, 2014
README
   ____ _(_)____/ /_____ _
  / __ `/ / ___/ __/ __ `/
 / /_/ / (__  ) /_/ /_/ / 
 \__, /_/____/\__/\__,_/  
/____/

The cli gist client writen in CoffeeScript for Node.js.

Install
=======

$ npm install -g gista

Usage
=====

# Get a token
gista --user tim-smart --gentoken

# Set token to environment variable
export GISTA_TOKEN=xxx

# Create a Public gist
$ echo "test" | gista -p

# Create a private gist
$ echo "test" | gista

# Gist some files publicly, with a description and custom type.
$ gista -t js -pd "Cool gist" *.js

# Fetch a gist
$ gista -f 12345

# Copy gist url to clipboard
$ gista -n test.js < package.js | xclip -selection clipboard
Something went wrong with that request. Please try again.