Skip to content

shihanng/bgist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bgist create a new gist on your GitHub and uploads the binary files to the newly created gist. Based on the idea in https://remarkablemark.org/blog/2016/06/16/how-to-add-image-to-gist/.

Installation

$ go get github.com/shihanng/bgist

Usage

Need GitHub's personal access token. The require scope is "gist".

Usage:
  bgist [flags]

Examples:
BGIST_GITHUB_ACCESS_TOKEN=secret bgist -d "a demo" photo-1.png photo-2.jpg

Flags:
  -d, --description string   Description of the gist
  -h, --help                 help for bgist
      --public               Publish as public gist

Releases

No releases published

Packages

No packages published

Languages