Skip to content

A command line program for downloading and creating GitHub Gists.

License

Notifications You must be signed in to change notification settings

MatevzFa/gisting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gisting

gisting is a command line program for creating and downloading GitHub Gists.

Installation

go get github.com/MatevzFa/gisting

Usage

$ gisting --token $(cat ~/Documents/.gittoken) create -d "Some random gist" main.go
https://gist.github.com/dc68f61ef51f6a77fd4febb86ada885a
$ gisting --help-long
usage: main [<flags>] <command> [<args> ...]

Flags:
      --help         Show context-sensitive help (also try --help-long and
                     --help-man).
  -t, --token=TOKEN  OAuth token for accessing the gist API

Commands:
  help [<command>...]
    Show help.


  download <id>
    Download a gist.


  create [<flags>] <files>...
    Create a gist.

    -d, --description=DESCRIPTION  Description of the gist
        --private                  If creating a private gist

  update [<flags>] <id> <files>...
    Update a gist.

    -d, --description=DESCRIPTION  Description of the gist

About

A command line program for downloading and creating GitHub Gists.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages