Skip to content

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

Notifications You must be signed in to change notification settings

tim-smart/gista

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

   ____ _(_)____/ /_____ _
  / __ `/ / ___/ __/ __ `/
 / /_/ / (__  ) /_/ /_/ / 
 \__, /_/____/\__/\__,_/  
/____/

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published