https://github.com/tim-smart/gista
Simple cli utility for using gist.github.com like a unix pro.
https://github.com/tim-smart/gista
Last synced: 9 months ago
JSON representation
Simple cli utility for using gist.github.com like a unix pro.
- Host: GitHub
- URL: https://github.com/tim-smart/gista
- Owner: tim-smart
- Created: 2011-03-31T11:02:54.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2014-03-31T02:35:56.000Z (about 12 years ago)
- Last Synced: 2025-09-30T01:16:04.035Z (9 months ago)
- Language: CSS
- Homepage:
- Size: 465 KB
- Stars: 24
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
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