JSPM

my-gists

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q23484F
  • License Apache-2.0

Client for Gists supporting REST API V3.

Package Exports

  • my-gists

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (my-gists) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

my-gists

Yet another Gist client

Usage

> my-gists [options] list                         /* show all the user's gists */
> my-gists [options] post <File> '<DESCRIPTION>'  /* post a gist */
> my-gists [options] delete <GIST-ID>             /* delete a gist specified by id */

options

-h, --help            : Show this usage
-u <UserName>         : Specify Gist User Name
-t <AccessTokenFile>  : Specify Personla Access Token for Gist
-c <CONFIGJSON>       : Specify Config Json File (extension must be .json, default config.json) 

Config.json Format

{
  "userName":"xxxxxxx",
  "accessToken":"01234567890abcdef0123456789abcedf0123456789abcdef"
}

Get your Personal Access Token

Create you personal access token to access gist here!