create_gist

command
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package main for an example of how to use the package gisty.

This program creates a new gist on GitHub and returns the URL of the gist.

## Note

In this package, the **environment variable "GH_TOKEN" or "GITHUB_TOKEN" must be set** to the "personal access token" of the GitHub API (with `gist` scope is required).

For GitHub Enterprise users, the environment variable "GH_ENTERPRISE_TOKEN" or "GITHUB_ENTERPRISE_TOKEN" must also be set with the GitHub API "authentication token".

Jump to

Keyboard shortcuts

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