github.com/thetannerryan/gist (go): Package gist is an unofficial toolkit for file uploads to GitHub gist.  macOS (via Homebrew):  Manual:  Download the latest release for your platform (Darwin/macOS, Linux, Windows): https://github.com/TheTannerRyan/gist/releases/latest. Unpack the tar, and copy the binary to a directory that is in the PATH. Here is an example on macOS (Darwin):  The /usr/local/bin directory will work with most variants of UNIX. For Windows, you will have to add the parent directory to the system path.  To use gist, you need to create a Github personal access token. To create a token, go to https://github.com/settings/tokens. Click the "generate new token" button and enter any description. For the scope, just select "gist". Then click generate token.  Once you have a token, you should set the "GIST_KEY" environment variable to the token value. If you do not want to use an environment variable, you will have to copy and paste the token each time you would like to upload content.  Global usage:  Upload usage (same for secret uploads):  All of the commands have short and long versions:  The flags also have short aliases:  The interface behaves the way it looks:  If single or multiple files are being provided, and there are no file name overrides, the original file names will be used. For stdin and the clipboard, if no name is provided, the file will be uploaded as gistfile1.txt.  Copyright (c) 2019 Tanner Ryan. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.  Ato Araki's Go clipboard library is under a BSD 3-clause license. Jeremy Saenz's Go command line library is under a MIT license. Once again, all rights reserved.
Keywords: go|golang