gist

command module
v2.2.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2017 License: MIT Imports: 15 Imported by: 0

README

gist

Go Report Card CircleCI Build Status wercker status Build Status

gist cli in go

Usage

download the package rename to gist(if not in windows) and put in any $PATH folder.

# in your work folder
$ gist [flags] [files...]
# example
# set token
$ gist -s <your token>
# create gist with file1 and file2
$ gist file1 file2
# will return gist web link
# create public gist
$ gist -p file
# add your custom description
$ gist -d="your custom description"

You can get your gist token here https://github.com/settings/tokens/new, remember to select gist scope.

Screenshot

gist screenshot

Build

$ git clone https://github.com/zcong1993/gist.git
$ cd gist
$ go build gist.go
# then move the output to your `$PATH` folder.

License

MIT © zcong1993

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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