GISTY

command module
v0.0.0-...-0728b91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2017 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gisty

What is gisty?

Command Line Interface tool for creating, editing and displaying github gists.

Installation

To install gisty just run:

go get github.com/lilic/gisty

Note: Works with go 1.6+

Examples

For all available flags run:

gisty --help

To create a gist:

gisty --create --description="Description." --content="This is my gist." --filename="gist.md" --anon

Or create a gist by piping in a file as an input:

cat gist.md | gisty --create --filename="gist.md"

Get a gist by passing in a gist ID:

gisty --show="7ba6e7d22cbd168f6fbd010fda725105"

To edit a gist interactively just pass in the gist ID:

gisty --edit="7ba6e7d22cbd168f6fbd010fda725105"

List last 30 gists:

gisty --list

Note: Make sure your ENV variable $GITHUB_TOKEN is set to the personal github access token.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL