Discover Packages
github.com/viyatb/gister
command
module
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Mar 19, 2018
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
a commandline gister in golang
This is a port of gist in Go
Settings
[Create a personal access token] https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/ )
Set the GITHUB_TOKEN
environment variable to the value username:token
,
or write usernmae:token
to ~/.gist
file.
Usage
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
.
Running gister --h
for the available options and usage.
LICENSE
MIT
Expand ▾
Collapse ▴
Documentation
¶
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.