Skip to content

knoopx/gist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION:

Command-line interface for gist.github.com

I didn’t like defunkt/gist nor swdyh/gisty so I implemented mine :)

It takes GitHub user/token from .gitconfig

NOTE: The executable name is “gist” so it may conflict with the above gems.

github.com/knoopx/gist

SYNOPSIS:

Commands:
  clone                Clones the specified gist into the current folder
  create               Create a new gist
  help                 Display global or [command] help documentation.
  list                 Lists gists
  print                Prints the contents of the specified gist

Global Options:
  --user USER          GitHub user name
  --token TOKEN        GitHub API token
  -h, --help           Display help documentation
  -v, --version        Display version information
  -t, --trace          Display backtrace when an error occurs

REQUIREMENTS:

INSTALL:

sudo gem install knoopx-gist

LICENSE:

(The MIT License)

Copyright © 2010 Víctor Martínez <knoopx@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.