gist-generator
v2019.7.19
Published
github gist generator
Downloads
4
Readme
github gist generator
Installation
$ [sudo] npm i -g gist-generator
How it works
- description as folder name. or
description.txt
if exist gitignore
supported- clones
.git
after gist creation - skip if
.git
exists
Config
$ export GITHUB_TOKEN="<GITHUB_TOKEN>"
Scripts usage
command|usage
-|-
gist-generator
|usage: gist-generator [-p|--private] path
Examples
$ gist-generator .
private gist
$ gist-generator -p .
create multiple gists
$ find ~/git/gists -type d -mindepth 1 -maxdepth 1 -exec gist-generator {} \;