gister

command module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: MIT Imports: 11 Imported by: 0

README

a commandline gister in golang

GoDoc

This is a port of gist in Go

Settings

  1. [Create a personal access token] https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)

  2. Set the GITHUB_TOKEN environment variable to the value username:token, or write usernmae:token to ~/.gist file.

Usage

  1. Get the pre-built Linux (x86_64) built or download and build it yourself.

gister provides 3 optional CLI arguments.

  • -public: If true, the gist created will be public. Defaults to true.
  • -d: Provide a description. Defaults to This is a gist.
  • -anonymous: If true, the gist created will be anonymous. Set false to create a gist for a user. Defaults to true.
  1. Running gister --h for the available options and usage.

LICENSE

MIT

Documentation

Overview

This app is intented to be go-port of the defunckt's gist library in Ruby Currently, uploading single and multiple files are available. You can also create secret gists, and both anonymous and user gists.

Author: Viyat Bhalodia

Jump to

Keyboard shortcuts

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