gister

command module
v0.0.0-...-8ddf087 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 9 Imported by: 0

README

gister

Create GitHub Gists.

Quickstart

$ go install scalene.net/gister@latest

$ gister -h
Usage:
  gister [OPTION...] FILE...
  gister [OPTION...] DIR
  CMD | gister [OPTION...]

gister creates GitHub gists using the files specified.

Examples:
  $ gister -d "Description of the gist" file1 file2 file3
  $ tail -100 logs | gister -d "Some logs" -n log.txt

Authentication:
The GitHub API requires authentication. An OAuth token can be provided via the
environment variable $GISTER_OAUTH_TOKEN or using the configuration file.

Configuration:
A file $XDG_CONFIG_HOME/gister/config can be used to set values for oauth_token
and public.

Application Options:
  -p, --public   Create a public gist [$GISTER_PUBLIC]
  -d, --desc=    Description of the gist (default: the default description)
  -n, --name=    Filename if using stdin (default: stdin.txt)
  -v, --version  Display gister version and exit
  -h, --help     Show this help message

System Installation

$ make
$ sudo make install

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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