Categorygithub.com/zcong1993/gist
modulepackage
2.2.4+incompatible
Repository: https://github.com/zcong1993/gist.git
Documentation: pkg.go.dev

# 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

# Functions

Version show the cli's current version.

# Constants

AppName is the cli name.

# Variables

GitCommit is cli current git commit hash.