2019.7.19 • Published 5 years ago

gist-generator v2019.7.19

Weekly downloads
1
License
Unlicense
Repository
-
Last release
5 years ago

npm.io

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

commandusage
gist-generatorusage: 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 {} \;
2019.7.19

5 years ago

2019.5.5

5 years ago

2019.5.4

5 years ago

2019.4.29

5 years ago

2019.4.24

5 years ago

2019.4.23

5 years ago