https://github.com/kare/gist
Create a GitHub Gist from command line
https://github.com/kare/gist
gist github golang
Last synced: 6 months ago
JSON representation
Create a GitHub Gist from command line
- Host: GitHub
- URL: https://github.com/kare/gist
- Owner: kare
- License: bsd-3-clause
- Created: 2016-10-16T18:40:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-21T18:01:08.000Z (over 8 years ago)
- Last Synced: 2024-10-24T15:08:42.476Z (over 1 year ago)
- Topics: gist, github, golang
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gist
[](https://travis-ci.org/kare/gist)
## Installation
Download latest release from
[GitHub](https://github.com/kare/gist/releases/latest), extract archive and
install an executable for your operating system.
Alternatively if you have Go compiler installed you may want to run:
```
go get kkn.fi/cmd/gist
```
## Usage
```
% gist -h
usage: gist [-v] [-d string] [-p] [-a] file ... | -f file
-a create anonymous Gist
-d string
description for Gist
-f string
file name of the Gist. Reads file contents from stdin
-p create a public Gist
-token file
read GitHub personal access token from file (default $HOME/.github-gist-token)
-v print version and exit
```
## Dependencies
- [Google GitHub](https://godoc.org/github.com/google/go-github/github)
- [oauth2](https://godoc.org/golang.org/x/oauth2)
## License
BSD-3-Clause. See [LICENSE](LICENSE) for details.