Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.29 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.29 KB

gistup

Build Status Coverage Status Go Report Card

Gist uploader for cli.

Usage

$ gistup target.go

# Or upload from standard input.
$ stdin | gistup

The github gist opens automatically in the browser.
If the browser can not be opened, the URL will be displayed.

The token is saved in the following file and omitting the user name and password entry from next time:

  • macOS, Linux
    • ~/.config/gistup/token
  • Windows
    • %APPDATA%\gistup\token

Options

  • -a
    • Create anonymous gist.
  • -d <description>
    • Description of gist.
  • -insecure
    • Allow connections to SSL sites without certs.
  • -n <file_name>
    • File name when upload standard input.
  • -p
    • Create public gist.
  • -url <api_baseurl>
    • For GitHub Enterprise, specify the base URL of the API.

Install

$ go get -u github.com/178inaba/gistup

License

MIT

Author

178inaba